1 2009-12-02 Eric Seidel <eric@webkit.org>
3 Reviewed by Adam Barth.
5 trim commands/*.py includes now that commands are unit tested
6 https://bugs.webkit.org/show_bug.cgi?id=32056
8 In the course of ensuring that the unit tests still
9 passed after this change, I had to actually make them
10 pass in the first place.
12 * Scripts/modules/bugzilla.py:
13 - Fix _parse_attachment_ids_request_query to return ints instead of strings.
14 * Scripts/modules/commands/download.py: Remove unneeded imports.
15 * Scripts/modules/commands/queries.py: Ditto.
16 * Scripts/modules/commands/queues.py: Ditto.
17 * Scripts/modules/commands/upload.py: Ditto.
18 * Scripts/modules/scm_unittest.py:
19 - Fix to expect the \n after the path since echo adds an \n.
21 2009-12-01 Yaar Schnitman <yaar@chromium.org>
23 build-webkit: Remove flex,bison,gperf check for chromium
24 https://bugs.webkit.org/show_bug.cgi?id=32043
26 * Scripts/webkitdirs.pm:
28 2009-12-01 Chris Fleizach <cfleizach@apple.com>
30 Build fixage for Windows/GTK for DumpRenderTree.
32 WAI-ARIA: implement support for ARIA drag and drop
33 https://bugs.webkit.org/show_bug.cgi?id=32007
35 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
36 (AccessibilityUIElement::ariaIsGrabbed):
37 (AccessibilityUIElement::ariaDropEffects):
38 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
39 (AccessibilityUIElement::ariaIsGrabbed):
40 (AccessibilityUIElement::ariaDropEffects):
42 2009-12-01 Chris Fleizach <cfleizach@apple.com>
44 Reviewed by Darin Adler.
46 WAI-ARIA: implement support for ARIA drag and drop
47 https://bugs.webkit.org/show_bug.cgi?id=32007
49 * DumpRenderTree/AccessibilityUIElement.cpp:
50 (getARIADropEffectsCallback):
51 (getARIAIsGrabbedCallback):
52 (AccessibilityUIElement::getJSClass):
53 * DumpRenderTree/AccessibilityUIElement.h:
54 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
55 (AccessibilityUIElement::ariaIsGrabbed):
56 (AccessibilityUIElement::ariaDropEffects):
58 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
60 Not reviewed. GTK DRT try 2.
62 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
63 (LayoutTestController::sampleSVGAnimationForElementAtTime):
65 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
67 Not reviewed. Try to fix gtk DRT build.
69 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
71 2009-12-01 David Levin <levin@chromium.org>
73 Reviewed by Eric Seidel.
75 check-webkit-style does not understand (Prefix)Foo(Custom|Gtk|CG|Mac).cpp including Foo.h
76 https://bugs.webkit.org/show_bug.cgi?id=32033
78 * Scripts/modules/cpp_style.py: Changed check for a possible primary header to use find
79 instead of startswith.
80 * Scripts/modules/cpp_style_unittest.py: Added a unit test for the new behavior.
82 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
84 Not reviewed. Qt build almost fixed, DumpRenderTree should compile now as well.
86 * DumpRenderTree/qt/LayoutTestControllerQt.h: Update old function signature.
88 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
90 Reviewed by Simon Fraser.
92 Add SVG animation test framework with 'snapshot' functionality
93 https://bugs.webkit.org/show_bug.cgi?id=31897
95 Add new 'sampleSVGAnimationForElementAtTime' DRT method,
96 used by the new SVG animation testing framework, implemented
99 * DumpRenderTree/LayoutTestController.cpp:
100 (sampleSVGAnimationForElementAtTimeCallback):
101 (LayoutTestController::staticFunctions):
102 * DumpRenderTree/LayoutTestController.h:
103 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
104 (LayoutTestController::sampleSVGAnimationForElementAtTime):
105 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
106 (LayoutTestController::sampleSVGAnimationForElementAtTime):
107 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
108 (LayoutTestController::sampleSVGAnimationForElementAtTime):
109 * DumpRenderTree/qt/LayoutTestControllerQt.h:
110 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
111 (LayoutTestController::sampleSVGAnimationForElementAtTime):
112 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
113 (LayoutTestController::sampleSVGAnimationForElementAtTime):
115 2009-12-01 Adam Roben <aroben@apple.com>
117 Remove user content before running each test on Windows
119 Fixes <http://webkit.org/b/31479> Make websocket tests work on Windows
121 Reviewed by Alexey Proskuryakov.
123 * DumpRenderTree/win/DumpRenderTree.cpp:
124 (resetWebViewToConsistentStateBeforeTesting): Remove all user content
125 before each test, which matches Mac.
127 2009-12-01 Yuzo Fujishima <yuzo@google.com>
129 Reviewed by Alexey Proskuryakov.
131 Make pywebsocket log errors to a file
132 https://bugs.webkit.org/show_bug.cgi?id=31604
134 * Scripts/run-webkit-tests: Log output to a pywebsocket_log.txt file in results directory
135 (by passing the path to the server via a recently added -l option).
137 2009-12-01 Adam Roben <aroben@apple.com>
139 Fix tests that use the TestNetscapePlugin in Debug_Internal builds
141 Reviewed by Ada Chan.
143 Fixes <http://webkit.org/b/32027> REGRESSION (r49705): Tests that use
144 TestNetscapePlugin fail in Debug_Internal builds
146 * DumpRenderTree/win/DumpRenderTree.cpp: Use the "_Debug" plugin
147 directory in Debug and Debug_All builds, but not in Debug_Internal
150 2009-12-01 Adam Roben <aroben@apple.com>
152 Re-enable DRT's watchdog timer on Windows
154 It was accidentally disabled in r50907.
156 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
157 (LayoutTestController::setWaitToDump): Remove a "false &&" that snuck
158 into an if condition.
160 2009-12-01 Adam Barth <abarth@webkit.org>
162 Reviewed by Eric Seidel.
164 check-webkit-style complains about #imports with / in them
165 https://bugs.webkit.org/show_bug.cgi?id=32022
167 We need to exclude #import directives in addition to #include from the
168 binary operator whitespace checks.
170 * Scripts/modules/cpp_style.py:
171 * Scripts/modules/cpp_style_unittest.py:
173 2009-11-30 Adam Barth <abarth@webkit.org>
175 Reviewed by Eric Seidel.
177 check-webkit-style is slightly too verbose
178 https://bugs.webkit.org/show_bug.cgi?id=32010
180 check-webkit-style prints out a bunch of "done" lines that seem redundant,
181 especially for the style-queue.
183 * Scripts/modules/cpp_style.py:
185 2009-11-30 Alejandro G. Castro <alex@igalia.com>
187 Reviewed by Eric Seidel.
189 [GTK] Moved the functions that are closing the result log of the
190 tests to the last line of the runTest function, this avoids
191 reporting crashes in the wrong test if there is a problem when
192 reseting the state after the test.
194 * DumpRenderTree/gtk/DumpRenderTree.cpp:
198 2009-11-30 Sam Weinig <sam@webkit.org>
200 Reviewed by Geoffrey Garen.
202 Fix for https://bugs.webkit.org/show_bug.cgi?id=31286
203 fast/js/date-proto-generic-invocation breaks another test
205 Don't cache JSClassRefs, a change to the prototype chain will
208 * DumpRenderTree/AccessibilityController.cpp:
209 (AccessibilityController::getJSClass):
210 * DumpRenderTree/GCController.cpp:
211 (GCController::getJSClass):
212 * DumpRenderTree/GCController.h:
213 * DumpRenderTree/LayoutTestController.cpp:
214 (LayoutTestController::getJSClass):
216 2009-11-30 Yuzo Fujishima <yuzo@google.com>
218 Reviewed by Alexey Proskuryakov.
220 Update pywebsocket to 0.4.2.1.
221 This is to fix a bug that some messages are logged to stderr even when the log file is specified.
222 https://bugs.webkit.org/show_bug.cgi?id=31976
224 * pywebsocket/mod_pywebsocket/standalone.py:
225 * pywebsocket/setup.py:
227 2009-11-30 Adam Barth <abarth@webkit.org>
229 Reviewed by Eric Seidel.
231 [bzt] Generate pass messages for style-queue
232 https://bugs.webkit.org/show_bug.cgi?id=31995
234 With this change, the style-queue posts "pass" messages to bugs as
235 well. Also, added more information to the state store w.r.t. passing
238 * Scripts/modules/commands/queues.py:
239 * Scripts/modules/patchcollection.py:
241 2009-11-30 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
243 Reviewed by Simon Fraser.
245 Check for WEBKIT_TESTFONTS environment variable in
246 run-webkit-tests, for GTK+, to have a more prominent error
249 * Scripts/run-webkit-tests:
251 2009-11-30 Yaar Schnitman <yaar@chromium.org>
253 Reviewed by Dimitri Glazkov.
255 update-webkit --chromium forces gclient sync
257 https://bugs.webkit.org/show_bug.cgi?id=31967
259 * Scripts/update-webkit-chromium:
261 2009-11-29 Eric Seidel <eric@webkit.org>
263 Add Erik Arvidsson to committers.py since by r51326 he clear has commit rights.
265 * Scripts/modules/committers.py:
267 2009-11-29 Eric Seidel <eric@webkit.org>
269 No review, just adding missing svn property.
271 Set svn:executable property on new scripts.
272 These were added by commit-queue commits, but the executable
273 property was lost due to a bug in svn-apply:
274 https://bugs.webkit.org/show_bug.cgi?id=27204
276 * Scripts/update-webkit-chromium: Added property svn:executable.
277 * Scripts/validate-committer-lists: Added property svn:executable.
279 2009-11-29 Eric Seidel <eric@webkit.org>
281 Reviewed by Adam Barth.
283 Need a way to validate that committers.py includes all committers/reviewers
284 https://bugs.webkit.org/show_bug.cgi?id=30970
286 Add a script which knows how to compare our public committer/reviewer
287 lists and show discrepancies between them.
289 Validates mailing lists vs. committers.py:
290 - committers.py committers missing from webkit-committers@lists
291 - webkit-committers@lists members missing from committers.py
292 - committers.py reviewers missing from webkit-reviewers@lists
293 - webkit-reviewers@lists members missing from committers.py
294 - webkit-reviewers@lists members missing from committers.py reviewer list
296 Validates committers.py vs. trunk/ SVN history:
297 - committers who have not committed in over a year
298 - SVN committers missing from committers.py
299 - committers.py members who have no record in SVN.
301 All of these lists still show "false positives" until a few more committers.py updates are made, like:
302 https://bugs.webkit.org/show_bug.cgi?id=31366
304 * Scripts/validate-committer-lists: Added.
306 2009-11-28 Adam Barth <abarth@webkit.org>
308 Reviewed by Eric Seidel.
310 [bzt] style-queue sends ~100 requests to QueueStatusServer every 5 minutes
311 https://bugs.webkit.org/show_bug.cgi?id=31950
313 Now we cache the last status that we get back from QueueStatusServer.
314 Eventually we'll have to do something more fancy if we want to support
315 a "try again" button on QueueStatusServer, but we can cross that bridge
318 * Scripts/modules/patchcollection.py:
320 2009-11-28 Adam Barth <abarth@webkit.org>
322 Reviewed by Eric Seidel.
324 StyleQueue scans ~100 bug pages every 5 minutes
325 https://bugs.webkit.org/show_bug.cgi?id=31947
327 Instead of getting the pending-review attachment ids by scanning each
328 bug (which results in a network request), we should just get them all
329 from webkit.org/pending-review in one shot.
331 * Scripts/modules/bugzilla.py:
332 * Scripts/modules/bugzilla_unittest.py:
333 * Scripts/modules/commands/queries.py:
334 * Scripts/modules/commands/queries_unittest.py:
335 * Scripts/modules/commands/queues.py:
336 * Scripts/modules/mock_bugzillatool.py:
337 * Scripts/modules/patchcollection.py:
339 2009-11-28 Adam Barth <abarth@webkit.org>
341 Reviewed by Eric Seidel.
343 [bzt] CC webkit-bot-watchers whenever the bots touch bugs
344 https://bugs.webkit.org/show_bug.cgi?id=31952
346 The mailing list is open for anyone to subscribe.
348 * Scripts/modules/bugzilla.py:
349 * Scripts/modules/commands/queues.py:
351 2009-11-28 Adam Barth <abarth@webkit.org>
353 Reviewed by Eric Seidel.
355 [bzt] style-queue should report style errors to bugzilla
356 https://bugs.webkit.org/show_bug.cgi?id=31945
358 Currently, we're just logging the style errors locally. With this
359 patch we'll actually log the errors to bugzilla. Note: I plan to run
360 with the "local-only" logging during development.
362 * Scripts/modules/commands/queues.py:
363 * Scripts/modules/scm.py:
365 2009-11-28 Adam Barth <abarth@webkit.org>
367 Reviewed by Eric Seidel.
369 [bzt] style-queue shouldn't reject patches from the commit-queue
370 https://bugs.webkit.org/show_bug.cgi?id=31944
372 Currently the style-queue subprocess gets confused and thinks its the
373 commit-queue. If the patch has an error, it rejects it from the
374 commit-queue. Instead, we should have style-queue specific logic.
375 This patch doesn't add that logic, but it gives us a callback we can
376 use to add that logic.
378 * Scripts/modules/buildsteps.py:
379 * Scripts/modules/commands/queues.py:
380 * Scripts/modules/landingsequence.py:
382 2009-11-27 Adam Barth <abarth@webkit.org>
384 Rubber stamped by Eric Seidel.
386 Rename CommitQueueStatus to QueueStatusServer to allow for more queues.
388 * CommitQueueStatus: Removed.
389 * CommitQueueStatus/app.yaml: Removed.
390 * CommitQueueStatus/filters: Removed.
391 * CommitQueueStatus/filters/__init__.py: Removed.
392 * CommitQueueStatus/filters/webkit_extras.py: Removed.
393 * CommitQueueStatus/index.html: Removed.
394 * CommitQueueStatus/index.yaml: Removed.
395 * CommitQueueStatus/queue_status.py: Removed.
396 * CommitQueueStatus/stylesheets: Removed.
397 * CommitQueueStatus/stylesheets/main.css: Removed.
398 * CommitQueueStatus/update_status.html: Removed.
399 * QueueStatusServer: Copied from WebKitTools/CommitQueueStatus.
401 2009-11-27 Adam Barth <abarth@webkit.org>
403 Reviewed by Eric Seidel.
405 style-queue should only process each patch once
406 https://bugs.webkit.org/show_bug.cgi?id=31939
408 Actually address reviewer comments!
410 * Scripts/bugzilla-tool:
412 2009-11-27 Adam Barth <abarth@webkit.org>
414 Reviewed by Eric Seidel.
416 [bzt] style-queue fails to apply a bunch of patches for no reason
417 https://bugs.webkit.org/show_bug.cgi?id=31942
419 By passing --non-interactive to check-style, we convince check-style
420 to pass --force to svn-apply, which lets it apply more patches.
422 * Scripts/modules/commands/queues.py:
424 2009-11-27 Adam Barth <abarth@webkit.org>
426 Reviewed by Eric Seidel.
428 [bzt] Support --status-host in style-queue
429 https://bugs.webkit.org/show_bug.cgi?id=31941
431 * Scripts/modules/commands/queues.py:
432 * Scripts/modules/statusbot.py:
434 2009-11-27 Adam Barth <abarth@webkit.org>
436 Reviewed by Eric Seidel.
438 style-queue should only process each patch once
439 https://bugs.webkit.org/show_bug.cgi?id=31939
441 Before processing a patch, the try-queues now ask the web service
442 whether they have already processed the patch. This is an initial cut
443 of this functionality. I expect we're make it richer over time.
445 * Scripts/bugzilla-tool:
446 * Scripts/modules/commands/queues.py:
447 * Scripts/modules/patchcollection.py:
449 2009-11-27 Adam Barth <abarth@webkit.org>
451 Reviewed by Eric Seidel.
453 PatchStatus does not return status
454 https://bugs.webkit.org/show_bug.cgi?id=31938
456 We need to parse attachment_id as an int. Otherwise, we can't find
457 anything in the datastore.
459 * CommitQueueStatus/queue_status.py:
461 2009-11-27 Adam Barth <abarth@webkit.org>
463 Reviewed by Eric Seidel.
465 Make commit-queue status not throw an exception where there is not
467 https://bugs.webkit.org/show_bug.cgi?id=31936
469 We need to actually fetch the results of the query to see what's in the
472 * CommitQueueStatus/queue_status.py:
474 2009-11-27 Adam Barth <abarth@webkit.org>
476 Reviewed by Eric Seidel.
478 [bzt] unit test ApplyPatches and ApplyAttachment
479 https://bugs.webkit.org/show_bug.cgi?id=31935
481 * Scripts/modules/commands/download.py:
482 * Scripts/modules/commands/download_unittest.py:
484 2009-11-27 Adam Barth <abarth@webkit.org>
486 Reviewed by Eric Seidel.
488 [bzt] Unit test download commands
489 https://bugs.webkit.org/show_bug.cgi?id=31923
491 Adds download_unittest and fixes a bug found while testing.
493 * Scripts/modules/commands/commandtest.py:
494 * Scripts/modules/commands/download.py:
495 Fixed a bug where we'd throw an error because [].append returns
497 * Scripts/modules/commands/download_unittest.py: Added.
498 * Scripts/modules/mock_bugzillatool.py:
499 * Scripts/run-webkit-unittests:
501 2009-11-27 Adam Barth <abarth@webkit.org>
503 Unreviewed "build" fix found while writing unit tests.
505 * Scripts/modules/commands/download.py:
507 2009-11-27 Adam Barth <abarth@webkit.org>
509 Reviewed by Eric Seidel.
511 [bzt] Kill WebKitLandingScripts
512 https://bugs.webkit.org/show_bug.cgi?id=31904
514 Step 6: Kill the rest.
516 * Scripts/modules/buildsteps.py:
517 * Scripts/modules/commands/download.py:
518 * Scripts/modules/commands/queries.py:
519 * Scripts/modules/commands/upload.py:
520 * Scripts/modules/landingsequence.py:
521 * Scripts/modules/scm.py:
522 * Scripts/modules/webkitlandingscripts.py: Removed.
524 2009-11-27 Adam Barth <abarth@webkit.org>
526 Reviewed by Eric Seidel.
528 [bzt] Unit test upload commands
529 https://bugs.webkit.org/show_bug.cgi?id=31903
531 Adds unit tests for all but two of the upload commands. The two
532 remaining ones are more difficult. I'll return to them later. The
533 goal of these tests is just to run the commands. We can test more
534 detailed behavior later.
536 * Scripts/modules/commands/commandtest.py:
537 * Scripts/modules/commands/upload.py:
538 * Scripts/modules/commands/upload_unittest.py:
539 * Scripts/modules/mock.py: Added.
540 * Scripts/modules/mock_bugzillatool.py:
542 2009-11-26 Adam Barth <abarth@webkit.org>
544 Reviewed by Eric Seidel.
546 [bzt] Kill WebKitLandingScripts
547 https://bugs.webkit.org/show_bug.cgi?id=31904
549 Step 5: Kill run_and_throw_if_fail.
551 * Scripts/modules/buildsteps.py:
552 * Scripts/modules/processutils.py: Added.
553 * Scripts/modules/webkitlandingscripts.py:
555 2009-11-26 Adam Barth <abarth@webkit.org>
557 Reviewed by Eric Seidel.
559 [bzt] Kill WebKitLandingScripts
560 https://bugs.webkit.org/show_bug.cgi?id=31904
562 Step 4: Kill run_webkit_script.
564 * Scripts/modules/buildsteps.py:
565 * Scripts/modules/commands/download.py:
566 * Scripts/modules/webkitlandingscripts.py:
568 2009-11-26 Adam Barth <abarth@webkit.org>
570 Reviewed by Eric Seidel.
572 [bzt] Kill WebKitLandingScripts
573 https://bugs.webkit.org/show_bug.cgi?id=31904
575 Step 3: Kill build_webkit.
577 * Scripts/modules/buildsteps.py:
578 * Scripts/modules/landingsequence.py:
579 * Scripts/modules/webkitlandingscripts.py:
581 2009-11-26 Adam Barth <abarth@webkit.org>
583 Reviewed by Eric Seidel.
585 [bzt] Kill WebKitLandingScripts
586 https://bugs.webkit.org/show_bug.cgi?id=31904
588 Step 2: Kill ensure_builders_are_green.
590 * Scripts/modules/buildsteps.py:
591 * Scripts/modules/commands/download.py:
592 * Scripts/modules/landingsequence.py:
593 * Scripts/modules/webkitlandingscripts.py:
595 2009-11-26 Adam Barth <abarth@webkit.org>
597 Reviewed by Eric Seidel.
599 [bzt] Kill WebKitLandingScripts
600 https://bugs.webkit.org/show_bug.cgi?id=31904
602 Step 1: Kill prepare_clean_working_directory and run_webkit_tests.
604 * Scripts/bugzilla-tool:
605 * Scripts/modules/buildsteps.py: Added.
606 * Scripts/modules/commands/download.py:
607 * Scripts/modules/landingsequence.py:
608 * Scripts/modules/webkitlandingscripts.py:
610 2009-11-26 Zoltan Horvath <zoltan@webkit.org>
612 Reviewed by Adam Barth.
614 Remove directory prefixes from linux commands
616 SCM unittests can cause errors on some systems if we use absolute reference to
617 the commands, so directory prefixes have been removed.
619 * Scripts/modules/scm_unittest.py:
621 2009-11-21 Holger Hans Peter Freyther <zecke@selfish.org>
623 Reviewed by Kenneth Rohde Christiansen.
625 Link DumpRenderTree to the Qt Ui Tools
626 https://bugs.webkit.org/show_bug.cgi?id=31203
628 Implement QWebPage::createPlugin using the Qt Ui Tools
629 to be able to create classes like QProgressBar from within
630 the <object></object> tags This is required for the
631 new automatic test of Qt Plugins.
633 * DumpRenderTree/qt/DumpRenderTree.cpp:
634 (WebCore::WebPage::createPlugin):
635 * DumpRenderTree/qt/DumpRenderTree.h:
636 * DumpRenderTree/qt/DumpRenderTree.pro:
638 2009-11-25 Yuzo Fujishima <yuzo@google.com>
640 Reviewed by Eric Seidel.
642 Update pywebsocket to 0.4.2
644 Update pywebsocket to 0.4.2
645 https://bugs.webkit.org/show_bug.cgi?id=31861
647 * pywebsocket/example/echo_client.py:
648 * pywebsocket/example/echo_wsh.py:
649 * pywebsocket/mod_pywebsocket/__init__.py:
650 * pywebsocket/mod_pywebsocket/dispatch.py:
651 * pywebsocket/mod_pywebsocket/msgutil.py:
652 * pywebsocket/mod_pywebsocket/standalone.py:
653 * pywebsocket/setup.py:
654 * pywebsocket/test/test_dispatch.py:
655 * pywebsocket/test/test_msgutil.py:
657 2009-11-25 Adam Barth <abarth@webkit.org>
659 Reviewed by Eric Seidel.
661 Add unit test for mark-fixed
662 https://bugs.webkit.org/show_bug.cgi?id=31896
664 * Scripts/modules/commands/commandtest.py: Added.
665 * Scripts/modules/commands/queries_unittest.py:
666 * Scripts/modules/commands/upload_unittest.py: Added.
667 * Scripts/modules/mock_bugzillatool.py:
668 * Scripts/run-webkit-unittests:
670 2009-11-25 Adam Barth <abarth@webkit.org>
672 Reviewed by Eric Seidel.
674 bugzilla-tool should have a mark-fixed command
675 https://bugs.webkit.org/show_bug.cgi?id=31853
679 * Scripts/modules/commands/upload.py:
681 2009-11-25 Eric Seidel <eric@webkit.org>
683 Reviewed by Adam Barth.
685 'bugzilla-tool help' should only show common commands like how 'git help' does
686 https://bugs.webkit.org/show_bug.cgi?id=31772
688 I also took this opportunity to make 'help' a real Command.
689 Making 'help' a real command required adding Command.tool (which we've wanted to do for a while).
691 * Scripts/bugzilla-tool:
692 - change should_show_command_help to should_show_in_main_help
693 * Scripts/modules/commands/download.py:
694 - Mark commands as being shown in main help or not.
695 - show_in_main_help = False is not required (default is false),
696 but it seemed to make the commands more self-documenting.
697 * Scripts/modules/commands/queries.py: ditto
698 * Scripts/modules/commands/queues.py: ditto
699 * Scripts/modules/commands/upload.py: ditto
700 * Scripts/modules/multicommandtool.py:
701 - Make Command hold a pointer to tool in self.tool. Most Command
702 subclasses do not take advantage of this yet, but it was required
703 for HelpCommand to be able to reach the tool from _help_epilog().
704 - Move MultiCommandTool._standalone_help_for_command to Command.standalone_help
705 - Move MultiCommandTool._help_epilog to Command._help_epilog
706 - Move "help" logic into HelpCommand.execute()
707 - Change should_show_command_help to should_show_in_main_help and add a default implementation.
708 * Scripts/modules/multicommandtool_unittest.py:
709 - Test hiding of Commands in --help, and that all commands are shown in 'help --all-commands'
711 2009-11-25 Brian Weinstein <bweinstein@apple.com>
713 Reviewed by Dan Bernstein.
717 The buildbots are failing on Windows because when they were upgraded
718 to 4.0.4, Apple Application Support was not in their path. Add it to
719 the path to fix the buildots.
721 * Scripts/webkitdirs.pm:
723 2009-11-25 Csaba Osztrogonác <ossy@webkit.org>
725 Reviewed by David Kilzer.
727 run-webkit-tests doesn't accept directories/files with --skipped=only parameter
728 https://bugs.webkit.org/show_bug.cgi?id=31799
730 * Scripts/run-webkit-tests: Fixed.
732 2009-11-25 Zoltan Horvath <zoltan@webkit.org>
734 Reviewed by Eric Seidel.
736 Change run_command to give back stderr by default
737 https://bugs.webkit.org/show_bug.cgi?id=31734
739 Change run_command to give back stderr by default.
740 Set run_commands's 'svn-create-patch' calling to put only the stdout into the patches.
741 Change the related unittest call.
743 * Scripts/modules/scm.py:
744 * Scripts/modules/scm_unittest.py:
746 2009-11-25 Eric Seidel <eric@webkit.org>
748 Reviewed by Adam Barth.
750 Centralize required argument parsing in Command
751 https://bugs.webkit.org/show_bug.cgi?id=31872
753 * Scripts/modules/commands/download.py: remove custom required arg message.
754 * Scripts/modules/commands/upload.py: ditto.
755 * Scripts/modules/multicommandtool.py:
756 - Add _parse_required_arguments.
757 - Pass program name off to OptionParser.
758 - Add name() for access to tool name.
759 - Add check_arguments_and_execute and make it return a return code.
760 - Replace a couple uses of + with %.
761 * Scripts/modules/multicommandtool_unittest.py: test _parse_required_arguments
763 2009-11-25 Eric Seidel <eric@webkit.org>
765 Reviewed by Adam Barth.
767 Abstract out capturing stdout/stderr into a new OutputCapture class for re-use among the various unit tests.
768 https://bugs.webkit.org/show_bug.cgi?id=31870
770 * Scripts/modules/commands/queries_unittest.py: Use the new class.
771 * Scripts/modules/multicommandtool_unittest.py: Ditto.
772 * Scripts/modules/outputcapture.py: Added.
774 2009-11-24 Dmitry Titov <dimich@chromium.org>
776 Reviewed by Eric Seidel.
778 Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit
779 https://bugs.webkit.org/show_bug.cgi?id=31444
781 * Scripts/build-webkit:
783 2009-11-24 Chris Marrin <cmarrin@apple.com>
785 Reviewed by Simon Fraser.
787 Changes the way 3D_RENDERING and ACCELERATED_COMPOSITING related tests are excluded
788 https://bugs.webkit.org/show_bug.cgi?id=27314
790 Now the script allows the directories with these tests to be included on all
791 platforms but Mac, where they behave the same as always. For all other platforms
792 the tests need to be excluded using the Skipped files, which is currently done
793 for all platforms (including win since we're not turned on yet)
795 * Scripts/webkitdirs.pm:
797 2009-11-24 Eric Seidel <eric@webkit.org>
799 Reviewed by Adam Barth.
801 queries_unittest.py should test command output
802 https://bugs.webkit.org/show_bug.cgi?id=31845
804 * Scripts/modules/commands/queries_unittest.py:
805 - Capture stdout and stderr and compare with expected strings.
807 2009-11-24 Simon Fraser <simon.fraser@apple.com>
811 Fix spelling error ("depenedencies").
813 * Scripts/build-webkit:
815 2009-11-24 Mark Rowe <mrowe@apple.com>
817 Land the configuration that includes the two debug GTK Linux builders.
819 * BuildSlaveSupport/build.webkit.org-config/config.json:
821 2009-11-24 David Kilzer <ddkilzer@apple.com>
823 <http://webkit.org/b/31840> bisect-builds broke after r50080
825 Reviewed by Dan Bernstein.
827 * Scripts/bisect-builds:
828 (mountAndRunNightly): Switched back to using backticks to run
829 the hdiutil command since exec() will terminate the existing
830 script, which is not what we want. Store the output of
831 File::Spec->devnull() in a variable for use in the hdiutil
834 2009-11-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>
836 Reviewed by Kenneth Rohde Christiansen.
838 Include "config.h" to meet Coding Style Guidelines
839 https://bugs.webkit.org/show_bug.cgi?id=31792
841 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
842 * DumpRenderTree/qt/jsobjects.cpp:
843 * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
845 2009-11-23 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
847 Reviewed by Oliver Hunt.
849 Implement new required function to pass test we used to pass. This
850 change is required since r51294.
852 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
853 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
855 2009-11-23 Jakub Wieczorek <faw217@gmail.com>
857 Reviewed by Kenneth Rohde Christiansen.
859 [Qt] DRT: dumpBackForwardList() does not work properly with non-file URLs.
860 https://bugs.webkit.org/show_bug.cgi?id=31775
862 LayoutTestController::dumpBackForwardList() should work with local URLs
863 as well as with normal URLs (in http tests for instance).
864 Currently it does not output the latter properly.
866 Unskip a bunch of passing http/navigation tests.
868 * DumpRenderTree/qt/DumpRenderTree.cpp:
869 (WebCore::dumpHistoryItem):
871 2009-11-22 Chris Fleizach <cfleizach@apple.com>
873 Reviewed by Oliver Hunt.
875 ARIA: support aria-flowto
876 https://bugs.webkit.org/show_bug.cgi?id=31762
878 * DumpRenderTree/AccessibilityUIElement.cpp:
879 (ariaFlowToElementAtIndexCallback):
880 (AccessibilityUIElement::getJSClass):
881 * DumpRenderTree/AccessibilityUIElement.h:
882 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
883 (AccessibilityUIElement::ariaFlowToElementAtIndex):
884 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
885 (AccessibilityUIElement::ariaFlowToElementAtIndex):
886 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
887 (AccessibilityUIElement::ariaFlowToElementAtIndex):
889 2009-11-22 Antonio Gomes <tonikitoo@webkit.org>
891 Reviewed by Kenneth Christiansen.
893 [Qt] fast/history/back-forward-reset-after-error-handling.html failing due to WorkQueue not being un-frozen
894 https://bugs.webkit.org/show_bug.cgi?id=31638
896 Unfreeze WorkQueue after each test execution.
898 * DumpRenderTree/qt/DumpRenderTree.cpp:
899 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
901 2009-11-22 Jakub Wieczorek <faw217@gmail.com>
903 Reviewed by Adam Barth.
905 [Qt] DumpRenderTree should explicitly ignore any SSL certificate errors
906 for localhost and 127.0.0.1.
907 https://bugs.webkit.org/show_bug.cgi?id=31783
909 Unskip the http/tests/ssl/verify-ssl-enabled.php test, which is passing now.
911 * DumpRenderTree/qt/DumpRenderTree.cpp:
912 (WebCore::NetworkAccessManager::NetworkAccessManager):
913 (WebCore::NetworkAccessManager::sslErrorsEncountered):
914 (WebCore::WebPage::WebPage):
915 * DumpRenderTree/qt/DumpRenderTree.h:
917 2009-11-22 Chris Evans <cevans@chromium.org>
919 Reviewed by Adam Barth.
921 Disable access to file:/// directory listings
922 https://bugs.webkit.org/show_bug.cgi?id=31329
924 Implemented setAllowUniversalAccessFromFileURLs to support testing of
927 * DumpRenderTree/LayoutTestController.cpp:
928 (setAllowUniversalAccessFromFileURLsCallback):
929 (LayoutTestController::staticFunctions):
930 * DumpRenderTree/LayoutTestController.h:
931 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
932 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
933 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
934 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
935 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
936 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
937 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
938 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
940 2009-11-22 Jakub Wieczorek <faw217@gmail.com>
942 Reviewed by Kenneth Rohde Christiansen.
944 [Qt] Fix the timeout of fast/frames/frame-navigation.html
945 https://bugs.webkit.org/show_bug.cgi?id=31638
947 The test is timeouting, because it uses the WorkQueue to load a document in one
948 of the child frames and once the loading is finished, the DRT does not dump the
949 tree. This is because it waits for the QWebFrame::loadFinished() signal from
950 the main frame, while it should connect to QWebPage::loadFinished().
952 * DumpRenderTree/qt/DumpRenderTree.cpp:
953 (WebCore::DumpRenderTree::DumpRenderTree):
955 2009-11-21 Eric Seidel <eric@webkit.org>
957 Reviewed by Adam Barth.
959 bugzilla-tool --help spews way too much text
960 https://bugs.webkit.org/show_bug.cgi?id=31771
962 * Scripts/bugzilla-tool:
963 - Remove self.cached_scm initialization hack.
964 * Scripts/modules/buildbot.py:
965 - Make default_host accessible to callers.
966 * Scripts/modules/commands/download.py:
967 - Phrase help for all commands consistently and remove spurious help text punctuation.
968 * Scripts/modules/commands/queries.py: Ditto.
969 * Scripts/modules/commands/queues.py: Ditto.
970 * Scripts/modules/commands/upload.py: Ditto.
971 * Scripts/modules/multicommandtool.py:
972 - Add HelpPrintingOptionParser.format_epilog to replace
973 NonWrappingEpilogIndentedHelpFormatter and allow us to lazily initialize
974 per-command help (thus removing the need for the cached_scm hack in BugzillaTool).
975 - Make --help only show a list of commands like "svn help" and "git help" do --
976 previously --help was listing all commands and options.
977 - Sort list of commands alphabetically.
979 2009-11-21 Eric Seidel <eric@webkit.org>
981 No review. Fixing a typo from the previous patch for bug 31767.
983 AbstractQueue.run_bugzilla_tool throws an exception
984 https://bugs.webkit.org/show_bug.cgi?id=31769
986 * Scripts/modules/commands/queues.py:
988 2009-11-21 Eric Seidel <eric@webkit.org>
990 Reviewed by Adam Barth.
992 commit-queue fails to run with "permissions error" due to bad bugzilla-tool path
993 https://bugs.webkit.org/show_bug.cgi?id=31767
995 What we really want to test is BugzillaTool.path() instead of TrivialTool.path().
996 Since we don't have a good way to test BugzillaTool pieces, I've
997 left out a test for now.
999 * Scripts/bugzilla-tool:
1000 - Add a path() implementation to expose bugzilla-tool's __file__ path to commit-queue.
1001 * Scripts/modules/commands/queues.py:
1002 - Use tool.path() instead of __file__.
1003 * Scripts/modules/multicommandtool.py:
1004 - Add a new path() method to MultiComandTool.
1005 * Scripts/modules/multicommandtool_unittest.py:
1006 - Provide a path() method. Little point in testing this mock implementation.
1008 2009-11-21 Adam Barth <abarth@webkit.org>
1010 Unreviewed "build" fix. Turns out I was testing the wrong copy of
1013 * Scripts/modules/commands/download.py:
1015 2009-11-21 Adam Barth <abarth@webkit.org>
1017 Reviewed by Eric Seidel.
1019 Convert check-style to use LandingSequence
1020 https://bugs.webkit.org/show_bug.cgi?id=31763
1022 Instead of manipulating the working copy by hand, we should use the
1023 LandingSequence in CheckStyle. This will make this code eaiser to
1026 * Scripts/modules/commands/download.py:
1028 2009-11-20 Adam Barth <abarth@webkit.org>
1030 Reviewed by Eric Seidel.
1032 Unit test query commands
1033 https://bugs.webkit.org/show_bug.cgi?id=31755
1035 These tests are pretty rough, but hopefully they'll grow.
1037 * Scripts/modules/commands/queries_unittest.py: Added.
1038 * Scripts/modules/mock_bugzillatool.py: Added.
1039 * Scripts/run-webkit-unittests:
1041 2009-11-20 Eric Seidel <eric@webkit.org>
1043 Reviewed by Adam Barth.
1045 Fix a bunch of unit test regressions from our recent bugzilla-toll hacking
1046 https://bugs.webkit.org/show_bug.cgi?id=31758
1048 * Scripts/modules/multicommandtool.py:
1049 - Allow passing of explicit commands to MultiCommandTool.__init__
1050 * Scripts/modules/multicommandtool_unittest.py:
1051 - Use new Command.name naming system.
1052 - Test Command auto-discovery.
1053 * Scripts/modules/workqueue.py:
1054 - bug_id no longer exists, use patch['bug_id'] instead.
1055 * Scripts/modules/workqueue_unittest.py:
1056 - WorkQueues require names now.
1057 - should_proceed_with_work_item must return a patch object.
1059 2009-11-20 Chris Fleizach <cfleizach@apple.com>
1061 Reviewed by Beth Dakin.
1063 WAI-ARIA: add support for aria-owns
1064 https://bugs.webkit.org/show_bug.cgi?id=31702
1066 * DumpRenderTree/AccessibilityUIElement.cpp:
1067 (ariaOwnsElementAtIndexCallback):
1068 (AccessibilityUIElement::getJSClass):
1069 * DumpRenderTree/AccessibilityUIElement.h:
1070 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
1071 (AccessibilityUIElement::ariaOwnsElementAtIndex):
1072 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1073 (AccessibilityUIElement::ariaOwnsElementAtIndex):
1074 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1075 (AccessibilityUIElement::ariaOwnsElementAtIndex):
1077 2009-11-20 Eric Seidel <eric@webkit.org>
1079 Reviewed by Adam Barth.
1081 Fix exception thrown when running the commit-queue.
1083 * Scripts/modules/statusbot.py: patch is optional.
1084 * Scripts/modules/workqueue.py: WorkQUeue requires a name.
1086 2009-11-20 Eric Seidel <eric@webkit.org>
1088 Reviewed by Adam Barth.
1090 Teach the StatusBot how to support more than just the commit-queue
1091 https://bugs.webkit.org/show_bug.cgi?id=31754
1093 * Scripts/modules/workqueue.py: Another typo.
1095 2009-11-20 Eric Seidel <eric@webkit.org>
1097 Reviewed by Adam Barth.
1099 Teach the StatusBot how to support more than just the commit-queue
1100 https://bugs.webkit.org/show_bug.cgi?id=31754
1102 * Scripts/modules/commands/queues.py: Fix silly typo.
1104 2009-11-20 Eric Seidel <eric@webkit.org>
1106 Reviewed by Adam Barth.
1108 Teach the StatusBot how to support more than just the commit-queue
1109 https://bugs.webkit.org/show_bug.cgi?id=31754
1111 * CommitQueueStatus/index.yaml:
1112 - Add indices required for the new queries.
1113 * CommitQueueStatus/queue_status.py:
1114 - Add a patch-status page and move update_status to update-status.
1115 - Only display "commit-queue" status records for the commit-queue.
1116 - Add support for a queue_name property on status records.
1117 - Fix _int_from_request to actually work.
1118 * CommitQueueStatus/update_status.html:
1119 - Add support for a queue_name on status records.
1120 - Remove unused list of bug ids.
1121 * Scripts/modules/commands/queues.py
1122 - Make the queues pass the patch instead of the bug_id to StatusBot.
1123 * Scripts/modules/statusbot.py:
1124 - Support passing the queue_name to the status updates.
1125 - Support fetching patch status with patch_status().
1126 * Scripts/modules/workqueue.py:
1127 - Pass the patch to the StatusBot instead of the bug_id.
1128 - Let WorkQueues have a name.
1130 2009-11-20 Adam Barth <abarth@webkit.org>
1132 Reviewed by Eric Seidel.
1134 Move bugzilla-tool commands into their own file
1135 https://bugs.webkit.org/show_bug.cgi?id=31752
1137 This will let us write unit tests.
1139 * Scripts/bugzilla-tool:
1140 * Scripts/modules/commands/__init__.py: Added.
1141 * Scripts/modules/commands/download.py: Added.
1142 * Scripts/modules/commands/queries.py: Added.
1143 * Scripts/modules/commands/queues.py: Added.
1144 * Scripts/modules/commands/upload.py: Added.
1145 * Scripts/modules/grammar.py: Added.
1147 2009-11-20 Adam Barth <abarth@webkit.org>
1149 Reviewed by Eric Seidel.
1151 BuildQueue should check if the tree is currently buildable
1152 https://bugs.webkit.org/show_bug.cgi?id=31744
1154 * Scripts/bugzilla-tool:
1155 * Scripts/modules/landingsequence.py:
1156 * Scripts/modules/webkitlandingscripts.py:
1158 2009-11-20 Adam Barth <abarth@webkit.org>
1160 Reviewed by Eric Seidel.
1162 Move prepare_clean_working_directory into the LandingSequence
1163 https://bugs.webkit.org/show_bug.cgi?id=31743
1165 * Scripts/bugzilla-tool:
1166 * Scripts/modules/landingsequence.py:
1168 2009-11-20 Yael Aharon <yael.aharon@nokia.com>
1170 Reviewed by Kenneth Rohde Christiansen.
1172 NPN_ReloadPlugins does not reload the page even if reloadPages is true.
1173 https://bugs.webkit.org/show_bug.cgi?id=30460
1175 Added code for calling NPN_ReloadPlugins with reloadPages true and false.
1177 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1180 2009-11-20 Adam Barth <abarth@webkit.org>
1182 Reviewed by Eric Seidel.
1184 Pass the port information to the child process
1185 https://bugs.webkit.org/show_bug.cgi?id=31736
1187 We need to do this so the child process knows what to build!
1189 * Scripts/bugzilla-tool:
1190 * Scripts/modules/landingsequence.py:
1191 * Scripts/modules/webkitport.py:
1192 * Scripts/modules/webkitport_unittest.py:
1194 2009-11-20 Adam Barth <abarth@webkit.org>
1196 Reviewed by Eric Seidel.
1198 Support Qt port in build-queue
1199 https://bugs.webkit.org/show_bug.cgi?id=31733
1201 * Scripts/bugzilla-tool:
1203 2009-11-20 Adam Barth <abarth@webkit.org>
1205 Reviewed by Eric Seidel.
1207 Implement a build-queue
1208 https://bugs.webkit.org/show_bug.cgi?id=31725
1210 Currently this just builds the first 10 patches in the review queue.
1211 We'll want to do something smarter soon.
1213 * Scripts/bugzilla-tool:
1215 2009-11-20 Adam Barth <abarth@webkit.org>
1217 Reviewed by Eric Seidel.
1219 Make commit-queue and style-queue show up in help
1220 https://bugs.webkit.org/show_bug.cgi?id=31724
1222 We need to store their names on their class to make these commands
1223 properly register themselves with MultiCommandTool.
1225 * Scripts/bugzilla-tool:
1227 2009-11-20 Adam Barth <abarth@webkit.org>
1229 Reviewed by Eric Seidel.
1231 Implement bugzilla-tool build-attachment
1232 https://bugs.webkit.org/show_bug.cgi?id=31722
1234 This command builds an attachment from bugzilla. It leaves the built
1235 patch in the working copy.
1237 * Scripts/bugzilla-tool:
1238 * Scripts/modules/landingsequence.py:
1239 * Scripts/modules/webkitlandingscripts.py:
1241 2009-11-20 Alejandro G. Castro <alex@igalia.com>
1243 Reviewed by Xan Lopez.
1245 [GTK] DRT release event does not create the state correctly
1246 https://bugs.webkit.org/show_bug.cgi?id=31717
1248 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
1250 2009-11-20 Eric Seidel <eric@webkit.org>
1252 Reviewed by Adam Barth.
1254 MultiCommandTool should find Command objects automatically instead of with a manual list
1255 https://bugs.webkit.org/show_bug.cgi?id=31710
1257 * Scripts/bugzilla-tool:
1258 * Scripts/modules/multicommandtool.py:
1259 - Use some wild python-fu to crawl all the known subclasses of Command.
1261 2009-11-20 Adam Barth <abarth@webkit.org>
1263 Unreviewed "build" fix. Added missing import.
1265 * Scripts/bugzilla-tool:
1267 2009-11-20 Adam Barth <abarth@webkit.org>
1269 Unreviewed "build" fix. I failed to update LandingSequence.test
1272 * Scripts/modules/landingsequence.py:
1274 2009-11-20 Adam Barth <abarth@webkit.org>
1276 Reviewed by Eric Seidel.
1278 Create LandingSequence as the all-sing, all-dance landing class
1279 https://bugs.webkit.org/show_bug.cgi?id=31709
1281 Client can inherit from this class to carefully control exactly which
1282 steps they wish to have happen in the landing sequence.
1284 * Scripts/bugzilla-tool:
1285 * Scripts/modules/landingsequence.py: Added.
1286 * Scripts/modules/webkitlandingscripts.py: Added.
1288 2009-11-19 Adam Barth <abarth@webkit.org>
1290 Reviewed by Eric Seidel.
1292 Abstract AbstractPatchProcessingCommand from AbstractPatchLandingCommand
1293 https://bugs.webkit.org/show_bug.cgi?id=31707
1295 This is to help when we implement build-attachment.
1297 * Scripts/bugzilla-tool:
1299 2009-11-19 Adam Barth <abarth@webkit.org>
1301 Reviewed by Eric Seidel.
1303 Support Qt port in bugzilla-tool
1304 https://bugs.webkit.org/show_bug.cgi?id=31701
1306 Now we support building with Qt!
1308 * Scripts/bugzilla-tool:
1309 * Scripts/modules/webkitport.py: Added.
1310 * Scripts/modules/webkitport_unittest.py: Added.
1311 * Scripts/run-webkit-unittests:
1313 2009-11-19 Zoltan Horvath <zoltan@webkit.org>
1315 Reviewed by Adam Barth.
1317 Remove inserting stderr into patch in bugzilla-tool
1318 https://bugs.webkit.org/show_bug.cgi?id=29914
1320 Modify SCM python module's run_command function to avoid return of stderr
1321 by default, so stderr won't be inserted into the patches.
1322 Modify the related unit test.
1324 * Scripts/modules/scm.py:
1325 * Scripts/modules/scm_unittest.py:
1327 2009-11-19 Eric Seidel <eric@webkit.org>
1329 Reviewed by Adam Barth.
1331 bugzilla-tool needs per-command help
1332 https://bugs.webkit.org/show_bug.cgi?id=31697
1334 Added support for "bugzilla-tool help command-name"
1335 and a unit test to make sure it works.
1337 * Scripts/modules/multicommandtool.py:
1338 * Scripts/modules/multicommandtool_unittest.py:
1340 2009-11-19 Eric Seidel <eric@webkit.org>
1342 Reviewed by Adam Barth.
1344 Move MultiCommandTool and Command into a separate file and add some basic unit tests
1345 https://bugs.webkit.org/show_bug.cgi?id=31695
1347 * Scripts/bugzilla-tool:
1348 * Scripts/modules/multicommandtool.py: Added.
1349 * Scripts/modules/multicommandtool_unittest.py: Added.
1350 * Scripts/run-webkit-unittests:
1352 2009-11-19 Eric Seidel <eric@webkit.org>
1354 No review, just adding a FIXME.
1356 Split out command parsing and help printing from BugzillaTool
1357 https://bugs.webkit.org/show_bug.cgi?id=31688
1359 * Scripts/bugzilla-tool: Add an extra comment about current design failures.
1361 2009-11-19 Eric Seidel <eric@webkit.org>
1363 Reviewed by Adam Barth.
1365 Split out command parsing and help printing from BugzillaTool
1366 https://bugs.webkit.org/show_bug.cgi?id=31688
1368 * Scripts/bugzilla-tool:
1369 - Add new MultiCommandTool class to contain option parsing and help printing logic.
1370 - Rename private methods to use _ pattern.
1371 - MultiCommandTool has two abstract methods should_show_command_help and should_execute_command.
1374 2009-11-19 Eric Seidel <eric@webkit.org>
1376 Reviewed by Adam Barth.
1378 Re-factor help printing to use modern python idioms
1379 https://bugs.webkit.org/show_bug.cgi?id=31685
1381 * Scripts/bugzilla-tool:
1383 2009-11-19 Eric Seidel <eric@webkit.org>
1385 Reviewed by Darin Adler.
1387 commit-queue empty queue logs twice
1388 https://bugs.webkit.org/show_bug.cgi?id=31679
1390 * Scripts/bugzilla-tool:
1392 2009-11-19 Eric Seidel <eric@webkit.org>
1394 Reviewed by Darin Adler.
1396 bugzilla-tool's reviewer/committer rejection message should be clearer
1397 https://bugs.webkit.org/show_bug.cgi?id=31126
1399 Add more explanatory prose to bugzilla-tool's flag permission rejection message.
1401 * Scripts/modules/bugzilla.py:
1403 2009-11-19 Eric Z. Ayers <zundel@google.com>
1405 Reviewed by Pavel Feldman.
1407 Forces a WM_PAINT event on calling layoutTestController.display()
1408 in order to enable the timeline-paint.html test on Windows.
1409 ::UpdateWindow() does not force an event becaue the window is
1412 https://bugs.webkit.org/show_bug.cgi?id=31402
1414 * DumpRenderTree/win/DumpRenderTree.cpp:
1417 2009-11-19 Michelangelo De Simone <michelangelo@webkit.org>
1421 Added myself to committers list.
1423 * Scripts/modules/committers.py:
1425 2009-11-19 Adam Barth <abarth@webkit.org>
1427 Reviewed by Eric Seidel.
1429 Bugzilla-tool command classes should match command names
1430 https://bugs.webkit.org/show_bug.cgi?id=31666
1432 I renamed all the commands except CommitMessageForCurrentDiff because
1433 the new name would conflict with an existing class.
1435 * Scripts/bugzilla-tool:
1437 2009-11-19 Pavel Feldman <pfeldman@chromium.org>
1439 Reviewed by Gustavo Noronha Silva.
1441 Web Inspector: Implement "show inspector" in WebKit GTK
1442 API and enable console tests.
1444 https://bugs.webkit.org/show_bug.cgi?id=31669
1446 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1447 (LayoutTestController::showWebInspector):
1449 2009-11-19 Kenneth Rohde Christiansen <kenneth@webkit.org>
1451 Reviewed by Simon Hausmann.
1453 Minor refactoring + more documentation.
1455 * DumpRenderTree/qt/DumpRenderTree.cpp:
1456 (WebCore::clearHistory):
1457 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1459 2009-11-19 Fumitoshi Ukai <ukai@chromium.org>
1461 Reviewed by Eric Seidel.
1463 Ignore websocket tests when --no-http is specified.
1464 https://bugs.webkit.org/show_bug.cgi?id=31662
1466 * Scripts/run-webkit-tests:
1468 2009-11-18 Adam Barth <abarth@webkit.org>
1470 Reviewed by Eric Seidel.
1472 Normalize ' and " in bugzilla-tool
1473 https://bugs.webkit.org/show_bug.cgi?id=31655
1475 We decided " is better than ' and we should be consistent.
1477 * Scripts/bugzilla-tool:
1479 2009-11-18 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1481 Reviewed by Kenneth Rohde Christiansen.
1483 [Qt] Remove support for Qt v4.3 or older versions
1484 https://bugs.webkit.org/show_bug.cgi?id=29469
1486 * DumpRenderTree/qt/DumpRenderTree.pro:
1487 * DumpRenderTree/qt/ImageDiff.pro:
1489 2009-11-18 Shinichiro Hamaji <hamaji@chromium.org>
1491 Reviewed by Eric Seidel.
1493 GitTest.test_create_binary_patch fails if /tmp is symlink
1494 https://bugs.webkit.org/show_bug.cgi?id=31536
1496 * Scripts/modules/scm_unittest.py:
1498 2009-11-18 Yaar Schnitman <yaar@chromium.org>
1500 Reviewed by Darin Adler.
1502 Configuration for Chromium Build Slaves.
1504 https://bugs.webkit.org/show_bug.cgi?id=31442
1506 * BuildSlaveSupport/build.webkit.org-config/config.json:
1507 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1509 2009-11-18 Eric Seidel <eric@webkit.org>
1511 Reviewed by Darin Adler.
1513 workqueue.py results in totally broken commit-queue UI
1514 https://bugs.webkit.org/show_bug.cgi?id=31645
1516 * Scripts/bugzilla-tool:
1517 - Remove unneeded use of PatchCollection.
1518 - Grab a new copy of the cq'd patches every run of the queue.
1520 2009-11-18 Sam Weinig <sam@webkit.org>
1522 Reviewed by Anders Carlsson.
1524 Make the Mac Geolocation API async.
1526 Update DRT to use the new async Mac Geolocation API.
1528 * DumpRenderTree/mac/UIDelegate.mm:
1529 (-[UIDelegate webView:decidePolicyForGeolocationRequestFromOrigin:frame:listener:]):
1531 2009-11-18 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1533 Reviewed by Kenneth Rohde Christiansen.
1535 Add and option to toggle HTML5 datalist support to build-webkit
1536 https://bugs.webkit.org/show_bug.cgi?id=31599
1538 * Scripts/build-webkit:
1540 2009-11-18 Kevin Watters <kevinwatters@gmail.com>
1542 Reviewed by Kevin Ollivier.
1544 Enable wx plugin support using the Windows implementation as a base.
1546 https://bugs.webkit.org/show_bug.cgi?id=31636
1548 * wx/build/settings.py:
1550 2009-11-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
1552 Reviewed by Simon Hausmann.
1554 Change the initialization order so that the controllers
1555 will be created before exporting them to the JS DOM window.
1557 * DumpRenderTree/qt/DumpRenderTree.cpp:
1558 (WebCore::DumpRenderTree::DumpRenderTree):
1560 2009-11-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
1562 Reviewed by Simon Hausmann.
1564 Fix a code copy and paste error. m_page should be page.
1566 * DumpRenderTree/qt/DumpRenderTree.cpp:
1567 (WebCore::DumpRenderTree::createWindow):
1569 2009-11-17 Mark Rowe <mrowe@apple.com>
1571 Reviewed by Alexey Proskuryakov.
1573 <http://webkit.org/b/31603> WebSocket server is confused if WebKit tests run from within /tmp on Mac OS X
1575 * pywebsocket/mod_pywebsocket/dispatch.py: Use os.path.realpath as it returns the canonical path of a file.
1576 This prevents symlinks from confusing the descendant check.
1578 2009-11-17 Mark Rowe <mrowe@apple.com>
1580 Reviewed by Alexey Proskuryakov.
1582 <http://webkit.org/b/31602> Failing to start the WebSocket server shouldn’t terminate entire test run
1584 If the WebSocket server fails to start have DRT load an error page in place of tests that require the
1585 server to be up rather than having run-webkit-tests abort immediately.
1587 * Scripts/run-webkit-tests:
1589 2009-11-17 Eric Seidel <eric@webkit.org>
1591 Reviewed by Darin Adler.
1593 commit-queue is failing to set reviewer in ChangeLogs
1594 https://bugs.webkit.org/show_bug.cgi?id=31592
1596 * Scripts/bugzilla-tool: Clarify the "applying" log message.
1597 * Scripts/modules/bugzilla.py:
1598 - Add a new _validate_committer_and_reviewer function as a
1599 temporary solution until we can make a real Attachment object
1600 which knows how to fill in its committer/reviewer fields automatically.
1602 2009-11-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
1604 Unreviewed buildbot fix.
1606 Revert part of earlier patch and add comment, as it
1607 was causing timeouts on the buildbot.
1609 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1610 (LayoutTestController::notifyDone):
1612 2009-11-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
1614 Reviewed by Oliver Hunt.
1616 Make the timeout 15 sec as for the other DRT's and make
1617 it print out the same output when a test timeout.
1619 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1620 (LayoutTestController::waitUntilDone):
1621 (LayoutTestController::notifyDone):
1622 (LayoutTestController::timerEvent):
1624 2009-11-17 Joseph Pecoraro <joepeck@webkit.org>
1626 Reviewed by Timothy Hatcher.
1628 Fixed typos in comments.
1630 * Scripts/modules/committers.py:
1632 2009-11-17 Pavel Feldman <pfeldman@chromium.org>
1634 Reviewed by Timothy Hatcher.
1636 Web Inspector: Make DRT show web inspector for tests in inspector/ folder.
1637 - Updated DRT to show/close inspector for all tests under /inspector
1638 - Introduced LayoutTestController::setTimelineProfilingEnabled and
1639 WebInspector::setTimelineProfilingEnabled beside setJavaScriptProfilingEnabled
1640 - Removed reload on each inspector test
1641 - Renamed fast/inspector to fast/inspector-support in order not to trigger
1642 inspector for those.
1643 - Reimplemented timeline tests in order to get rid of reload there.
1644 - Moved tests that don't require harness into the fast group.
1646 https://bugs.webkit.org/show_bug.cgi?id=31472
1648 * DumpRenderTree/LayoutTestController.cpp:
1649 (setTimelineProfilingEnabledCallback):
1650 (closeWebInspectorCallback):
1651 (LayoutTestController::staticFunctions):
1652 * DumpRenderTree/LayoutTestController.h:
1653 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1654 (shouldOpenWebInspector):
1656 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1657 (LayoutTestController::setTimelineProfilingEnabled):
1658 * DumpRenderTree/mac/DumpRenderTree.mm:
1659 (shouldOpenWebInspector):
1661 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1662 (LayoutTestController::setTimelineProfilingEnabled):
1663 * DumpRenderTree/win/DumpRenderTree.cpp:
1664 (shouldOpenWebInspector):
1666 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1667 (LayoutTestController::setTimelineProfilingEnabled):
1669 2009-11-17 Oliver Hunt <oliver@apple.com>
1671 Reviewed by Maciej Stachowiak.
1673 Incorrect use of JavaScriptCore API in DumpRenderTree
1674 https://bugs.webkit.org/show_bug.cgi?id=31577
1676 Return undefined rather than a literal null.
1678 * DumpRenderTree/AccessibilityUIElement.cpp:
1679 (setSelectedTextRangeCallback):
1680 (incrementCallback):
1681 (decrementCallback):
1684 2009-11-16 Chris Fleizach <cfleizach@apple.com>
1686 Reviewed by Beth Dakin.
1688 AX: aria-labelledby duplicates some of its WAI-ARIA label
1689 https://bugs.webkit.org/show_bug.cgi?id=31565
1691 * DumpRenderTree/AccessibilityUIElement.cpp:
1692 (titleUIElementCallback):
1693 (getIsValidCallback):
1694 (AccessibilityUIElement::getJSClass):
1696 2009-11-16 Kenneth Rohde Christiansen <kenneth@webkit.org>
1698 Reviewed by Simon Hausmann.
1700 r50942 broke output from created windows. Make the
1701 m_enableTextOutput a member of the DRT and not the
1704 * DumpRenderTree/qt/DumpRenderTree.cpp:
1705 (WebCore::WebPage::WebPage):
1706 (WebCore::WebPage::javaScriptAlert):
1707 (WebCore::WebPage::javaScriptConsoleMessage):
1708 (WebCore::WebPage::javaScriptConfirm):
1709 (WebCore::WebPage::javaScriptPrompt):
1710 (WebCore::WebPage::acceptNavigationRequest):
1711 (WebCore::DumpRenderTree::DumpRenderTree):
1712 (WebCore::DumpRenderTree::open):
1713 (WebCore::DumpRenderTree::createWindow):
1714 * DumpRenderTree/qt/DumpRenderTree.h:
1715 (WebCore::DumpRenderTree::setTextOutputEnabled):
1716 (WebCore::DumpRenderTree::isTextOutputEnabled):
1717 (WebCore::WebPage::shouldInterruptJavaScript):
1718 (WebCore::WebPage::isTextOutputEnabled):
1719 (WebCore::WebPage::setViewGeometry):
1721 2009-11-16 Kenneth Rohde Christiansen <kenneth@webkit.org>
1723 Reviewed by Gustavo Noronha Silva.
1725 Moved DumpRenderTree/gtk/TestNetscapePlugin to DumpRenderTree/unix/TestNetscapePlugin
1726 as the implementation is being used by at least Qt and Gtk+.
1728 Update buildsystems as well.
1730 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
1731 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h:
1732 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h:
1733 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h:
1734 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
1737 2009-11-16 Yuzo Fujishima <yuzo@google.com>
1739 Reviewed by Alexey Proskuryakov.
1741 Disable wss until all platforms support pyOpenSSL
1743 https://bugs.webkit.org/show_bug.cgi?id=31479
1745 * Scripts/run-webkit-tests:
1747 2009-11-14 Antonio Gomes <tonikitoo@webkit.org>
1749 Reviewed by Kenneth Christiansen.
1751 [Qt] Implement load error pages support for Qt's DRT.
1752 https://bugs.webkit.org/show_bug.cgi?id=31509
1754 For now, it will not be a default feature, and layout tests
1755 that want to make use of this have to explicitily call
1756 'handleErrorPages();' for the test source.
1758 Any of the other DumpRenderTree's (mac, win and gtk)
1759 support handling error pages. Qt's will be the first.
1761 * DumpRenderTree/qt/DumpRenderTree.cpp:
1762 (WebCore::WebPage::supportsExtension):
1763 (WebCore::WebPage::extension):
1764 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1765 (LayoutTestController::reset):
1766 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1767 (LayoutTestController::shouldHandleErrorPages):
1768 (LayoutTestController::handleErrorPages):
1770 2009-11-16 Eric Seidel <eric@webkit.org>
1772 Reviewed by Adam Barth.
1774 Rename the --commit-queue flag on land-* now that the commit-queue needs no special treatment
1775 https://bugs.webkit.org/show_bug.cgi?id=31549
1777 Renamed --commit-queue to --non-interactive in most places
1778 and remove the code in land-patches which is no longer needed.
1780 * Scripts/bugzilla-tool:
1782 2009-11-16 Eric Seidel <eric@webkit.org>
1784 Reviewed by Adam Barth.
1786 The commit-queue should use land-attachment
1787 https://bugs.webkit.org/show_bug.cgi?id=31548
1789 * Scripts/bugzilla-tool:
1791 2009-11-16 Adam Barth <abarth@webkit.org>
1793 Reviewed by Eric Seidel.
1795 Convert CommitQueue over to PatchCollection
1796 https://bugs.webkit.org/show_bug.cgi?id=31547
1798 Also fixes a bug in workqueue and adds a test!
1800 * Scripts/bugzilla-tool:
1801 * Scripts/modules/workqueue.py:
1802 * Scripts/modules/workqueue_unittest.py:
1804 2009-11-16 Adam Barth <abarth@webkit.org>
1806 Reviewed by Eric Seidel.
1808 Move StyleQueue over to using PatchCollection
1809 https://bugs.webkit.org/show_bug.cgi?id=31544
1811 That's what the class it's for.
1813 * Scripts/bugzilla-tool:
1814 * Scripts/modules/patchcollection.py:
1815 * Scripts/modules/patchcollection_unittest.py:
1817 2009-11-16 Eric Seidel <eric@webkit.org>
1819 Reviewed by Adam Barth.
1821 bugzilla-tool needs a land-attachment command
1822 https://bugs.webkit.org/show_bug.cgi?id=31546
1824 * Scripts/bugzilla-tool:
1825 - Move all the logic into AbstractLandingCommand and
1826 add a new LandAttachment command subclass.
1827 - Split out _collect_patches_by_bug logging from _fetch_list_of_patches_to_land.
1829 2009-11-16 Eric Seidel <eric@webkit.org>
1831 Reviewed by Adam Barth.
1833 Move more patch-landing code into WebKitLandingScripts in preparation for land-attachment
1834 https://bugs.webkit.org/show_bug.cgi?id=31543
1836 Just moving code and updating the one caller to use WebKitLandingScripts instead of 'self'.
1838 * Scripts/bugzilla-tool:
1840 2009-11-16 Eric Seidel <eric@webkit.org>
1842 Reviewed by Adam Barth.
1844 Disable the style queue from posting to the commit queue status page.
1846 * Scripts/bugzilla-tool:
1848 2009-11-16 Adam Barth <abarth@webkit.org>
1850 Reviewed by Eric Seidel.
1852 Implement PatchCollection
1853 https://bugs.webkit.org/show_bug.cgi?id=31541
1855 This class holds a set of patches and lets clients iterate through
1856 them. Optionally, clients can install a filter.
1858 * Scripts/modules/patchcollection.py: Added.
1859 * Scripts/modules/patchcollection_unittest.py: Added.
1860 * Scripts/run-webkit-unittests:
1862 2009-11-16 Eric Seidel <eric@webkit.org>
1864 Reviewed by Adam Barth.
1866 bugzilla-tool land-patches will close bugs with patches r=?
1867 https://bugs.webkit.org/show_bug.cgi?id=28230
1869 The commit-queue shouldn't close patches with outstanding reviews on them,
1870 even if many reviewers seem to be against multi-patch bugs.
1872 * Scripts/bugzilla-tool:
1874 2009-11-16 Eric Seidel <eric@webkit.org>
1876 Reviewed by Adam Barth.
1878 bugzilla-tool check-style should work with attachment ids instead of bug ids
1879 https://bugs.webkit.org/show_bug.cgi?id=31540
1881 * Scripts/bugzilla-tool:
1883 2009-11-16 Eric Seidel <eric@webkit.org>
1885 Reviewed by Adam Barth.
1887 WorkQueue is the only place that should know about special exit codes
1888 https://bugs.webkit.org/show_bug.cgi?id=31534
1890 Move LandPatchesFromBugs.handled_error to WorkQueue.exit_after_handled_error
1891 and add tests for handling exit codes.
1892 I also cleaned up workqueue_unittest.py more.
1894 * Scripts/bugzilla-tool:
1895 * Scripts/modules/workqueue.py:
1896 * Scripts/modules/workqueue_unittest.py:
1898 2009-11-16 Eric Seidel <eric@webkit.org>
1900 Reviewed by Adam Barth.
1902 Re-factor workqueue_unittest to allow for more than one test.
1903 https://bugs.webkit.org/show_bug.cgi?id=31535
1905 * Scripts/modules/workqueue_unittest.py:
1907 2009-11-16 Eric Seidel <eric@webkit.org>
1909 Reviewed by Adam Barth.
1911 land-patches needs to be re-factored into smaller chunks
1912 https://bugs.webkit.org/show_bug.cgi?id=31532
1914 * Scripts/bugzilla-tool: fix a couple obvious typos.
1916 2009-11-16 Eric Seidel <eric@webkit.org>
1918 Reviewed by Adam Barth.
1920 land-patches needs to be re-factored into smaller chunks
1921 https://bugs.webkit.org/show_bug.cgi?id=31532
1923 The next patch will move these methods into WebKitLandingScripts.
1925 * Scripts/bugzilla-tool:
1926 - Split out _land_patch and _close_bug_if_no_active_patches.
1928 2009-11-16 Adam Barth <abarth@webkit.org>
1930 Reviewed by Eric Seidel.
1932 Fix silly copy-and-paste code. I am a terrible coder.
1934 * Scripts/modules/bugzilla.py:
1936 2009-11-16 Adam Barth <abarth@webkit.org>
1938 Reviewed by Eric Seidel.
1940 Implement a StyleQueue
1941 https://bugs.webkit.org/show_bug.cgi?id=31537
1943 The first iteration of the style queue only produces output locally.
1944 There is also a limit of 10 patches because it's not that useful to
1945 iterate through the entire review queue at this point. We can remove
1948 * Scripts/bugzilla-tool:
1949 * Scripts/modules/bugzilla.py:
1951 2009-11-16 Adam Barth <abarth@webkit.org>
1953 Reviewed by Eric Seidel.
1956 https://bugs.webkit.org/show_bug.cgi?id=31531
1958 Adds basic unit testing for WorkQueue. Just runs through one cycle.
1960 * Scripts/bugzilla-tool:
1961 * Scripts/modules/statusbot.py:
1962 * Scripts/modules/workqueue.py:
1963 * Scripts/modules/workqueue_unittest.py: Added.
1964 * Scripts/run-webkit-unittests:
1966 2009-11-16 Eric Seidel <eric@webkit.org>
1968 Reviewed by Adam Barth.
1970 bugzilla-tool land-diff should know how to parse bug ids out of ChangeLogs
1971 https://bugs.webkit.org/show_bug.cgi?id=31530
1973 * Scripts/bugzilla-tool:
1975 2009-11-16 Eric Seidel <eric@webkit.org>
1977 Reviewed by Adam Barth.
1979 bugzilla-tool needs apply-attachment
1980 https://bugs.webkit.org/show_bug.cgi?id=31528
1982 * Scripts/bugzilla-tool:
1983 - Add ApplyAttachment command.
1984 - Abstract applying code into WebKitApplyingScripts.
1985 - Rename setup_for_landing to prepare_clean_working_directory and make local_commit checking optional.
1986 * Scripts/modules/bugzilla.py:
1987 - Add fetch_attachment and bug_id_for_attachment_id.
1988 * Scripts/modules/bugzilla_unittest.py:
1989 - Add test for new parsing.
1990 - Fix previous parsing test which broke with Adam's check-style patch (bug 31515).
1992 2009-11-16 Eric Seidel <eric@webkit.org>
1994 Reviewed by Adam Barth.
1996 Document check-style's use of force_clean.
1998 * Scripts/bugzilla-tool:
1999 * Scripts/modules/scm.py:
2001 2009-11-16 Adam Barth <abarth@webkit.org>
2003 Reviewed by Eric Seidel.
2005 Move WorkQueue to its own file
2006 https://bugs.webkit.org/show_bug.cgi?id=31529
2008 WorkQueue and WorkQueueDelegate are separate concerns from
2009 bugzilla-tool. Also added a missing include to logging.py.
2011 * Scripts/bugzilla-tool:
2012 * Scripts/modules/logging.py:
2013 * Scripts/modules/workqueue.py:
2015 2009-11-16 Adam Barth <abarth@webkit.org>
2017 Reviewed by Eric Seidel.
2019 Move OutputTee to logging.py.
2021 * Scripts/bugzilla-tool:
2022 * Scripts/modules/logging.py:
2024 2009-11-15 Adam Barth <abarth@webkit.org>
2026 Reviewed by Eric Seidel.
2028 Refactor bugzilla-tool to allow for multiple queues
2029 https://bugs.webkit.org/show_bug.cgi?id=31513
2031 Divide the commit queue class into three class to make creating
2032 additional queues easier.
2034 * Scripts/bugzilla-tool:
2036 2009-11-15 Shinichiro Hamaji <hamaji@chromium.org>
2038 Reviewed by Eric Seidel.
2040 svn-apply may not handle git patches created by bugzilla-tool
2041 https://bugs.webkit.org/show_bug.cgi?id=31457
2043 * Scripts/modules/scm.py:
2044 * Scripts/modules/scm_unittest.py:
2046 2009-11-15 Shinichiro Hamaji <hamaji@chromium.org>
2048 Reviewed by Eric Seidel.
2050 bugzilla-tool should post git binary diff
2051 https://bugs.webkit.org/show_bug.cgi?id=31458
2053 Add --binary option to Git.create_patch.
2055 * Scripts/modules/scm.py:
2056 * Scripts/modules/scm_unittest.py:
2058 2009-11-15 Adam Barth <abarth@webkit.org>
2060 Reviewed by Darin Adler.
2062 Add bugzilla-tool check-style
2063 https://bugs.webkit.org/show_bug.cgi?id=31515
2065 * Scripts/bugzilla-tool:
2066 * Scripts/modules/bugzilla.py:
2068 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
2070 Reviewed by Simon Hausmann.
2072 Make the Qt Linux only --valgrind feature, suppress errors
2073 defined in the SuppressedValgrindErrors file.
2075 * Scripts/run-webkit-tests:
2077 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
2079 Reviewed by Simon Hausmann.
2081 Set the locale to C and not to the current one in use on the system.
2083 * DumpRenderTree/qt/DumpRenderTree.cpp:
2084 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
2086 2009-11-13 Adam Roben <aroben@apple.com>
2089 http/tests/security/isolatedWorld/didClearWindowObject.html
2091 Fixes <http://webkit.org/b/31124> Tell the WebFrameLoadDelegate when
2092 window objects in isolated worlds are cleared
2094 Reviewed by Dave Hyatt.
2096 * DumpRenderTree/mac/DumpRenderTreeMac.h: Declared worldIDForWorld.
2098 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2099 (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]):
2100 Added. Moved code here from -webView:didClearWindowObject:forFrame:.
2101 (-[FrameLoadDelegate didClearWindowObjectForFrame:inIsolatedWorld:]):
2102 Added. Sets a __worldID property on the global object whose value is
2103 the ID of this world.
2104 (-[FrameLoadDelegate webView:didClearWindowObjectForFrame:inScriptWorld:]):
2105 Respond to this new delegate callback by calling through to one of the
2107 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2108 (worldMap): Added. Returns a HashMap containing all the worlds we've
2110 (worldIDForWorld): Added. Returns the ID for this world, or 0 if we
2111 haven't kept track of this world.
2112 (LayoutTestController::evaluateScriptInIsolatedWorld): Use worldMap()
2113 instead of declaring our own.
2115 * DumpRenderTree/win/DumpRenderTreeWin.h: Declared worldIDForWorld.
2117 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2118 (FrameLoadDelegate::didClearWindowObject): Moved code from hear to
2119 didClearWindowObjectForFrameInStandardWorld.
2120 (FrameLoadDelegate::didClearWindowObjectForFrameInScriptWorld):
2121 Respond to this new delegate callback by calling through to one of the
2123 (FrameLoadDelegate::didClearWindowObjectForFrameInIsolatedWorld):
2124 Added. Sets a __worldID property on the gobal object whose value is
2125 the ID of this world.
2126 (FrameLoadDelegate::didClearWindowObjectForFrameInStandardWorld):
2127 Added. Moved code here from didClearWindowObject.
2129 * DumpRenderTree/win/FrameLoadDelegate.h: Added the
2130 didClearWindowObjectForFrame* functions.
2132 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2133 (worldMap): Added. Returns a HashMap containing all the worlds we've
2135 (worldIDForWorld): Added. Returns the ID of this world, or 0 if we
2136 haven't kept track of this world.
2137 (LayoutTestController::evaluateScriptInIsolatedWorld): Use worldMap()
2138 instead of declaring our own.
2140 2009-11-13 Adam Roben <aroben@apple.com>
2142 Finish replacing worldIDs with world objects
2144 The only remaining use of worldIDs was in a method only used by DRT
2145 for the isolated worlds tests.
2147 Fixes <http://webkit.org/b/31414> Replace worldIDs with world objects
2149 Reviewed by Mark Rowe.
2151 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2152 (LayoutTestController::evaluateScriptInIsolatedWorld):
2153 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2154 (LayoutTestController::evaluateScriptInIsolatedWorld):
2155 Updated for changes to WebFrame. Now holds the map of worldID -> world
2156 at this level instead of making WebKit do it.
2158 2009-11-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2160 Reviewed by Simon Hausmann.
2162 [Qt] Ensure the DRT does not output anything until first test is run
2164 * DumpRenderTree/qt/DumpRenderTree.cpp:
2165 * DumpRenderTree/qt/DumpRenderTree.h:
2167 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
2169 Reviewed by Tor Arne Vestbø.
2171 Clear the undo stack in before each new test run.
2173 Locally fixes 3 incorrect layouts, 9 timeouts and 7 crashes.
2175 * DumpRenderTree/qt/DumpRenderTree.cpp:
2176 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
2178 2009-11-13 Andras Becsi <becsi.andras@stud.u-szeged.hu>
2180 Reviewed by Kenneth Rohde Christiansen.
2182 [Qt] Add WebKitUsesPageCachePreferenceKey overriding support to DRT's LayoutTestController.
2184 * DumpRenderTree/qt/DumpRenderTree.cpp:
2185 (WebCore::WebPage::resetSettings):
2186 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2187 (LayoutTestController::overridePreference):
2189 2009-11-13 Eric Seidel <eric@webkit.org>
2191 Reviewed by Adam Barth.
2193 Update committers.py based on svn records
2194 https://bugs.webkit.org/show_bug.cgi?id=31366
2196 This list was generated using validate-committer-lists from
2197 https://bugs.webkit.org/show_bug.cgi?id=30970
2198 and makes committers.py current for committers who have
2199 committed in the last 3 years.
2201 * Scripts/modules/committers.py:
2203 2009-11-12 Anantanarayanan G Iyengar <ananta@chromium.org>
2205 Reviewed by Adam Barth.
2207 The document-open.html test was flaky at times. The test invokes the layout test plugin
2208 which in its destroy stream handler opens a new document. This basically tears down the
2209 stream and the associated plugin instance. The pluginLog function in the layout test
2210 plugin attempts to retrieve the window script object on a torn down plugin instance
2211 which crashed consistently on windows in the debugger. The functions which issue
2212 these logs already have a valid window script object. We now have variants of the pluginLog
2213 function which take in a window script object with and without variable arguments.
2215 https://bugs.webkit.org/show_bug.cgi?id=31067
2217 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2218 (pluginLogWithWindowObject):
2219 (pluginLogWithWindowObjectVariableArgs):
2221 (notifyTestCompletion):
2225 2009-11-12 Joanmarie Diggs <joanmarie.diggs@gmail.com>
2227 Reviewed by Gustavo Noronha Silva.
2229 https://bugs.webkit.org/show_bug.cgi?id=30997
2230 [Gtk] Implemment AtkDocument
2232 Added testing support.
2234 * DumpRenderTree/AccessibilityUIElement.cpp:
2235 * DumpRenderTree/AccessibilityUIElement.h:
2236 (getDocumentEncodingCallback):
2237 (getDocumentURICallback):
2238 (AccessibilityUIElement::getJSClass):
2239 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2240 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2241 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2242 (AccessibilityUIElement::documentEncoding):
2243 (AccessibilityUIElement::documentURI):
2245 2009-11-12 Adam Roben <aroben@apple.com>
2247 Replace worldIDs with world objects
2249 Part of <http://webkit.org/b/31414> Implement new SPI for dealing with
2250 user scripts/stylesheets and isolated worlds
2252 Reviewed by Sam Weinig.
2254 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2255 (LayoutTestController::addUserScript):
2256 (LayoutTestController::addUserStyleSheet):
2257 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2258 (LayoutTestController::addUserScript):
2259 (LayoutTestController::addUserStyleSheet):
2260 Changed these functions to create a new WebJSWorld each time they're
2261 called and to pass that world to WebKit.
2263 2009-11-11 Chris Fleizach <cfleizach@apple.com>
2265 Reviewed by Oliver Hunt.
2267 need to implement aria tree roles
2268 https://bugs.webkit.org/show_bug.cgi?id=31284
2270 * DumpRenderTree/AccessibilityUIElement.cpp:
2271 (disclosedRowAtIndexCallback):
2272 (selectedRowAtIndexCallback):
2274 (isAttributeSettableCallback):
2275 (isActionSupportedCallback):
2276 (disclosedByRowCallback):
2277 (hierarchicalLevelCallback):
2278 (AccessibilityUIElement::getJSClass):
2279 * DumpRenderTree/AccessibilityUIElement.h:
2280 (AccessibilityUIElement::isEqual):
2281 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2282 (AccessibilityUIElement::hierarchicalLevel):
2283 (AccessibilityUIElement::disclosedRowAtIndex):
2284 (AccessibilityUIElement::selectedRowAtIndex):
2285 (AccessibilityUIElement::disclosedByRow):
2286 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2287 (AccessibilityUIElement::getChildAtIndex):
2288 (AccessibilityUIElement::disclosedRowAtIndex):
2289 (AccessibilityUIElement::selectedRowAtIndex):
2290 (AccessibilityUIElement::titleUIElement):
2291 (AccessibilityUIElement::parentElement):
2292 (AccessibilityUIElement::disclosedByRow):
2293 (AccessibilityUIElement::hierarchicalLevel):
2294 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2295 (AccessibilityUIElement::hierarchicalLevel):
2296 (AccessibilityUIElement::disclosedRowAtIndex):
2297 (AccessibilityUIElement::selectedRowAtIndex):
2298 (AccessibilityUIElement::disclosedByRow):
2300 2009-11-11 Shinichiro Hamaji <hamaji@chromium.org>
2302 Reviewed by Darin Adler.
2304 svn-apply can not handle git binary diffs
2305 https://bugs.webkit.org/show_bug.cgi?id=26830
2307 Support "literal" type git binary diffs.
2309 * Scripts/VCSUtils.pm:
2310 * Scripts/modules/scm_unittest.py:
2311 * Scripts/svn-apply:
2313 2009-11-11 Dmitry Titov <dimich@chromium.org>
2315 Not reviewed, removing duplicate entry for myself in committers.py.
2317 * Scripts/modules/committers.py:
2319 2009-11-11 Alexey Proskuryakov <ap@apple.com>
2321 Reviewed by Darin Adler and Mark Rowe.
2323 https://bugs.webkit.org/show_bug.cgi?id=31200
2324 Tests in http/tests/security/mixedContent start to fail when new tests are added
2326 * DumpRenderTree/mac/DumpRenderTree.mm: (dumpRenderTree): Added a workaround for Tiger bug.
2328 2009-11-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2330 Reviewed by Jan Alonzo.
2332 Create, and display a window for the inspector, for inspector
2335 Need to also show/hide the inspector window to avoid having
2336 problems with code assuming it is realized
2337 https://bugs.webkit.org/show_bug.cgi?id=31347
2339 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2340 (webInspectorShowWindow):
2341 (webInspectorCloseWindow):
2342 (webInspectorInspectWebView):
2345 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2347 Unreviewed Qt buildbot fix.
2349 My previous fix was wrong, so revert that change and fix it by
2350 returning when the document of the frame has no document element.
2351 Idea is borrowed from mac and win DRT.
2353 * DumpRenderTree/qt/DumpRenderTree.cpp:
2354 (WebCore::DumpRenderTree::dumpFramesAsText):
2356 2009-11-11 Eric Seidel <eric@webkit.org>
2358 Reviewed byg Kenneth Rohde Christiansen.
2360 Update Kenneth's committer record to include the email he
2361 uses on lists.webkit.org.
2363 * Scripts/modules/committers.py:
2365 2009-11-11 Eric Seidel <eric@webkit.org>
2367 Reviewed by Gustavo Noronha Silva.
2369 Several committers use separate email addresses for bugzilla and svn.webkit.org
2370 https://bugs.webkit.org/show_bug.cgi?id=31364
2372 Update records for existing committers to include email addresses
2373 used in svn.webkit.org and lists.webkit.org.
2374 Most committers use the same email address in all 3 places, but some use
2375 separate addresses. committers.py needs record of each of these addresses.
2377 * Scripts/modules/committers.py:
2379 2009-11-11 Eric Seidel <eric@webkit.org>
2381 No review, adding second email address for an existing committer.
2383 Add Yong Li's second bugzilla account to his committer record.
2384 See: https://bugs.webkit.org/show_bug.cgi?id=27371#c27
2386 * Scripts/modules/committers.py:
2388 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2390 Reviewed by Simon Hausmann.
2392 If the frame has no innerText don't append it, and
2393 do not add a newline which breaks some cross platform
2396 * DumpRenderTree/qt/DumpRenderTree.cpp:
2397 (WebCore::DumpRenderTree::dumpFramesAsText):
2399 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2401 Reviewed by Simon Hausmann.
2403 Implement missing functionality in the Gtk/Qt TestNetscapePlugin.
2405 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
2406 (webkit_test_plugin_new_instance):
2407 (webkit_test_plugin_destroy_instance):
2408 (webkit_test_plugin_destroy_stream):
2410 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2412 Reviewed by Mark Rowe.
2414 Implement the functionality needed by plugins/window-open.html
2416 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
2417 (webkit_test_plugin_new_instance):
2418 (webkit_test_plugin_set_window):
2420 2009-11-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2422 Reviewed by Simon Hausmann.
2424 [Qt] Force -graphicssystem raster and -style windows when running DRT
2426 * DumpRenderTree/qt/main.cpp:
2427 * Scripts/run-webkit-tests:
2429 2009-11-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2431 Reviewed by Simon Hausmann.
2433 Compute correct library paths for Qt
2435 * Scripts/webkitdirs.pm:
2437 2009-11-10 Mark Rowe <mrowe@apple.com>
2439 Reviewed by Sam Weinig.
2441 <http://webkit.org/b/31200> Tests in http/tests/security/mixedContent start to fail when new tests are added
2443 The first request to an HTTPS URL results in didFailProvisionalLoadWithError being called with an error
2444 about the validity of the self-signed certificates used in the regression tests. We would then add the
2445 host to the ignore list for SSL certificate errors and retry the request. If this happened during a test
2446 that had enabled frame load delegate logging this would result in extra log messages being generated,
2447 causing the test to fail.
2449 We address this by explicitly ignoring SSL certificate errors for localhost and 127.0.0.1 before running any
2452 * DumpRenderTree/mac/DumpRenderTree.mm:
2454 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2455 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2457 2009-11-10 Andras Becsi <becsi.andras@stud.u-szeged.hu>
2459 Reviewed by Kenneth Rohde Christiansen.
2461 [Qt] Remove obsolete scrollbar policy settings from DRT constructor.
2463 * DumpRenderTree/qt/DumpRenderTree.cpp:
2464 (WebCore::DumpRenderTree::DumpRenderTree):
2466 2009-11-10 Philippe Normand <pnormand@igalia.com>
2468 Reviewed by Jan Alonzo.
2470 [GTK] Remove WebSocket configuration from WebKitWebSettings
2471 https://bugs.webkit.org/show_bug.cgi?id=31244
2473 Follow-up of r50724. Don't set the enable-web-socket property
2476 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2477 (resetDefaultsToConsistentValues):
2479 2009-11-10 Oliver Hunt <oliver@apple.com>
2481 Reviewed by Maciej Stachowiak.
2483 Rename 3D Canvas related classes to use WebGL prefix
2484 https://bugs.webkit.org/show_bug.cgi?id=29095
2486 Checkin new version of do-webcore-rename used to do the WebGL type rename,
2487 and upate webkitdirs script to new method of testing for WebGL.
2489 * Scripts/do-webcore-rename:
2490 * Scripts/webkitdirs.pm:
2492 2009-11-09 Oliver Hunt <oliver@apple.com>
2494 Reviewed by Geoff Garen.
2496 Make do-webcore-rename work with git.
2498 * Scripts/do-webcore-rename:
2500 2009-11-09 Simon Hausmann <simon.hausmann@nokia.com>
2502 Adding Kenneth to the reviewers list.
2504 * Scripts/modules/committers.py:
2506 2009-11-09 Martin Robinson <martin.james.robinson@gmail.com>
2508 Reviewed by Jan Alonzo.
2510 [GTK] Expose Page::tabKeyCyclesThroughElements in the API
2511 https://bugs.webkit.org/show_bug.cgi?id=30482
2513 LayoutTestControllerGtk now uses the exposed
2514 Page::tabKeyCyclesThroughElements API
2516 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2517 (LayoutTestController::setTabKeyCyclesThroughElements):
2519 2009-11-08 Shu Chang <Chang.Shu@nokia.com>
2521 Reviewed by Holger Freyther.
2523 [Qt] Added support for key code 8 (backspace) in EventSenderQt.
2524 This helps to pass the test case below. Also replaced hardcoded
2525 code numbers with defined constants.
2526 https://bugs.webkit.org/show_bug.cgi?id=31185
2528 Test: editing/undo/undo-deleteWord.html
2530 * DumpRenderTree/qt/EventSenderQt.cpp:
2531 (EventSender::keyDown):
2533 2009-11-07 Antonio Gomes <tonikitoo@webkit.org>
2535 Reviewed by Holger Freyther.
2537 [Qt] [DRT] Fix wrong logic in LayoutTestController processWork
2538 https://bugs.webkit.org/show_bug.cgi?id=31164
2540 Fixed wrong logic to assume WorkQueue is done in QT's DRT.
2542 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2543 (LayoutTestController::processWork):
2545 2009-11-05 Antonio Gomes <tonikitoo@webkit.org>
2547 Reviewed by Holger Freyther.
2549 [Qt][DRT] Replace queueScript by queueNonLoadingScript and queueLoadingScript method
2550 https://bugs.webkit.org/show_bug.cgi?id=31158
2552 By invoking a script queue'd by queueScript(), 'true' was beeing returned
2553 always, which from WorkQueue prospective means that a load has been started
2554 and the queue processing should stop and wait for the load to finish.
2555 Spinning it off into a loading and a non-loading variants was the solution
2556 adopted by Mac's DRT to work around this problem. The former keeps returning
2557 'true' while the later executes the script synchronously and returns 'false'
2558 making it possible to the WorkQueue to proceed right away.
2560 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2561 (LayoutTestController::processWork):
2562 (LayoutTestController::queueLoadingScript):
2563 (LayoutTestController::queueNonLoadingScript):
2564 * DumpRenderTree/qt/LayoutTestControllerQt.h:
2565 * DumpRenderTree/qt/WorkQueueItem.h:
2566 (LoadingScriptItem::LoadingScriptItem):
2567 (LoadingScriptItem::invoke):
2568 (NonLoadingScriptItem::NonLoadingScriptItem):
2569 (NonLoadingScriptItem::invoke):
2571 2009-11-07 Mark Rowe <mrowe@apple.com>
2573 Rubber-stamped by Cameron Zwarich.
2575 Invoke prepare-ChangeLog via an absolute path rather than assuming it can be found in PATH.
2577 * Scripts/commit-log-editor:
2579 2009-11-07 Mark Rowe <mrowe@apple.com>
2581 Reviewed by Darin Adler.
2583 Fix <https://bugs.webkit.org/show_bug.cgi?id=28168>.
2584 commit-log-editor does not support all the email address configurations that prepare-Changelog supports
2586 Move logic for determining the name and email address to use in a ChangeLog entry from
2587 prepare-ChangeLog to VCSUtils so that commit-log-editor can use it. It wants to check
2588 whether the author of the patch matches committer, and therefore needs access to the
2589 email address that would be used in a ChangeLog entry.
2591 Based on a patch by Pierre d'Herbemont.
2593 * Scripts/VCSUtils.pm:
2594 * Scripts/commit-log-editor:
2595 * Scripts/prepare-ChangeLog:
2596 * Scripts/webkitdirs.pm:
2598 2009-11-06 Anantanarayanan G Iyengar <ananta@chromium.org>
2600 Reviewed by Adam Barth.
2602 Added functionality to the layout test plugin to invoke document.open and
2603 window.open with default arguments. The associated webkit bug is
2604 https://bugs.webkit.org/show_bug.cgi?id=31067, which affects Chromium. Basically
2605 window.open and document.open calls issued by NPAPI plugins via NPN_Invoke don't
2606 work in Chromium (V8) if there is no calling javascript context. To achieve this
2607 effect we invoke these functions in the layout test plugin in the NPP_SetWindow
2608 for the window.open test case and in NPP_DestroyStream for the document.open test case.
2610 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2614 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2615 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2618 (NPP_DestroyStream):
2619 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
2623 (NPP_DestroyStream):
2625 2009-11-06 Eric Seidel <eric@webkit.org>
2627 Reviewed by Adam Barth.
2629 bugzilla-tool crashed with exception
2630 https://bugs.webkit.org/show_bug.cgi?id=31092
2632 * Scripts/modules/bugzilla.py: Change a ',' to a '%' to fix the error.
2634 2009-11-04 Eric Seidel <eric@webkit.org>
2636 No review, just add a line which got left out of the patch uploaded for commit.
2638 commit-queue is crashing when trying to reject patches after unknown failures
2639 https://bugs.webkit.org/show_bug.cgi?id=31091
2641 * Scripts/bugzilla-tool: Set bug_log = None after closing to we don't re-close and crash.
2643 2009-11-04 Adam Roben <aroben@apple.com>
2645 Remove bogus else clause in bugzilla-tool
2647 Fixes <http://webkit.org/b/31125> REGRESSION (r47121): bugzilla-tool
2648 create-bug raises exception after entering bug description
2650 Reviewed by David Kilzer.
2652 * Scripts/bugzilla-tool:
2653 (CreateBug): else clauses are only hit if no exception is raised, so
2654 it makes no sense to try to re-raise the exception in an else clause.
2655 The exception will automatically be re-raised if it doesn't match any
2656 of the except clauses, so we don't have to do anything special here at
2657 all to get the desired behavior.
2659 2009-11-04 Eric Seidel <eric@webkit.org>
2661 Reviewed by David Kilzer.
2663 svn-apply's fixChangeLogPatch function seems broken
2664 https://bugs.webkit.org/show_bug.cgi?id=30683
2666 Update fixChangeLogPatch to be able to handle patches which
2667 don't start at line 1.
2668 Add unit tests for svn-apply to scm_unittest.py.
2670 * Scripts/VCSUtils.pm:
2671 * Scripts/modules/scm_unittest.py:
2673 2009-11-04 Chris Fleizach <cfleizach@apple.com>
2675 Reviewed by Beth Dakin.
2677 Need to implement ARIA role="combobox"
2678 https://bugs.webkit.org/show_bug.cgi?id=31096
2680 * DumpRenderTree/AccessibilityUIElement.cpp:
2682 (getIsExpandedCallback):
2683 (AccessibilityUIElement::getJSClass):
2684 * DumpRenderTree/AccessibilityUIElement.h:
2685 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2686 (AccessibilityUIElement::isExpanded):
2687 (AccessibilityUIElement::showMenu):
2688 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2689 (AccessibilityUIElement::isExpanded):
2690 (AccessibilityUIElement::showMenu):
2691 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2692 (AccessibilityUIElement::isSelected):
2693 (AccessibilityUIElement::isExpanded):
2694 (AccessibilityUIElement::showMenu):
2696 2009-11-04 Eric Seidel <eric@webkit.org>
2698 Reviewed by Adam Barth.
2700 commit-queue is crashing when trying to reject patches after unknown failures
2701 https://bugs.webkit.org/show_bug.cgi?id=31091
2703 * Scripts/bugzilla-tool:
2704 - patch['id'] was a copy/paste mistake. This code has no 'patch' variable
2705 so we have to find out what the current patch is by asking bugzilla again.
2706 - Discovered that this code was also leaking file descriptors, so fixed that.
2708 2009-11-04 Adam Roben <aroben@apple.com>
2710 Make run-webkit-tests work for the Debug_Internal Windows
2713 In Debug_Internal, DumpRenderTree.exe and ImageDiff.exe have no _debug
2716 Fixes <http://webkit.org/b/31123>.
2718 Reviewed by Sam Weinig.
2720 * Scripts/run-webkit-tests: Don't add the _debug suffix in
2721 Debug_Internal, either.
2723 2009-11-04 Eric Seidel <eric@webkit.org>
2725 Reviewed by Adam Barth.
2727 committers.py needs a way to store non-bugzilla email addresses
2728 https://bugs.webkit.org/show_bug.cgi?id=31037
2730 Make Committer and Reviewer constructors take a single email or a list of emails.
2731 Change committer_by_bugzilla_email functions to committer_by_email to support lookup by any email.
2732 Expose reviewers(), used by validate-committer-lists on bug 30970.
2734 * Scripts/modules/committers.py:
2735 * Scripts/modules/committers_unittest.py: Added tests for the new code.
2737 2009-11-03 Yuzo Fujishima <yuzo@google.com>
2739 Reviewed by David Levin.
2741 Start/Stop Web Socket and Web Socket Secure servers for layout tests.
2742 https://bugs.webkit.org/show_bug.cgi?id=27491
2744 The test path determination logic is changed to handle websocket and websocket/ssl cases.
2745 The logic for non-http (and now also non-websocket) tests is moved toward the end of the if-elsif statement.
2747 Functions to start or stop Web Socket servers are added.
2749 * Scripts/run-webkit-tests:
2751 2009-11-03 Eric Seidel <eric@webkit.org>
2753 No review, just changing wording of log message.
2755 Change log string to say "failed" instead of "rejected"
2756 when a commit fails due to an out of date checkout.
2757 This makes grepping the commit-queue log for rejected patches easier.
2759 * Scripts/bugzilla-tool:
2761 2009-11-03 Eric Seidel <eric@webkit.org>
2763 No review, adding commonly known committers missing from the file.
2765 * Scripts/modules/committers.py: Add committers found by looking at SVN records.
2767 2009-11-03 Eric Seidel <eric@webkit.org>
2769 No review, just sort-order cleanup.
2771 * Scripts/modules/committers.py: Sort committers/reviewers alphabetically.
2773 2009-11-03 Stephen White <senorblanco@chromium.org>
2777 Add myself to committers.py.
2779 * Scripts/modules/committers.py:
2781 2009-11-03 Robin Dunn <robin@alldunn.com>
2783 Reviewed by Kevin Ollviier.
2785 Add packaging scripts for Debian-based Linux distros.
2787 https://bugs.webkit.org/show_bug.cgi?id=31075
2789 * wx/packaging/build-debian-installer.py: Added.
2790 * wx/packaging/debian: Added.
2792 2009-11-03 Dan Bernstein <mitz@apple.com>
2794 Reviewed by Anders Carlsson and Beth Dakin.
2796 https://bugs.webkit.org/show_bug.cgi?id=31070
2798 Added an 'ondestroy' parameter to the test plug-in. When the plug-in is
2799 destroyed, it executes the value of the 'ondestroy' parameter as a
2802 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2803 (pluginAllocate): Initialize onDestroy.
2804 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Define
2806 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2807 (NPP_New): Set onDestroy to the value of the 'ondestroy' parameter, if
2809 (NPP_Destroy): Execute the value of 'ondestroy' as a script.
2811 2009-11-02 Joanmarie Diggs <joanmarie.diggs@gmail.com>
2813 Reviewed by Xan Lopez.
2815 https://bugs.webkit.org/show_bug.cgi?id=31035
2816 [GTK] some accessibility tests hitting assertion in debug builds
2818 Get the correct Gtk+ object before attempting to turn it into an AtkObject.
2820 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
2821 (AccessibilityController::rootElement):
2823 2009-11-02 Chris Fleizach <cfleizach@apple.com>
2825 Reviewed by Beth Dakin.
2827 Support ARIA "tab" roles
2828 https://bugs.webkit.org/show_bug.cgi?id=30842
2830 * DumpRenderTree/AccessibilityUIElement.cpp:
2831 * DumpRenderTree/AccessibilityUIElement.h:
2832 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2833 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2834 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2836 2009-11-01 Eric Seidel <eric@webkit.org>
2838 Reviewed by David Levin.
2840 buildbots should use --exit-after-N-failures
2841 https://bugs.webkit.org/show_bug.cgi?id=30809
2843 Make the bots exit after 20 failures to prevent never-ending
2844 test runs where every test spends a minute crashing.
2846 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2848 2009-11-01 Laszlo Gombos <laszlo.1.gombos@nokia.com>
2850 Reviewed by Eric Seidel.
2852 Turn on warnings for QtWebKit for gcc
2853 https://bugs.webkit.org/show_bug.cgi?id=30958
2855 * DumpRenderTree/qt/main.cpp:
2856 (crashHandler): Mark function NO_RETURN
2858 2009-11-01 Jessie Berlin <jberlin@webkit.org>
2860 Adding myself to the committers list.
2862 * Scripts/modules/committers.py:
2864 2009-10-30 Jon Honeycutt <jhoneycutt@apple.com>
2866 Fix an issue that Adam noticed in DRT.
2868 Reviewed by Darin Adler.
2870 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2871 (AccessibilityUIElement::role):
2872 Get the length of the role text, and create a buffer dynamically.
2874 2009-10-30 Eric Seidel <eric@webkit.org>
2876 No review, rolling out r50105.
2877 http://trac.webkit.org/changeset/50105
2879 This commit was causing:
2880 https://bugs.webkit.org/show_bug.cgi?id=30869
2881 We'll re-implement the feature a different way.
2883 * Scripts/bugzilla-tool:
2885 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com>
2887 Test for MSAA: Accessibility of headings is not correct
2889 https://bugs.webkit.org/show_bug.cgi?id=30937
2891 Reviewed by Adam Roben.
2893 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2894 (AccessibilityUIElement::role):
2895 Allow the role returned to be a BSTR.
2896 (AccessibilityUIElement::description):
2897 Fix a copy/paste error.
2899 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com>
2901 Test for MSAA: Accessibility of links is wrong
2903 https://bugs.webkit.org/show_bug.cgi?id=30928
2905 Reviewed by Darin Adler.
2907 * DumpRenderTree/AccessibilityUIElement.cpp:
2908 (getAccessibilityValueCallback):
2909 Return the accessibility value.
2910 (AccessibilityUIElement::getJSClass):
2911 Added "accessibilityValue" value.
2913 * DumpRenderTree/AccessibilityUIElement.h:
2915 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2916 (AccessibilityUIElement::accessibilityValue):
2919 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2920 (AccessibilityUIElement::accessibilityValue):
2923 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2924 (AccessibilityUIElement::accessibilityValue):
2925 Get the object's value, and return it as a JS string.
2927 2009-10-30 Kevin Ollivier <kevino@theolliviers.com>
2929 Fix typo in command name used by wx build system.
2931 * wx/build/build_utils.py:
2933 2009-10-30 Adam Barth <abarth@webkit.org>
2935 Reviewed by Darin Adler.
2937 Patch v1 is a dumb default name for patches
2938 https://bugs.webkit.org/show_bug.cgi?id=30952
2940 Let's use "Patch" instead.
2942 * Scripts/bugzilla-tool:
2944 2009-10-30 Andras Becsi <becsi.andras@stud.u-szeged.hu>
2946 Unreviewed trivial buildfix.
2948 [Qt] Buildfix for r50333.
2950 * DumpRenderTree/qt/DumpRenderTree.pro:
2952 2009-10-30 Antonio Gomes <tonikitoo@webkit.org>
2954 Reviewed by Holger Freyther.
2956 [Qt] Remove qt/WorkQueue.cpp|h in favor of platform independent WorkQueue
2957 https://bugs.webkit.org/show_bug.cgi?id=30953
2959 DumpRenderTree/WorkQueue and DumpRenderTree/qt/WorkQueue share mostly the
2960 same implementation. Some Q_ASSERTs differ from ASSERTs basically. Patch
2961 makes qt DRT to share this implementation (as gtk and mac ports do).
2963 * DumpRenderTree/qt/DumpRenderTree.pro:
2964 * DumpRenderTree/qt/WorkQueue.cpp: Removed.
2965 * DumpRenderTree/qt/WorkQueue.h: Removed.
2967 2009-10-30 Kenneth Rohde Christiansen <kenneth@webkit.org>
2969 Unreviewed potential buildbot fix.
2971 Second try: Reset page history before running each test.
2973 Apparently the QWebHistory::clear() keeps the current page
2974 in history which is not what we want, so we not additionally
2975 sets the history capacity to 0 (forces removing everything)
2976 and then sets it back to its original value.
2978 * DumpRenderTree/qt/DumpRenderTree.cpp:
2979 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
2981 2009-10-30 Kenneth Rohde Christiansen <kenneth@webkit.org>
2983 Unreviewed potential buildbot fix.
2985 Reset page history before running each test.
2987 * DumpRenderTree/qt/DumpRenderTree.cpp:
2988 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
2990 2009-10-30 Roland Steiner <rolandsteiner@chromium.org>
2992 Reviewed by Eric Seidel.
2994 Remove ENABLE_RUBY guards as discussed with Dave Hyatt and Maciej Stachowiak.
2996 Bug 28420 - Implement HTML5 <ruby> rendering
2997 (https://bugs.webkit.org/show_bug.cgi?id=28420)
2999 No new tests (no functional change).
3001 * Scripts/build-webkit:
3003 2009-10-29 Dan Bernstein <mitz@apple.com>
3005 Reviewed by Mark Rowe.
3007 Fix “Undefined subroutine” errors in svn-*apply by moving the removeEOL subroutine
3008 from the two scripts that define it but don’t use it to the script that uses it but doesn’t
3011 * Scripts/VCSUtils.pm:
3012 * Scripts/svn-apply:
3013 * Scripts/svn-unapply:
3015 2009-10-29 Xan Lopez <xlopez@igalia.com>
3017 Reviewed by Gustavo Noronha.
3019 Use the GTK+ main loop instead of rolling our own mini-version of
3022 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3025 (webViewLoadFinished):
3027 2009-10-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
3029 Reviewed by Oliver Hunt.
3031 Implement the Qt version of DRT dumpBackForwardList().
3033 * DumpRenderTree/qt/DumpRenderTree.cpp:
3034 (WebCore::dumpHistoryItem):
3035 (WebCore::DumpRenderTree::dumpBackForwardList):
3037 2009-10-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
3039 Reviewed by Adam Roben.
3041 Implement DRT functionality for Qt introduced in
3044 - Implemented pathToLocalResource which exposes the functionality of
3045 converting a given unix path to the correct location on Windows.
3046 - Implemented a way to remove machine-dependent information from paths
3047 in layout test results.
3049 * DumpRenderTree/qt/DumpRenderTree.cpp:
3050 (WebCore::urlSuitableForTestResult):
3051 (WebCore::WebPage::javaScriptConsoleMessage):
3052 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3053 (LayoutTestController::pathToLocalResource):
3054 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3056 2009-10-28 Roland Steiner <rolandsteiner@chromium.org>
3058 Adding myself to the committers list.
3060 * Scripts/modules/committers.py:
3062 2009-10-28 Chris Fleizach <cfleizach@apple.com>
3064 Adding myself to the committers list.
3066 * Scripts/modules/committers.py:
3068 2009-10-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3070 Reviewed by Jan Alonzo.
3072 [GTK] API to start inspector for a WebView
3073 https://bugs.webkit.org/show_bug.cgi?id=22551
3075 Use the new inspector API to implement the LayoutTestController
3076 interfaces used to test the inspector.
3078 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3079 (webInspectorInspectWebView):
3081 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3082 (LayoutTestController::showWebInspector):
3083 (LayoutTestController::closeWebInspector):
3084 (LayoutTestController::evaluateInWebInspector):
3086 2009-10-28 Shinichiro Hamaji <hamaji@chromium.org>
3088 Reviewed by Eric Seidel.
3090 [Qt] WebFrame::counterValueForElementById must not be exposed
3091 https://bugs.webkit.org/show_bug.cgi?id=30882
3093 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3094 (LayoutTestController::counterValueForElementById):
3096 2009-10-28 Kenneth Rohde Christiansen <kenneth@webkit.org>
3098 Rubberstamped by Oliver Hunt.
3102 "warning: ignoring return value of 'char* getcwd(char*, size_t)',
3103 declared with attribute warn_unused_result".
3105 by actually checking the result. In the case it is null, an
3106 error has occoured, so treat it as the other fatal errors.
3108 * DumpRenderTree/qt/DumpRenderTree.cpp:
3109 (WebCore::DumpRenderTree::initializeFonts):
3111 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org>
3113 Reviewed by Darin Adler.
3115 Provide a way to get counter values with layoutTestContoller
3116 https://bugs.webkit.org/show_bug.cgi?id=30555
3118 Define layoutTestContoller.counterValueForElementById.
3120 * DumpRenderTree/LayoutTestController.cpp:
3121 (counterValueForElementByIdCallback):
3122 (LayoutTestController::staticFunctions):
3123 * DumpRenderTree/LayoutTestController.h:
3124 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3125 (LayoutTestController::counterValueForElementById):
3127 2009-10-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
3129 Rubberstamped by Oliver Hunt.
3131 Change two methods to be internal for DRT use only.
3133 Part of [Qt] Review all new API in Qt 4.6
3134 https://bugs.webkit.org/show_bug.cgi?id=29843#c11
3136 * DumpRenderTree/qt/DumpRenderTree.cpp:
3137 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
3138 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3139 (LayoutTestController::whiteListAccessFromOrigin):
3141 2009-10-27 Eric Seidel <eric@webkit.org>
3143 Reviewed by Adam Barth.
3145 REGRESSION: svn-apply exits(1) when applying a patch with a file add
3146 https://bugs.webkit.org/show_bug.cgi?id=30826
3148 * Scripts/svn-apply:
3149 - Add () around all system() calls.
3150 - Use the correct system() == 0 or die instead of system() or die
3151 - Add descriptive messages to all die statements.
3153 2009-10-27 Steve Block <steveblock@google.com>
3157 Adds steveblock@google.com to list of committers.
3159 * Scripts/modules/committers.py: Adds steveblock@google.com to list of committers.
3161 2009-10-27 Eric Seidel <eric@webkit.org>
3163 Reviewed by Adam Barth.
3165 svn-apply can exit(0) even on patch failure
3166 https://bugs.webkit.org/show_bug.cgi?id=29622
3168 * Scripts/svn-apply:
3169 - Add a bunch of "or die" statements, hopefully catching all
3170 possible cases where failure could still exit(0).
3172 2009-10-27 Eric Seidel <eric@webkit.org>
3174 Reviewed by Adam Barth.
3176 svn-* scripts should share code through VCSUtils.pm
3177 https://bugs.webkit.org/show_bug.cgi?id=30791
3179 Just moving code into a shared location.
3181 * Scripts/VCSUtils.pm:
3182 * Scripts/prepare-ChangeLog:
3183 * Scripts/resolve-ChangeLogs:
3184 * Scripts/svn-apply:
3185 * Scripts/svn-create-patch:
3186 * Scripts/svn-unapply:
3187 * Scripts/update-webkit:
3189 2009-10-27 Vadim Zeitlin <vadim@wxwidgets.org>
3191 Suppress a huge number of MSVC warnings when building wxWebKit.
3193 * wx/build/settings.py:
3195 2009-10-26 Eric Seidel <eric@webkit.org>
3197 No review, just adding Mike Belshe to the committers list.
3199 * Scripts/modules/committers.py:
3201 2009-10-26 Laszlo Gombos <laszlo.1.gombos@nokia.com>
3203 Reviewed by Darin Adler.
3205 Make .rc files compile on Windows without depending on MFC headers
3206 https://bugs.webkit.org/show_bug.cgi?id=30750
3208 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc: Use
3209 windows.h instead of afxres.h because it exists even when MFC is not
3210 installed, and is all that's needed here.
3212 * FindSafari/FindSafari.rc: Ditto
3214 2009-10-24 Eric Seidel <eric@webkit.org>
3216 Reviewed by Adam Barth.
3218 bugzilla-tool post-diff should know how to mark commit-queue=?
3219 https://bugs.webkit.org/show_bug.cgi?id=29202
3221 * Scripts/bugzilla-tool:
3222 - Add --commit-queue option to post-diff, post-commits and create-bug.
3223 * Scripts/modules/bugzilla.py:
3224 - Added support for --commit-queue to add_patch_to_bug and create_bug_with_patch.
3225 - Added _fill_attachment_form to share code between add_patch_to_bug and create_bug_with_patch.
3227 2009-10-23 Eric Seidel <eric@webkit.org>
3229 Reviewed by Adam Barth.
3231 bugzilla-tool commit-queue does not notice modifications to committers.py
3232 https://bugs.webkit.org/show_bug.cgi?id=30084
3234 * Scripts/bugzilla-tool:
3235 - Make commit-queue re-exec itself instead of using while(1).
3236 - Add a --is-relaunch parameter to commit-queue to bypass initialization on re-launch.
3237 - Add a _next_patch() method which calls exec() (and could eventually call update-webkit too).
3239 2009-10-22 Eric Seidel <eric@webkit.org>
3241 Reviewed by Adam Barth.
3243 commit-queue will get stuck on patches if land-patches terminates unexpectedly
3244 https://bugs.webkit.org/show_bug.cgi?id=30634
3246 * Scripts/bugzilla-tool:
3247 - Add a way for land-patches to exit(2) to indicate an error, but one it has handled.
3248 - Make commit-queue auto cq- any patch where land-patches exited anything other than '0' or '2'.
3250 2009-10-26 Yuzo Fujishima <yuzo@google.com>
3252 Reviewed by Eric Seidel.
3254 Upgrade pywebsocket to 0.4.1. This will make reusing LayoutTests/fast/js/resources easier, for example.
3256 https://bugs.webkit.org/show_bug.cgi?id=30763
3258 * pywebsocket/mod_pywebsocket/__init__.py:
3259 * pywebsocket/mod_pywebsocket/dispatch.py:
3260 * pywebsocket/mod_pywebsocket/headerparserhandler.py:
3261 * pywebsocket/mod_pywebsocket/standalone.py:
3262 * pywebsocket/setup.py:
3263 * pywebsocket/test/test_dispatch.py:
3265 2009-10-26 Carol Szabo <carol.szabo@nokia.com>
3267 Reviewed by David Levin.
3269 REGRESSION: 2 failures in run-webkit-unittests
3270 https://bugs.webkit.org/show_bug.cgi?id=30645
3272 * Scripts/modules/cpp_style_unittest.py:
3273 Fixed a few test scenarios which apparently lost some spaces from
3276 2009-10-26 Kevin Ollivier <kevino@theolliviers.com>
3278 wx build fix. Make sure isQt() doesn't return true if --wx was passed to build-webkit.
3280 * Scripts/webkitdirs.pm:
3282 2009-10-26 Csaba Osztrogonác <ossy@webkit.org>
3284 Reviewed by Darin Adler.
3286 Unification of using null device in perl scripts.
3287 https://bugs.webkit.org/show_bug.cgi?id=30572
3289 * Scripts/VCSUtils.pm:
3290 * Scripts/bisect-builds:
3291 * Scripts/resolve-ChangeLogs:
3292 * Scripts/run-iexploder-tests:
3294 * Scripts/run-mangleme-tests:
3295 * Scripts/run-webkit-tests:
3296 * Scripts/webkitdirs.pm:
3297 Using File::Spec->devnull() instead of hard coded /dev/null.
3299 2009-10-26 Eric Seidel <eric@webkit.org>
3301 Reviewed by Holger Freyther.
3303 Reviewers are missing from committers.py
3304 https://bugs.webkit.org/show_bug.cgi?id=30733
3306 * Scripts/modules/committers.py:
3308 2009-10-23 Eric Seidel <eric@webkit.org>
3310 No review, only adding Alice to the list of reviewers.
3312 * Scripts/modules/committers.py:
3314 2009-10-23 Eric Seidel <eric@webkit.org>
3316 Reviewed by Eric Carlson.
3318 fast/media/mq-transform-02.html failed on Leopard Commit Bot
3319 https://bugs.webkit.org/show_bug.cgi?id=30700
3321 * DumpRenderTree/mac/DumpRenderTree.mm:
3322 (resetDefaultsToConsistentValues): Update QuickTime version check.
3324 2009-10-23 Kevin Ollivier <kevino@theolliviers.com>
3326 wxMac 10.4 build fix, needs to link against WebKitSystemInterfaceTiger to get
3327 character measurement APIs that are private on Tiger.
3329 * wx/build/settings.py:
3331 2009-10-22 Gavin Barraclough <barraclough@apple.com>
3333 Reviewed by NOBODY (build fix).
3334 Build fix following bug #30696.
3336 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3337 (LayoutTestController::evaluateScriptInIsolatedWorld):
3339 2009-10-22 Gavin Barraclough <barraclough@apple.com>
3341 Reviewed by Sam Weinig & Geoff Garen.
3343 https://bugs.webkit.org/show_bug.cgi?id=30696
3344 Enable isolated-worlds tests on mac.
3346 Add private interface for DRT to invoke execution in a given world.
3348 * DumpRenderTree/LayoutTestController.cpp:
3349 (evaluateScriptInIsolatedWorldCallback):
3350 (LayoutTestController::staticFunctions):
3351 * DumpRenderTree/LayoutTestController.h:
3352 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3353 (LayoutTestController::evaluateScriptInIsolatedWorld):
3354 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3355 (LayoutTestController::evaluateScriptInIsolatedWorld):
3357 2009-10-21 Eric Seidel <eric@webkit.org>
3359 Reviewed by Adam Barth.
3361 bugzilla-tool's "patch failed to download an apply" error should give more information
3362 https://bugs.webkit.org/show_bug.cgi?id=30632
3364 * Scripts/modules/scm.py:
3365 - Use the common run_command method instead of custom POpen code.
3366 - Make run_command know how to take pipes as input.
3367 * Scripts/modules/scm_unittest.py:
3368 - Add new tests to cover change.
3369 - Also move test_error_handlers into new SCMClassTests so we don't run it 3 times.
3371 2009-10-21 Kent Tamura <tkent@chromium.org>
3373 Unreviewed. Adding myself to the committers list.
3375 * Scripts/modules/committers.py:
3377 2009-10-21 Robin Dunn <robin@alldunn.com>
3379 Reviewed by Kevin Ollivier.
3381 Update the Windows installer builder to work with Vista / Win 7 and with git.
3383 https://bugs.webkit.org/show_bug.cgi?id=30649
3385 * wx/build/build_utils.py:
3386 * wx/packaging/build-mac-installer.py:
3387 * wx/packaging/build-win-installer.py:
3388 * wx/packaging/wxWebKitInstaller.iss.in:
3390 2009-10-21 Alejandro G. Castro <alex@igalia.com>
3392 Reviewed by Gustavo Noronha.
3394 [GTK] Added conditional code to avoid using
3395 gdk_window_get_root_coords if we do not have a gtk+ release newer
3397 https://bugs.webkit.org/show_bug.cgi?id=30636
3399 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
3401 2009-10-21 Shu Chang <Chang.Shu@nokia.com>
3403 Reviewed by Eric Seidel.
3405 [Qt] Added dummy implementation for keepWebHistory()
3406 https://bugs.webkit.org/show_bug.cgi?id=30592
3408 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3409 (LayoutTestController::keepWebHistory):
3410 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3412 2009-10-21 Alejandro G. Castro <alex@igalia.com>
3414 Reviewed by Xan Lopez.
3416 [GTK] Fixed the double click condition, it is not double click if
3417 we move in just in one direction.
3418 https://bugs.webkit.org/show_bug.cgi?id=30636
3420 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
3422 2009-10-21 Alejandro G. Castro <alex@igalia.com>
3424 Reviewed by Xan Lopez.
3426 [GTK] Initialize the events completly before emitting them.
3427 https://bugs.webkit.org/show_bug.cgi?id=30633
3429 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
3431 2009-10-21 Kevin Ollivier <kevino@theolliviers.com>
3433 wx build fix. Fix for when linking using --as-needed with gcc.
3435 * wx/browser/wscript:
3437 2009-10-21 Kevin Ollivier <kevino@theolliviers.com>
3439 wxMac 10.4 build fix. Build and link against a version of libcurl new enough
3440 to support all the features used by CURL backend.
3442 * wx/build/settings.py:
3443 * wx/install-unix-extras:
3445 2009-10-20 Anton Muhin <antonm@chromium.org>
3447 Reviewed by Adam Barth.
3449 Add {ager,antonm,yurys}@chromium.org into committers.py
3450 https://bugs.webkit.org/show_bug.cgi?id=30560
3452 * Scripts/modules/committers.py:
3454 2009-10-20 Kenneth Rohde Christiansen <kenneth@webkit.org>
3456 Reviewed by Tor Arne Vestbø.
3458 Make the Netscape Test plugin available to the Qt launcher.
3460 * Scripts/run-launcher:
3462 2009-10-20 Fumitoshi Ukai <ukai@chromium.org>
3464 Reviewed by David Levin.
3466 Removed WebSocket runtime settings.
3467 https://bugs.webkit.org/show_bug.cgi?id=29896
3469 WebSocket runtime configuration is supported by chromium/v8 only.
3471 * DumpRenderTree/mac/DumpRenderTree.mm:
3472 (resetDefaultsToConsistentValues):
3473 * DumpRenderTree/win/DumpRenderTree.cpp:
3474 (resetDefaultsToConsistentValues):
3476 2009-10-19 Nate Chapin <japhet@chromium.org>
3478 Reviewed by Adam Barth.
3480 Add testFail() to test plugin so we can test our handling of a
3481 plugin invoke call returning false.
3483 https://bugs.webkit.org/show_bug.cgi?id=30239
3485 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add testFail().
3487 (testIdentifierToString): Always return true, since returning false will now cause an exception to be thrown.
3489 2009-10-19 Zan Dobersek <zandobersek@gmail.com>
3491 Reviewed by Gustavo Noronha.
3493 Enable DOM pasting when running layout tests.
3495 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3496 (resetDefaultsToConsistentValues):
3498 2009-10-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
3500 Reviewed by Simon Hausmann.
3502 Use the setPreferredContentsSize method instead
3503 of setFixedContentsSize, as the method has been renamed.
3505 * DumpRenderTree/qt/DumpRenderTree.cpp:
3506 (WebCore::DumpRenderTree::open):
3507 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3508 (LayoutTestController::setFixedContentsSize):
3510 2009-10-16 Steve Falkenburg <sfalken@apple.com>
3512 Reviewed by Dan Bernstein.
3514 https://bugs.webkit.org/show_bug.cgi?id=30456
3515 Fixes for new Debug_All Windows build configuration.
3517 * DumpRenderTree/win/DumpRenderTree.cpp:
3518 (sharedCFURLCache): Use new DEBUG_ALL preprocessor define for library naming.
3519 * DumpRenderTree/win/DumpRenderTree.vcproj: Remove unused DEBUG_WEBKIT_HAS_SUFFIX.
3521 2009-10-16 Eric Seidel <eric@webkit.org>
3523 Reviewed by Adam Barth.
3525 commit-queue status bot should list which buildbot is blocking the queue
3526 https://bugs.webkit.org/show_bug.cgi?id=30452
3528 Add new methods and testing.
3530 * Scripts/bugzilla-tool:
3531 * Scripts/modules/buildbot.py:
3532 * Scripts/modules/buildbot_unittest.py:
3534 2009-10-16 Eric Seidel <eric@webkit.org>
3536 Reviewed by Adam Barth.
3538 run-webkit-tests fails when CWD is not inside a WebKit checkout
3539 https://bugs.webkit.org/show_bug.cgi?id=30451
3541 * Scripts/modules/scm.py: in_working_directory shouldn't throw exceptions on failure.
3542 * Scripts/modules/scm_unittest.py:
3543 - Remove use of original_path (we don't need to restore the CWD).
3544 - Don't use '.' to find the webkit checkout, use __file__ instead.
3546 2009-10-16 Steve Falkenburg <sfalken@apple.com>
3548 Reviewed by Adam Roben.
3550 Add a Debug_All configuration to build entire stack as debug.
3551 Change Debug_Internal to:
3552 - stop using _debug suffix for all WebKit/Safari binaries
3553 - not use _debug as a DLL naming suffix
3554 - use non-debug C runtime lib.
3556 * DumpRenderTree/DumpRenderTree.sln: Add Debug_All configuration.
3557 * DumpRenderTree/win/DumpRenderTree.vcproj: Add Debug_All configuration.
3558 * DumpRenderTree/win/ImageDiff.vcproj: Add Debug_All configuration.
3559 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3560 Add missing debug.vsprops inherited property sheet.
3561 Add Debug_All configuration.
3562 * FindSafari/FindSafari.vcproj: Renamed single configuration from "Release" to "all".
3563 * WinLauncher/WinLauncher.vcproj:
3564 Removed extraneous definitions inherited from vsprops.
3565 Add Debug_All configuration.
3567 2009-10-16 Carol Szabo <carol.szabo@nokia.com>
3569 Reviewed by David Levin.
3571 check-webkit-style is wrong about indent checking in namespaces
3572 in header files and a few other things
3573 https://bugs.webkit.org/show_bug.cgi?id=30362
3575 The few other things include:
3576 + check-webkit-style does not require spaces around the equal sign
3577 inside 'if' statements and around binary operators that take
3579 + check-webkit-style reports false errors for the / operator
3580 when part of a filename in the #include directive.
3582 * Scripts/modules/cpp_style.py:
3583 Improved indentation checking and space checking around
3584 binary operators. While the checks are still not perfect,
3585 they are clearly better than before.
3586 * Scripts/modules/cpp_style_unittest.py:
3587 Added test cases for the newly supported checks and modified old
3588 test cases to match the new guidelines
3590 2009-10-16 Kevin Ollivier <kevino@theolliviers.com>
3592 wxMSW build fix. Link to MSW library needed by PluginPackageWin.cpp.
3594 * wx/build/settings.py:
3596 2009-10-15 Yuzo Fujishima <yuzo@google.com>
3598 Reviewed by David Levin.
3600 Add mod_pywebsocket to test Web Sockets.
3601 http://code.google.com/p/pywebsocket/
3602 https://bugs.webkit.org/show_bug.cgi?id=27490
3604 * pywebsocket/COPYING: Added.
3605 * pywebsocket/MANIFEST.in: Added.
3606 * pywebsocket/README: Added.
3607 * pywebsocket/example/echo_client.py: Added.
3608 * pywebsocket/example/echo_wsh.py: Added.
3609 * pywebsocket/mod_pywebsocket/__init__.py: Added.
3610 * pywebsocket/mod_pywebsocket/dispatch.py: Added.
3611 * pywebsocket/mod_pywebsocket/handshake.py: Added.
3612 * pywebsocket/mod_pywebsocket/headerparserhandler.py: Added.
3613 * pywebsocket/mod_pywebsocket/msgutil.py: Added.
3614 * pywebsocket/mod_pywebsocket/standalone.py: Added.
3615 * pywebsocket/mod_pywebsocket/util.py: Added.
3616 * pywebsocket/setup.py: Added.
3617 * pywebsocket/test/config.py: Added.
3618 * pywebsocket/test/mock.py: Added.
3619 * pywebsocket/test/run_all.py: Added.
3620 * pywebsocket/test/test_dispatch.py: Added.
3621 * pywebsocket/test/test_handshake.py: Added.
3622 * pywebsocket/test/test_mock.py: Added.
3623 * pywebsocket/test/test_msgutil.py: Added.
3624 * pywebsocket/test/test_util.py: Added.
3625 * pywebsocket/test/testdata/handlers/blank_wsh.py: Added.
3626 * pywebsocket/test/testdata/handlers/origin_check_wsh.py: Added.
3627 * pywebsocket/test/testdata/handlers/sub/exception_in_transfer_wsh.py: Added.
3628 * pywebsocket/test/testdata/handlers/sub/no_wsh_at_the_end.py: Added.
3629 * pywebsocket/test/testdata/handlers/sub/non_callable_wsh.py: Added.
3630 * pywebsocket/test/testdata/handlers/sub/plain_wsh.py: Added.
3631 * pywebsocket/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py: Added.
3632 * pywebsocket/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py: Added.
3634 2009-10-15 James Robinson <jamesr@google.com>
3636 Reviewed by David Levin.
3638 Updates check-webkit-style to reflect that code inside a namespace should not be indented, even in a header file.
3640 https://bugs.webkit.org/show_bug.cgi?id=30426
3642 * Scripts/modules/cpp_style.py:
3643 * Scripts/modules/cpp_style_unittest.py:
3645 2009-10-15 Brian Weinstein <bweinstein@apple.com>
3647 Reviewed by Adam Roben.
3649 Fixes <http://webkit.org/b/30411>.
3650 REGRESSION(49485): pdevenv doesn't compile in parallel for non-chromium builds on Windows.
3652 Added a check for isChromium() in pdevenv, and pass /useenv if we are not
3657 2009-10-15 Robin Dunn <robin@alldunn.com>
3659 Reviewed by Kevin Ollivier.
3661 Add Mac package building scripts for wx.
3663 https://bugs.webkit.org/show_bug.cgi?id=30405
3665 * wx/build/build_utils.py:
3666 * wx/build/settings.py:
3667 * wx/packaging/build-mac-installer.py: Added.
3669 2009-10-15 Zan Dobersek <zandobersek@gmail.com>
3671 Reviewed by Gustavo Noronha.
3673 Enable Web Sockets support when running layout tests.
3675 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3676 (resetDefaultsToConsistentValues):
3678 2009-10-15 Xan Lopez <xlopez@igalia.com>
3680 Reviewed by Gustavo Noronha.
3682 Need to initialize event.button.button, since in most cases a
3683 button number is not passed as an argument.
3685 * DumpRenderTree/gtk/EventSender.cpp:
3686 (mouseDownCallback):
3689 2009-10-15 Kevin Ollivier <kevino@theolliviers.com>
3691 wx build fix. More SDK fixes for Mac, make sure we use the SDK corresponding to
3692 the OS if none was explicitly set.
3694 * wx/build/settings.py:
3696 2009-10-14 Pavel Feldman <pfeldman@chromium.org>
3698 Reviewed by Timothy Hatcher.
3700 Web Inspector: enable developers extras within inspector layout tests.
3702 https://bugs.webkit.org/show_bug.cgi?id=30014
3704 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3705 (LayoutTestController::showWebInspector):
3706 (LayoutTestController::closeWebInspector):
3707 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3708 (LayoutTestController::showWebInspector):
3709 (LayoutTestController::closeWebInspector):
3711 2009-10-14 José Millán Soto <jmillan@igalia.com>
3713 Reviewed by Jan Alonzo.
3715 GtkLauncher is using a deprecated signal
3716 https://bugs.webkit.org/show_bug.cgi?id=30364
3718 Modified GtkLauncher to use notify::title signal instead of
3719 deprecated title-changed signal
3721 * GtkLauncher/main.c:
3725 2009-10-14 Brady Eidson <beidson@apple.com>
3727 Reviewed by Sam Weinig.
3729 Don't set the history delegate on new windows that are opened during a test, as the history delegate:
3730 1 - Disables WebHistory
3731 2 - Doesn't make sense in that context anyway.
3733 * DumpRenderTree/win/DumpRenderTree.cpp:
3734 (createWebViewAndOffscreenWindow):
3736 2009-10-14 Kevin Ollivier <kevino@theolliviers.com>
3738 wxMac build fix. Ensure 10.4 compatibility for deps, and allow the user to specify
3739 the SDK to use since Python overrides any user-set value of MACOSX_DEPLOYMENT_TARGET.
3741 * wx/build/settings.py:
3742 * wx/install-unix-extras:
3744 2009-10-14 Brady Eidson <beidson@apple.com>
3746 Reviewed by Sam Weinig.
3748 WebKit Win API should provide a delegate interface for global history.
3749 https://bugs.webkit.org/show_bug.cgi?id=29905
3751 * DumpRenderTree/LayoutTestController.cpp:
3752 (LayoutTestController::LayoutTestController):
3753 * DumpRenderTree/LayoutTestController.h:
3754 (LayoutTestController::dumpHistoryDelegateCallbacks):
3755 (LayoutTestController::setDumpHistoryDelegateCallbacks):
3757 * DumpRenderTree/win/DumpRenderTree.cpp:
3758 (shouldLogHistoryDelegates):
3760 (createWebViewAndOffscreenWindow):
3762 * DumpRenderTree/win/DumpRenderTree.vcproj:
3764 Add the IWebHistoryDelegate to DRT Windows:
3765 * DumpRenderTree/win/HistoryDelegate.cpp: Added.
3767 (HistoryDelegate::HistoryDelegate):
3768 (HistoryDelegate::~HistoryDelegate):
3769 (HistoryDelegate::QueryInterface):
3770 (HistoryDelegate::AddRef):
3771 (HistoryDelegate::Release):
3772 (HistoryDelegate::didNavigateWithNavigationData):
3773 (HistoryDelegate::didPerformClientRedirectFromURL):
3774 (HistoryDelegate::didPerformServerRedirectFromURL):
3775 (HistoryDelegate::updateHistoryTitle):
3776 (HistoryDelegate::populateVisitedLinksForWebView):
3777 * DumpRenderTree/win/HistoryDelegate.h: Added.
3779 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3780 (LayoutTestController::removeAllVisitedLinks):
3782 2009-10-14 Shu Chang <Chang.Shu@nokia.com>
3784 Reviewed by Simon Hausmann.
3786 [Qt] Implement support for setPOSIXLocale on Qt.
3787 https://bugs.webkit.org/show_bug.cgi?id=30268
3789 * DumpRenderTree/qt/DumpRenderTree.cpp:
3790 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
3791 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3792 (LayoutTestController::setPOSIXLocale):
3793 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3795 2009-10-13 Stephanie Lewis <slewis@apple.com>
3797 Unreviewed, adding myself to reviewers list.
3799 * Scripts/modules/committers.py:
3801 2009-10-13 Stephanie Lewis <slewis@apple.com>
3803 Reviewed by Mark Rowe.
3805 Fix null assignment so root tests work again.
3807 * Scripts/webkitdirs.pm:
3809 2009-10-13 Andras Becsi <becsi.andras@stud.u-szeged.hu>
3811 Reviewed by Simon Hausmann.
3813 [Qt] Refactor LayoutTestController, EventSender, TextInputController and WorkQueueItem classes
3814 out of jsobjects into separate files to get a more structured DumpRenderTree implementation.
3815 This is done in preparation of implementing missing features in DRT.
3816 No functionality changes made yet.
3818 * DumpRenderTree/qt/DumpRenderTree.cpp:
3819 * DumpRenderTree/qt/DumpRenderTree.pro:
3820 * DumpRenderTree/qt/EventSenderQt.cpp: Added.
3821 (EventSender::EventSender):
3822 (EventSender::mouseDown):
3823 (EventSender::mouseUp):
3824 (EventSender::mouseMoveTo):
3825 (EventSender::leapForward):
3826 (EventSender::keyDown):
3827 (EventSender::contextClick):
3828 (EventSender::scheduleAsynchronousClick):
3829 (EventSender::frameUnderMouse):
3830 * DumpRenderTree/qt/EventSenderQt.h: Added.
3831 (EventSender::clearKillRing):
3832 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Added.
3833 (LayoutTestController::LayoutTestController):
3834 (LayoutTestController::reset):
3835 (LayoutTestController::processWork):
3836 (LayoutTestController::maybeDump):
3837 (LayoutTestController::waitUntilDone):
3838 (LayoutTestController::notifyDone):
3839 (LayoutTestController::windowCount):
3840 (LayoutTestController::clearBackForwardList):
3841 (LayoutTestController::dumpEditingCallbacks):
3842 (LayoutTestController::dumpResourceLoadCallbacks):
3843 (LayoutTestController::queueBackNavigation):
3844 (LayoutTestController::queueForwardNavigation):
3845 (LayoutTestController::queueLoad):
3846 (LayoutTestController::queueReload):
3847 (LayoutTestController::queueScript):
3848 (LayoutTestController::provisionalLoad):
3849 (LayoutTestController::timerEvent):
3850 (LayoutTestController::encodeHostName):
3851 (LayoutTestController::decodeHostName):
3852 (LayoutTestController::setJavaScriptProfilingEnabled):
3853 (LayoutTestController::setFixedContentsSize):
3854 (LayoutTestController::setPrivateBrowsingEnabled):
3855 (LayoutTestController::setPopupBlockingEnabled):
3856 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
3857 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
3858 (LayoutTestController::numberOfActiveAnimations):
3859 (LayoutTestController::disableImageLoading):
3860 (LayoutTestController::dispatchPendingLoadRequests):
3861 (LayoutTestController::setDatabaseQuota):
3862 (LayoutTestController::clearAllDatabases):
3863 (LayoutTestController::whiteListAccessFromOrigin):
3864 (LayoutTestController::waitForPolicyDelegate):
3865 (LayoutTestController::overridePreference):
3866 * DumpRenderTree/qt/LayoutTestControllerQt.h: Added.
3867 (LayoutTestController::isLoading):
3868 (LayoutTestController::setLoading):
3869 (LayoutTestController::shouldDumpAsText):
3870 (LayoutTestController::shouldDumpBackForwardList):
3871 (LayoutTestController::shouldDumpChildrenAsText):
3872 (LayoutTestController::shouldDumpDatabaseCallbacks):
3873 (LayoutTestController::shouldDumpStatusCallbacks):
3874 (LayoutTestController::shouldWaitUntilDone):
3875 (LayoutTestController::canOpenWindows):
3876 (LayoutTestController::shouldDumpTitleChanges):
3877 (LayoutTestController::waitForPolicy):
3878 (LayoutTestController::dumpAsText):
3879 (LayoutTestController::dumpChildFramesAsText):
3880 (LayoutTestController::dumpDatabaseCallbacks):
3881 (LayoutTestController::dumpStatusCallbacks):
3882 (LayoutTestController::setCanOpenWindows):
3883 (LayoutTestController::dumpBackForwardList):
3884 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
3885 (LayoutTestController::display):
3886 (LayoutTestController::dumpTitleChanges):
3887 (LayoutTestController::dumpSelectionRect):
3888 * DumpRenderTree/qt/TextInputControllerQt.cpp: Added.
3889 (TextInputController::TextInputController):
3890 (TextInputController::doCommand):
3891 * DumpRenderTree/qt/TextInputControllerQt.h: Added.
3892 * DumpRenderTree/qt/WorkQueue.cpp:
3893 * DumpRenderTree/qt/WorkQueue.h:
3894 * DumpRenderTree/qt/WorkQueueItem.h:
3895 * DumpRenderTree/qt/WorkQueueItemQt.cpp: Added.
3898 (ReloadItem::invoke):
3899 (ScriptItem::invoke):
3900 (BackForwardItem::invoke):
3901 * DumpRenderTree/qt/jsobjects.cpp: Move all the above classes into separate files
3902 * DumpRenderTree/qt/jsobjects.h:
3904 2009-10-13 Dmitry Titov <dimich@chromium.org>
3906 Not reviewed, adding myself to the list of reviewers.
3908 * Scripts/modules/committers.py:
3910 2009-10-13 Anders Carlsson <andersca@apple.com>
3912 Reviewed by Sam Weinig.
3914 <rdar://problem/6660507> Add "privacy mode" to Netscape Plug-in API
3916 Make the private browsing mode testable by the test plug-in.
3918 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3919 (pluginGetProperty):
3920 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3921 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3925 2009-10-13 Pavel Feldman <pfeldman@chromium.org>
3927 No review, just adding self to the list of reviewers.
3929 * Scripts/modules/committers.py:
3931 2009-10-12 Pavel Feldman <pfeldman@chromium.org>
3933 Reviewed by Adam Roben.
3935 Web Inspector: Use proper web view in inspector layout
3938 https://bugs.webkit.org/show_bug.cgi?id=30298
3940 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3941 (LayoutTestController::showWebInspector):
3942 (LayoutTestController::closeWebInspector):
3943 (LayoutTestController::evaluateInWebInspector):
3945 2009-10-12 Fumitoshi Ukai <ukai@chromium.org>
3947 Reviewed by Sam Weinig.
3949 Enable experimentalWebSocket in DumpRenderTree for LayoutTest.
3950 https://bugs.webkit.org/show_bug.cgi?id=29841
3952 * DumpRenderTree/mac/DumpRenderTree.mm:
3953 (resetDefaultsToConsistentValues):
3954 * DumpRenderTree/win/DumpRenderTree.cpp:
3955 (resetDefaultsToConsistentValues):
3957 2009-10-12 Yaar Schnitman <yaar@chromium.org>
3959 Reviewed by Dimitri Glazkov.
3961 Chromium Port - Windows
3962 https://bugs.webkit.org/show_bug.cgi?id=29969
3964 * Scripts/pdevenv: removed msvc's /useenv for chromium builds
3965 * Scripts/webkitdirs.pm:
3967 2009-10-12 Csaba Osztrogonac <ossy@webkit.org>
3969 Reviewed by Darin Adler.
3971 jsc scripts cleanup and Qt/GTK fix
3972 https://bugs.webkit.org/show_bug.cgi?id=30288
3974 Duplicated jscPath() moved to webkitdirs.pm.
3975 New jscProductDir() added to webkitdirs.pm instead of duplicated codes.
3976 Configuration added (release/debug) to path for Qt-port on Windows.
3978 * Scripts/run-javascriptcore-tests:
3980 * Scripts/run-sunspider:
3981 * Scripts/sunspider-compare-results:
3982 * Scripts/webkitdirs.pm:
3984 2009-10-11 Adam Barth <abarth@webkit.org>
3986 Unreviewed. Add Collin to committers.py.
3988 * Scripts/modules/committers.py:
3990 2009-10-11 Kevin Ollivier <kevino@theolliviers.com>
3992 wx build fix, add bindings to source/include dirs now that there are sources there.
3994 * wx/build/settings.py:
3996 2009-10-09 Mark Rowe <mrowe@apple.com>
3998 Reviewed by Brady Eidson.
4000 Enable plug-in halting in DumpRenderTree.
4002 We drop the plug-in halting delay to 1 second and opt in the delegate method to never halt plug-ins.
4003 This is sufficient to ensure that the crash covered by <rdar://problem/7290671> no longer occurs.
4005 * DumpRenderTree/mac/DumpRenderTree.mm:
4006 (resetDefaultsToConsistentValues):
4007 * DumpRenderTree/mac/UIDelegate.mm:
4008 (-[UIDelegate webView:shouldHaltPlugin:]):
4010 2009-10-08 Brady Eidson <beidson@apple.com>
4012 Reviewed by Dan Bernstein.
4014 Ask the History Delegate to populate the visited links hash.
4015 <rdar://problem/7285293> and https://webkit.org/b/29904
4017 Add the ability for LayoutTestController to clear all visited links.
4018 Also lets the History Delegate dump visited links, but only if this test specifically cleared them.
4020 * DumpRenderTree/LayoutTestController.cpp:
4021 (LayoutTestController::LayoutTestController):
4022 (removeAllVisitedLinksCallback):
4023 (LayoutTestController::staticFunctions):
4024 * DumpRenderTree/LayoutTestController.h:
4025 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4026 (LayoutTestController::removeAllVisitedLinks):
4028 * DumpRenderTree/mac/HistoryDelegate.mm:
4029 (-[HistoryDelegate populateVisitedLinksForWebView:]):
4031 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4032 (LayoutTestController::removeAllVisitedLinks):
4033 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4034 (LayoutTestController::removeAllVisitedLinks):
4035 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
4036 (LayoutTestController::removeAllVisitedLinks):
4039 2009-10-08 Daniel Bates <dbates@webkit.org>
4041 Reviewed by Adam Roben.
4043 https://bugs.webkit.org/show_bug.cgi?id=30175
4045 The Windows DRT equivalent of DoDragDrop (i.e. UIDelegate::doDragDrop) does not return
4046 the OLE drag-and-drop return value like the function it emulates. Currently,
4047 UIDelegate::doDragDrop returns a hard-coded S_OK. Hence, the caller cannot determine
4048 whether the drag-and-drop operation was successful or was cancelled.
4050 This patch fixes this issue by having UIDelegate::doDragDrop return the OLE drag-and-drop
4051 return value according to whether the drop operation was successful or not.
4053 * DumpRenderTree/win/EventSender.cpp:
4054 (doMouseUp): Added parameter oleDragAndDropReturnValue.
4055 (replaySavedEvents): Ditto.
4056 * DumpRenderTree/win/EventSender.h:
4057 * DumpRenderTree/win/UIDelegate.cpp:
4058 (UIDelegate::doDragDrop): Modified to return OLE drag-and-drop return value.
4060 2009-10-08 Alejandro G. Castro <alex@igalia.com>
4062 Reviewed by Xan Lopez.
4064 [GTK] Added support for a parameter setting the button that was
4065 pressed in the mouseDown function.
4066 https://bugs.webkit.org/show_bug.cgi?id=30220
4068 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
4070 2009-10-08 Alejandro G. Castro <alex@igalia.com>
4072 Reviewed by Xan Lopez.
4074 [GTK] Added a line to the bottom of the expected result to match
4075 the output of the test.
4076 https://bugs.webkit.org/show_bug.cgi?id=30220
4078 * LayoutTests/platform/gtk/editing/pasteboard/middle-click-onpaste-
4081 2009-10-08 Adam Roben <aroben@apple.com>
4083 Use QueryInterface to get IWebInspectorPrivate
4085 Fixes <http://webkit.org/b/30215> Make IWebInspectorPrivate be
4086 accessed in a more standard way
4088 Reviewed by John Sullivan and Tim Hatcher.
4090 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4091 (LayoutTestController::evaluateInWebInspector): Get the IWebInspector
4092 by calling IWebViewPrivate::inspector, then use QueryInterface to get
4093 to the IWebInspectorPrivate interface.
4095 2009-10-07 Adam Roben <aroben@apple.com>
4097 Implement DRT support for origin whitelisting
4099 Fixes <http://webkit.org/b/30185>.
4101 Reviewed by Eric Seidel.
4103 * DumpRenderTree/win/DumpRenderTree.cpp:
4104 (resetWebViewToConsistentStateBeforeTesting): Reset any origin
4105 whitelist, to match Mac DRT.
4106 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4107 (LayoutTestController::whiteListAccessFromOrigin): Call through to
4108 IWebViewPrivate::whiteListAccessFromOrigin.
4110 2009-10-07 Brady Eidson <beidson@apple.com>
4112 Reviewed by Darin Adler.
4114 Send title changes to the global history delegate.
4115 <rdar://problem/7285293> and https://webkit.org/b/29904
4117 * DumpRenderTree/mac/HistoryDelegate.mm:
4118 (-[HistoryDelegate webView:updateHistoryTitle:forURL:]):
4120 2009-10-07 Adam Barth <abarth@webkit.org>
4122 Unreviewed. Remove some folks from committers.py who were listed on
4123 the WebKit Team wiki page but who weren't actually listed as commit+.
4124 At some point, we should coorelate this list with the committers
4127 * Scripts/modules/committers.py:
4129 2009-10-07 Adam Barth <abarth@webkit.org>
4131 Unreviewed. Import a bunch of committers from the WebKit Team page on
4132 the wiki into committers.py.
4134 * Scripts/modules/committers.py:
4136 2009-10-07 Adam Barth <abarth@webkit.org>
4138 Unreviewed. Added Aaron Boodman to committers.py.
4140 * Scripts/modules/committers.py:
4142 2009-10-07 Evan Martin <evan@chromium.org>
4144 Reviewed by Darin Adler.
4146 Add API to LayoutTestController for re/setting the system locale.
4147 https://bugs.webkit.org/show_bug.cgi?id=18994
4149 * DumpRenderTree/LayoutTestController.cpp:
4150 (setLocaleCallback):
4151 (LayoutTestController::staticFunctions):
4152 (LayoutTestController::setLocale):
4153 * DumpRenderTree/LayoutTestController.h:
4155 2009-10-06 Shinichiro Hamaji <hamaji@chromium.org>
4157 Reviewed by Jan Alonzo.
4159 [Layout tests] [Gtk] Gtk DumpRenderTree should use WebKit test fonts
4160 https://bugs.webkit.org/show_bug.cgi?id=29689
4162 Build fix by adding -lfontconfig for DumpRenderTree.
4166 2009-10-07 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
4168 Reviewed by Simon Hausmann.
4170 Re-enable use-remote-links-to-tests for Qt. Disabled in r46416.
4172 * Scripts/run-webkit-tests:
4174 2009-10-07 Xan Lopez <xlopez@igalia.com>
4176 Reviewed by Gustavo Noronha.
4178 "delete" in EventSender is the backspace key, not the delete one.
4180 * DumpRenderTree/gtk/EventSender.cpp:
4183 2009-10-07 Xan Lopez <xlopez@igalia.com>
4185 Reviewed by Gustavo Noronha.
4187 getChildrenWithRange expects as last parameter the end index, not
4188 the length of the range. Correct this and clarify the variable
4189 names to reflect how the code works.
4191 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
4192 (AccessibilityUIElement::getChildrenWithRange):
4193 (AccessibilityUIElement::getChildAtIndex):
4195 2009-10-06 Mark Rowe <mrowe@apple.com>
4197 Reviewed by Simon Fraser.
4199 <http://webkit.org/b/30138> update-webkit-localizable-strings assumes that WebKitTools/Scripts is in the PATH
4201 * Scripts/update-webkit-localizable-strings: Use an explicit path to extract-localizable-strings based on the
4202 the fact we have already changed the working directory to the top of the open source tree.
4204 2009-10-06 Julie Parent <jparent@chromium.org>
4206 Unreviewed. Fixing the entry for myself in committers.py to use my bugzilla email,
4207 rather than my committer email.
4209 * Scripts/modules/committers.py:
4211 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
4213 Reviewed by Eric Seidel.
4215 [Qt] LayoutTestController: Reset m_dumpStatusCallbacks to false in reset().
4217 r49189 added support for the 'dumpStatusCallbacks' setting but didn't reset
4218 it after each layout test as it should do, making the DRT dump additional output
4219 for all of the subsequent layout tests.
4221 * DumpRenderTree/qt/jsobjects.cpp:
4222 (LayoutTestController::reset):
4224 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
4226 Reviewed by Simon Hausmann.
4228 [Qt] Implement layoutTestController.dumpStatusCallbacks() and unskip the
4229 fast/dom/assign-to-window-status.html test, which is passing as a result.
4231 https://bugs.webkit.org/show_bug.cgi?id=30127
4233 * DumpRenderTree/qt/DumpRenderTree.cpp:
4234 (WebCore::DumpRenderTree::DumpRenderTree):
4235 (WebCore::DumpRenderTree::statusBarMessage):
4236 * DumpRenderTree/qt/DumpRenderTree.h:
4237 * DumpRenderTree/qt/jsobjects.h:
4238 (LayoutTestController::shouldDumpStatusCallbacks):
4239 (LayoutTestController::dumpStatusCallbacks):
4241 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
4243 Reviewed by Simon Hausmann.
4245 [Qt] The implementation of EventSender::mouseUp() and EventSender::mouseDown()
4246 ignores the argument indicating which mouse button to trigger.
4247 https://bugs.webkit.org/show_bug.cgi?id=30048
4249 This affects the fast/events/mouse-click-events.html layout test.
4251 * DumpRenderTree/qt/jsobjects.cpp:
4252 (EventSender::mouseDown):
4253 (EventSender::mouseUp):
4254 * DumpRenderTree/qt/jsobjects.h:
4256 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
4258 Reviewed by Simon Hausmann.
4260 [Qt] Fix the EventSender::keyDown() implementation
4261 https://bugs.webkit.org/show_bug.cgi?id=30043
4263 It should post both a key press event and a key release event,
4264 just like other ports do.
4266 * DumpRenderTree/qt/jsobjects.cpp:
4267 (EventSender::keyDown):
4269 2009-10-05 Kevin Ollivier <kevino@theolliviers.com>
4271 wx build fix. Add jpeg to the list of libs to link against.
4273 * wx/build/settings.py:
4275 2009-10-05 Jakub Wieczorek <faw217@gmail.com>
4277 Reviewed by Simon Hausmann.
4279 [Qt] EventSender::keyDown() cannot send function-key events.
4280 https://bugs.webkit.org/show_bug.cgi?id=30044
4282 This affects the fast/events/keydown-function-keys.html layout test.
4284 * DumpRenderTree/qt/jsobjects.cpp:
4285 (EventSender::keyDown):
4287 2009-10-05 Vadim Zeitlin <vadim@wxwidgets.org>
4289 Added --wx-compiler-prefix waf option to allow building wxWebKit with
4290 wxWidgets built using "nmake COMPILER_PREFIX=something-non-default".
4292 * wx/build/settings.py:
4293 * wx/build/wxpresets.py:
4295 2009-10-05 Pavel Feldman <pfeldman@chromium.org>
4297 Reviewed by Timothy Hatcher.
4299 Web Inspector: add testing harness for Web Inspector.
4301 https://bugs.webkit.org/show_bug.cgi?id=30010
4303 * DumpRenderTree/LayoutTestController.cpp:
4304 (showWebInspectorCallback):
4305 (closeWebInspectorCallback):
4306 (evaluateInWebInspectorCallback):
4307 (LayoutTestController::staticFunctions):
4308 * DumpRenderTree/LayoutTestController.h:
4309 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4310 (LayoutTestController::showWebInspector):
4311 (LayoutTestController::closeWebInspector):
4312 (LayoutTestController::evaluateInWebInspector):
4313 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4314 (LayoutTestController::showWebInspector):
4315 (LayoutTestController::closeWebInspector):
4316 (LayoutTestController::evaluateInWebInspector):
4317 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4318 (LayoutTestController::showWebInspector):
4319 (LayoutTestController::closeWebInspector):
4320 (LayoutTestController::evaluateInWebInspector):
4321 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
4322 (LayoutTestController::showWebInspector):
4323 (LayoutTestController::closeWebInspector):
4324 (LayoutTestController::evaluateInWebInspector):
4326 2009-10-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
4328 Reviewed by Ariyha Hidayat.
4330 Pass arguments to system() as a string instead of array
4332 When passed as an array entries with a space fail to translate
4333 to two arguments to the child process, so instead of manually
4334 splitting all the entries in @buildArgs we pass the whole thing
4335 as a string instead.
4337 * Scripts/webkitdirs.pm:
4339 2009-10-04 Carol Szabo <carol.szabo@nokia.com>
4341 Reviewed by David Levin.
4343 check-webkit-style misses whitespace errors for operators:
4344 <<, >>, <<=, >>=, &=, |=, +=, -=, *=, /=, /, |, &&, ||.
4345 https://bugs.webkit.org/show_bug.cgi?id=30021
4347 * Scripts/modules/cpp_style.py:
4348 Added the operators mentioned above to the same list as == and !=.
4350 2009-10-02 Julie Parent <jparent@chromium.org>
4354 Adding myself and Ojan Vafai as committers, because we are committers.
4356 * Scripts/modules/committers.py:
4358 2009-10-02 Brian Weinstein <bweinstein@apple.com>
4360 Reviewed by Adam Roben.
4362 svn-create-patch should have an --ignore-changelogs to not add ChangeLogs to the diff,
4363 this will help the patch merging process when TryBots are used.