1 2009-11-12 Joanmarie Diggs <joanmarie.diggs@gmail.com>
3 Reviewed by Gustavo Noronha Silva.
5 https://bugs.webkit.org/show_bug.cgi?id=30997
6 [Gtk] Implemment AtkDocument
10 * DumpRenderTree/AccessibilityUIElement.cpp:
11 * DumpRenderTree/AccessibilityUIElement.h:
12 (getDocumentEncodingCallback):
13 (getDocumentURICallback):
14 (AccessibilityUIElement::getJSClass):
15 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
16 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
17 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
18 (AccessibilityUIElement::documentEncoding):
19 (AccessibilityUIElement::documentURI):
21 2009-11-12 Adam Roben <aroben@apple.com>
23 Replace worldIDs with world objects
25 Part of <http://webkit.org/b/31414> Implement new SPI for dealing with
26 user scripts/stylesheets and isolated worlds
28 Reviewed by Sam Weinig.
30 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
31 (LayoutTestController::addUserScript):
32 (LayoutTestController::addUserStyleSheet):
33 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
34 (LayoutTestController::addUserScript):
35 (LayoutTestController::addUserStyleSheet):
36 Changed these functions to create a new WebJSWorld each time they're
37 called and to pass that world to WebKit.
39 2009-11-11 Chris Fleizach <cfleizach@apple.com>
41 Reviewed by Oliver Hunt.
43 need to implement aria tree roles
44 https://bugs.webkit.org/show_bug.cgi?id=31284
46 * DumpRenderTree/AccessibilityUIElement.cpp:
47 (disclosedRowAtIndexCallback):
48 (selectedRowAtIndexCallback):
50 (isAttributeSettableCallback):
51 (isActionSupportedCallback):
52 (disclosedByRowCallback):
53 (hierarchicalLevelCallback):
54 (AccessibilityUIElement::getJSClass):
55 * DumpRenderTree/AccessibilityUIElement.h:
56 (AccessibilityUIElement::isEqual):
57 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
58 (AccessibilityUIElement::hierarchicalLevel):
59 (AccessibilityUIElement::disclosedRowAtIndex):
60 (AccessibilityUIElement::selectedRowAtIndex):
61 (AccessibilityUIElement::disclosedByRow):
62 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
63 (AccessibilityUIElement::getChildAtIndex):
64 (AccessibilityUIElement::disclosedRowAtIndex):
65 (AccessibilityUIElement::selectedRowAtIndex):
66 (AccessibilityUIElement::titleUIElement):
67 (AccessibilityUIElement::parentElement):
68 (AccessibilityUIElement::disclosedByRow):
69 (AccessibilityUIElement::hierarchicalLevel):
70 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
71 (AccessibilityUIElement::hierarchicalLevel):
72 (AccessibilityUIElement::disclosedRowAtIndex):
73 (AccessibilityUIElement::selectedRowAtIndex):
74 (AccessibilityUIElement::disclosedByRow):
76 2009-11-11 Shinichiro Hamaji <hamaji@chromium.org>
78 Reviewed by Darin Adler.
80 svn-apply can not handle git binary diffs
81 https://bugs.webkit.org/show_bug.cgi?id=26830
83 Support "literal" type git binary diffs.
85 * Scripts/VCSUtils.pm:
86 * Scripts/modules/scm_unittest.py:
89 2009-11-11 Dmitry Titov <dimich@chromium.org>
91 Not reviewed, removing duplicate entry for myself in committers.py.
93 * Scripts/modules/committers.py:
95 2009-11-11 Alexey Proskuryakov <ap@apple.com>
97 Reviewed by Darin Adler and Mark Rowe.
99 https://bugs.webkit.org/show_bug.cgi?id=31200
100 Tests in http/tests/security/mixedContent start to fail when new tests are added
102 * DumpRenderTree/mac/DumpRenderTree.mm: (dumpRenderTree): Added a workaround for Tiger bug.
104 2009-11-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
106 Reviewed by Jan Alonzo.
108 Create, and display a window for the inspector, for inspector
111 Need to also show/hide the inspector window to avoid having
112 problems with code assuming it is realized
113 https://bugs.webkit.org/show_bug.cgi?id=31347
115 * DumpRenderTree/gtk/DumpRenderTree.cpp:
116 (webInspectorShowWindow):
117 (webInspectorCloseWindow):
118 (webInspectorInspectWebView):
121 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
123 Unreviewed Qt buildbot fix.
125 My previous fix was wrong, so revert that change and fix it by
126 returning when the document of the frame has no document element.
127 Idea is borrowed from mac and win DRT.
129 * DumpRenderTree/qt/DumpRenderTree.cpp:
130 (WebCore::DumpRenderTree::dumpFramesAsText):
132 2009-11-11 Eric Seidel <eric@webkit.org>
134 Reviewed byg Kenneth Rohde Christiansen.
136 Update Kenneth's committer record to include the email he
137 uses on lists.webkit.org.
139 * Scripts/modules/committers.py:
141 2009-11-11 Eric Seidel <eric@webkit.org>
143 Reviewed by Gustavo Noronha Silva.
145 Several committers use separate email addresses for bugzilla and svn.webkit.org
146 https://bugs.webkit.org/show_bug.cgi?id=31364
148 Update records for existing committers to include email addresses
149 used in svn.webkit.org and lists.webkit.org.
150 Most committers use the same email address in all 3 places, but some use
151 separate addresses. committers.py needs record of each of these addresses.
153 * Scripts/modules/committers.py:
155 2009-11-11 Eric Seidel <eric@webkit.org>
157 No review, adding second email address for an existing committer.
159 Add Yong Li's second bugzilla account to his committer record.
160 See: https://bugs.webkit.org/show_bug.cgi?id=27371#c27
162 * Scripts/modules/committers.py:
164 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
166 Reviewed by Simon Hausmann.
168 If the frame has no innerText don't append it, and
169 do not add a newline which breaks some cross platform
172 * DumpRenderTree/qt/DumpRenderTree.cpp:
173 (WebCore::DumpRenderTree::dumpFramesAsText):
175 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
177 Reviewed by Simon Hausmann.
179 Implement missing functionality in the Gtk/Qt TestNetscapePlugin.
181 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
182 (webkit_test_plugin_new_instance):
183 (webkit_test_plugin_destroy_instance):
184 (webkit_test_plugin_destroy_stream):
186 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
188 Reviewed by Mark Rowe.
190 Implement the functionality needed by plugins/window-open.html
192 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
193 (webkit_test_plugin_new_instance):
194 (webkit_test_plugin_set_window):
196 2009-11-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
198 Reviewed by Simon Hausmann.
200 [Qt] Force -graphicssystem raster and -style windows when running DRT
202 * DumpRenderTree/qt/main.cpp:
203 * Scripts/run-webkit-tests:
205 2009-11-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
207 Reviewed by Simon Hausmann.
209 Compute correct library paths for Qt
211 * Scripts/webkitdirs.pm:
213 2009-11-10 Mark Rowe <mrowe@apple.com>
215 Reviewed by Sam Weinig.
217 <http://webkit.org/b/31200> Tests in http/tests/security/mixedContent start to fail when new tests are added
219 The first request to an HTTPS URL results in didFailProvisionalLoadWithError being called with an error
220 about the validity of the self-signed certificates used in the regression tests. We would then add the
221 host to the ignore list for SSL certificate errors and retry the request. If this happened during a test
222 that had enabled frame load delegate logging this would result in extra log messages being generated,
223 causing the test to fail.
225 We address this by explicitly ignoring SSL certificate errors for localhost and 127.0.0.1 before running any
228 * DumpRenderTree/mac/DumpRenderTree.mm:
230 * DumpRenderTree/mac/FrameLoadDelegate.mm:
231 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
233 2009-11-10 Andras Becsi <becsi.andras@stud.u-szeged.hu>
235 Reviewed by Kenneth Rohde Christiansen.
237 [Qt] Remove obsolete scrollbar policy settings from DRT constructor.
239 * DumpRenderTree/qt/DumpRenderTree.cpp:
240 (WebCore::DumpRenderTree::DumpRenderTree):
242 2009-11-10 Philippe Normand <pnormand@igalia.com>
244 Reviewed by Jan Alonzo.
246 [GTK] Remove WebSocket configuration from WebKitWebSettings
247 https://bugs.webkit.org/show_bug.cgi?id=31244
249 Follow-up of r50724. Don't set the enable-web-socket property
252 * DumpRenderTree/gtk/DumpRenderTree.cpp:
253 (resetDefaultsToConsistentValues):
255 2009-11-10 Oliver Hunt <oliver@apple.com>
257 Reviewed by Maciej Stachowiak.
259 Rename 3D Canvas related classes to use WebGL prefix
260 https://bugs.webkit.org/show_bug.cgi?id=29095
262 Checkin new version of do-webcore-rename used to do the WebGL type rename,
263 and upate webkitdirs script to new method of testing for WebGL.
265 * Scripts/do-webcore-rename:
266 * Scripts/webkitdirs.pm:
268 2009-11-09 Oliver Hunt <oliver@apple.com>
270 Reviewed by Geoff Garen.
272 Make do-webcore-rename work with git.
274 * Scripts/do-webcore-rename:
276 2009-11-09 Simon Hausmann <simon.hausmann@nokia.com>
278 Adding Kenneth to the reviewers list.
280 * Scripts/modules/committers.py:
282 2009-11-09 Martin Robinson <martin.james.robinson@gmail.com>
284 Reviewed by Jan Alonzo.
286 [GTK] Expose Page::tabKeyCyclesThroughElements in the API
287 https://bugs.webkit.org/show_bug.cgi?id=30482
289 LayoutTestControllerGtk now uses the exposed
290 Page::tabKeyCyclesThroughElements API
292 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
293 (LayoutTestController::setTabKeyCyclesThroughElements):
295 2009-11-08 Shu Chang <Chang.Shu@nokia.com>
297 Reviewed by Holger Freyther.
299 [Qt] Added support for key code 8 (backspace) in EventSenderQt.
300 This helps to pass the test case below. Also replaced hardcoded
301 code numbers with defined constants.
302 https://bugs.webkit.org/show_bug.cgi?id=31185
304 Test: editing/undo/undo-deleteWord.html
306 * DumpRenderTree/qt/EventSenderQt.cpp:
307 (EventSender::keyDown):
309 2009-11-07 Antonio Gomes <tonikitoo@webkit.org>
311 Reviewed by Holger Freyther.
313 [Qt] [DRT] Fix wrong logic in LayoutTestController processWork
314 https://bugs.webkit.org/show_bug.cgi?id=31164
316 Fixed wrong logic to assume WorkQueue is done in QT's DRT.
318 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
319 (LayoutTestController::processWork):
321 2009-11-05 Antonio Gomes <tonikitoo@webkit.org>
323 Reviewed by Holger Freyther.
325 [Qt][DRT] Replace queueScript by queueNonLoadingScript and queueLoadingScript method
326 https://bugs.webkit.org/show_bug.cgi?id=31158
328 By invoking a script queue'd by queueScript(), 'true' was beeing returned
329 always, which from WorkQueue prospective means that a load has been started
330 and the queue processing should stop and wait for the load to finish.
331 Spinning it off into a loading and a non-loading variants was the solution
332 adopted by Mac's DRT to work around this problem. The former keeps returning
333 'true' while the later executes the script synchronously and returns 'false'
334 making it possible to the WorkQueue to proceed right away.
336 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
337 (LayoutTestController::processWork):
338 (LayoutTestController::queueLoadingScript):
339 (LayoutTestController::queueNonLoadingScript):
340 * DumpRenderTree/qt/LayoutTestControllerQt.h:
341 * DumpRenderTree/qt/WorkQueueItem.h:
342 (LoadingScriptItem::LoadingScriptItem):
343 (LoadingScriptItem::invoke):
344 (NonLoadingScriptItem::NonLoadingScriptItem):
345 (NonLoadingScriptItem::invoke):
347 2009-11-07 Mark Rowe <mrowe@apple.com>
349 Rubber-stamped by Cameron Zwarich.
351 Invoke prepare-ChangeLog via an absolute path rather than assuming it can be found in PATH.
353 * Scripts/commit-log-editor:
355 2009-11-07 Mark Rowe <mrowe@apple.com>
357 Reviewed by Darin Adler.
359 Fix <https://bugs.webkit.org/show_bug.cgi?id=28168>.
360 commit-log-editor does not support all the email address configurations that prepare-Changelog supports
362 Move logic for determining the name and email address to use in a ChangeLog entry from
363 prepare-ChangeLog to VCSUtils so that commit-log-editor can use it. It wants to check
364 whether the author of the patch matches committer, and therefore needs access to the
365 email address that would be used in a ChangeLog entry.
367 Based on a patch by Pierre d'Herbemont.
369 * Scripts/VCSUtils.pm:
370 * Scripts/commit-log-editor:
371 * Scripts/prepare-ChangeLog:
372 * Scripts/webkitdirs.pm:
374 2009-11-06 Anantanarayanan G Iyengar <ananta@chromium.org>
376 Reviewed by Adam Barth.
378 Added functionality to the layout test plugin to invoke document.open and
379 window.open with default arguments. The associated webkit bug is
380 https://bugs.webkit.org/show_bug.cgi?id=31067, which affects Chromium. Basically
381 window.open and document.open calls issued by NPAPI plugins via NPN_Invoke don't
382 work in Chromium (V8) if there is no calling javascript context. To achieve this
383 effect we invoke these functions in the layout test plugin in the NPP_SetWindow
384 for the window.open test case and in NPP_DestroyStream for the document.open test case.
386 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
390 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
391 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
395 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
401 2009-11-06 Eric Seidel <eric@webkit.org>
403 Reviewed by Adam Barth.
405 bugzilla-tool crashed with exception
406 https://bugs.webkit.org/show_bug.cgi?id=31092
408 * Scripts/modules/bugzilla.py: Change a ',' to a '%' to fix the error.
410 2009-11-04 Eric Seidel <eric@webkit.org>
412 No review, just add a line which got left out of the patch uploaded for commit.
414 commit-queue is crashing when trying to reject patches after unknown failures
415 https://bugs.webkit.org/show_bug.cgi?id=31091
417 * Scripts/bugzilla-tool: Set bug_log = None after closing to we don't re-close and crash.
419 2009-11-04 Adam Roben <aroben@apple.com>
421 Remove bogus else clause in bugzilla-tool
423 Fixes <http://webkit.org/b/31125> REGRESSION (r47121): bugzilla-tool
424 create-bug raises exception after entering bug description
426 Reviewed by David Kilzer.
428 * Scripts/bugzilla-tool:
429 (CreateBug): else clauses are only hit if no exception is raised, so
430 it makes no sense to try to re-raise the exception in an else clause.
431 The exception will automatically be re-raised if it doesn't match any
432 of the except clauses, so we don't have to do anything special here at
433 all to get the desired behavior.
435 2009-11-04 Eric Seidel <eric@webkit.org>
437 Reviewed by David Kilzer.
439 svn-apply's fixChangeLogPatch function seems broken
440 https://bugs.webkit.org/show_bug.cgi?id=30683
442 Update fixChangeLogPatch to be able to handle patches which
443 don't start at line 1.
444 Add unit tests for svn-apply to scm_unittest.py.
446 * Scripts/VCSUtils.pm:
447 * Scripts/modules/scm_unittest.py:
449 2009-11-04 Chris Fleizach <cfleizach@apple.com>
451 Reviewed by Beth Dakin.
453 Need to implement ARIA role="combobox"
454 https://bugs.webkit.org/show_bug.cgi?id=31096
456 * DumpRenderTree/AccessibilityUIElement.cpp:
458 (getIsExpandedCallback):
459 (AccessibilityUIElement::getJSClass):
460 * DumpRenderTree/AccessibilityUIElement.h:
461 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
462 (AccessibilityUIElement::isExpanded):
463 (AccessibilityUIElement::showMenu):
464 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
465 (AccessibilityUIElement::isExpanded):
466 (AccessibilityUIElement::showMenu):
467 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
468 (AccessibilityUIElement::isSelected):
469 (AccessibilityUIElement::isExpanded):
470 (AccessibilityUIElement::showMenu):
472 2009-11-04 Eric Seidel <eric@webkit.org>
474 Reviewed by Adam Barth.
476 commit-queue is crashing when trying to reject patches after unknown failures
477 https://bugs.webkit.org/show_bug.cgi?id=31091
479 * Scripts/bugzilla-tool:
480 - patch['id'] was a copy/paste mistake. This code has no 'patch' variable
481 so we have to find out what the current patch is by asking bugzilla again.
482 - Discovered that this code was also leaking file descriptors, so fixed that.
484 2009-11-04 Adam Roben <aroben@apple.com>
486 Make run-webkit-tests work for the Debug_Internal Windows
489 In Debug_Internal, DumpRenderTree.exe and ImageDiff.exe have no _debug
492 Fixes <http://webkit.org/b/31123>.
494 Reviewed by Sam Weinig.
496 * Scripts/run-webkit-tests: Don't add the _debug suffix in
497 Debug_Internal, either.
499 2009-11-04 Eric Seidel <eric@webkit.org>
501 Reviewed by Adam Barth.
503 committers.py needs a way to store non-bugzilla email addresses
504 https://bugs.webkit.org/show_bug.cgi?id=31037
506 Make Committer and Reviewer constructors take a single email or a list of emails.
507 Change committer_by_bugzilla_email functions to committer_by_email to support lookup by any email.
508 Expose reviewers(), used by validate-committer-lists on bug 30970.
510 * Scripts/modules/committers.py:
511 * Scripts/modules/committers_unittest.py: Added tests for the new code.
513 2009-11-03 Yuzo Fujishima <yuzo@google.com>
515 Reviewed by David Levin.
517 Start/Stop Web Socket and Web Socket Secure servers for layout tests.
518 https://bugs.webkit.org/show_bug.cgi?id=27491
520 The test path determination logic is changed to handle websocket and websocket/ssl cases.
521 The logic for non-http (and now also non-websocket) tests is moved toward the end of the if-elsif statement.
523 Functions to start or stop Web Socket servers are added.
525 * Scripts/run-webkit-tests:
527 2009-11-03 Eric Seidel <eric@webkit.org>
529 No review, just changing wording of log message.
531 Change log string to say "failed" instead of "rejected"
532 when a commit fails due to an out of date checkout.
533 This makes grepping the commit-queue log for rejected patches easier.
535 * Scripts/bugzilla-tool:
537 2009-11-03 Eric Seidel <eric@webkit.org>
539 No review, adding commonly known committers missing from the file.
541 * Scripts/modules/committers.py: Add committers found by looking at SVN records.
543 2009-11-03 Eric Seidel <eric@webkit.org>
545 No review, just sort-order cleanup.
547 * Scripts/modules/committers.py: Sort committers/reviewers alphabetically.
549 2009-11-03 Stephen White <senorblanco@chromium.org>
553 Add myself to committers.py.
555 * Scripts/modules/committers.py:
557 2009-11-03 Robin Dunn <robin@alldunn.com>
559 Reviewed by Kevin Ollviier.
561 Add packaging scripts for Debian-based Linux distros.
563 https://bugs.webkit.org/show_bug.cgi?id=31075
565 * wx/packaging/build-debian-installer.py: Added.
566 * wx/packaging/debian: Added.
568 2009-11-03 Dan Bernstein <mitz@apple.com>
570 Reviewed by Anders Carlsson and Beth Dakin.
572 https://bugs.webkit.org/show_bug.cgi?id=31070
574 Added an 'ondestroy' parameter to the test plug-in. When the plug-in is
575 destroyed, it executes the value of the 'ondestroy' parameter as a
578 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
579 (pluginAllocate): Initialize onDestroy.
580 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Define
582 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
583 (NPP_New): Set onDestroy to the value of the 'ondestroy' parameter, if
585 (NPP_Destroy): Execute the value of 'ondestroy' as a script.
587 2009-11-02 Joanmarie Diggs <joanmarie.diggs@gmail.com>
589 Reviewed by Xan Lopez.
591 https://bugs.webkit.org/show_bug.cgi?id=31035
592 [GTK] some accessibility tests hitting assertion in debug builds
594 Get the correct Gtk+ object before attempting to turn it into an AtkObject.
596 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
597 (AccessibilityController::rootElement):
599 2009-11-02 Chris Fleizach <cfleizach@apple.com>
601 Reviewed by Beth Dakin.
603 Support ARIA "tab" roles
604 https://bugs.webkit.org/show_bug.cgi?id=30842
606 * DumpRenderTree/AccessibilityUIElement.cpp:
607 * DumpRenderTree/AccessibilityUIElement.h:
608 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
609 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
610 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
612 2009-11-01 Eric Seidel <eric@webkit.org>
614 Reviewed by David Levin.
616 buildbots should use --exit-after-N-failures
617 https://bugs.webkit.org/show_bug.cgi?id=30809
619 Make the bots exit after 20 failures to prevent never-ending
620 test runs where every test spends a minute crashing.
622 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
624 2009-11-01 Laszlo Gombos <laszlo.1.gombos@nokia.com>
626 Reviewed by Eric Seidel.
628 Turn on warnings for QtWebKit for gcc
629 https://bugs.webkit.org/show_bug.cgi?id=30958
631 * DumpRenderTree/qt/main.cpp:
632 (crashHandler): Mark function NO_RETURN
634 2009-11-01 Jessie Berlin <jberlin@webkit.org>
636 Adding myself to the committers list.
638 * Scripts/modules/committers.py:
640 2009-10-30 Jon Honeycutt <jhoneycutt@apple.com>
642 Fix an issue that Adam noticed in DRT.
644 Reviewed by Darin Adler.
646 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
647 (AccessibilityUIElement::role):
648 Get the length of the role text, and create a buffer dynamically.
650 2009-10-30 Eric Seidel <eric@webkit.org>
652 No review, rolling out r50105.
653 http://trac.webkit.org/changeset/50105
655 This commit was causing:
656 https://bugs.webkit.org/show_bug.cgi?id=30869
657 We'll re-implement the feature a different way.
659 * Scripts/bugzilla-tool:
661 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com>
663 Test for MSAA: Accessibility of headings is not correct
665 https://bugs.webkit.org/show_bug.cgi?id=30937
667 Reviewed by Adam Roben.
669 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
670 (AccessibilityUIElement::role):
671 Allow the role returned to be a BSTR.
672 (AccessibilityUIElement::description):
673 Fix a copy/paste error.
675 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com>
677 Test for MSAA: Accessibility of links is wrong
679 https://bugs.webkit.org/show_bug.cgi?id=30928
681 Reviewed by Darin Adler.
683 * DumpRenderTree/AccessibilityUIElement.cpp:
684 (getAccessibilityValueCallback):
685 Return the accessibility value.
686 (AccessibilityUIElement::getJSClass):
687 Added "accessibilityValue" value.
689 * DumpRenderTree/AccessibilityUIElement.h:
691 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
692 (AccessibilityUIElement::accessibilityValue):
695 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
696 (AccessibilityUIElement::accessibilityValue):
699 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
700 (AccessibilityUIElement::accessibilityValue):
701 Get the object's value, and return it as a JS string.
703 2009-10-30 Kevin Ollivier <kevino@theolliviers.com>
705 Fix typo in command name used by wx build system.
707 * wx/build/build_utils.py:
709 2009-10-30 Adam Barth <abarth@webkit.org>
711 Reviewed by Darin Adler.
713 Patch v1 is a dumb default name for patches
714 https://bugs.webkit.org/show_bug.cgi?id=30952
716 Let's use "Patch" instead.
718 * Scripts/bugzilla-tool:
720 2009-10-30 Andras Becsi <becsi.andras@stud.u-szeged.hu>
722 Unreviewed trivial buildfix.
724 [Qt] Buildfix for r50333.
726 * DumpRenderTree/qt/DumpRenderTree.pro:
728 2009-10-30 Antonio Gomes <tonikitoo@webkit.org>
730 Reviewed by Holger Freyther.
732 [Qt] Remove qt/WorkQueue.cpp|h in favor of platform independent WorkQueue
733 https://bugs.webkit.org/show_bug.cgi?id=30953
735 DumpRenderTree/WorkQueue and DumpRenderTree/qt/WorkQueue share mostly the
736 same implementation. Some Q_ASSERTs differ from ASSERTs basically. Patch
737 makes qt DRT to share this implementation (as gtk and mac ports do).
739 * DumpRenderTree/qt/DumpRenderTree.pro:
740 * DumpRenderTree/qt/WorkQueue.cpp: Removed.
741 * DumpRenderTree/qt/WorkQueue.h: Removed.
743 2009-10-30 Kenneth Rohde Christiansen <kenneth@webkit.org>
745 Unreviewed potential buildbot fix.
747 Second try: Reset page history before running each test.
749 Apparently the QWebHistory::clear() keeps the current page
750 in history which is not what we want, so we not additionally
751 sets the history capacity to 0 (forces removing everything)
752 and then sets it back to its original value.
754 * DumpRenderTree/qt/DumpRenderTree.cpp:
755 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
757 2009-10-30 Kenneth Rohde Christiansen <kenneth@webkit.org>
759 Unreviewed potential buildbot fix.
761 Reset page history before running each test.
763 * DumpRenderTree/qt/DumpRenderTree.cpp:
764 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
766 2009-10-30 Roland Steiner <rolandsteiner@chromium.org>
768 Reviewed by Eric Seidel.
770 Remove ENABLE_RUBY guards as discussed with Dave Hyatt and Maciej Stachowiak.
772 Bug 28420 - Implement HTML5 <ruby> rendering
773 (https://bugs.webkit.org/show_bug.cgi?id=28420)
775 No new tests (no functional change).
777 * Scripts/build-webkit:
779 2009-10-29 Dan Bernstein <mitz@apple.com>
781 Reviewed by Mark Rowe.
783 Fix “Undefined subroutine” errors in svn-*apply by moving the removeEOL subroutine
784 from the two scripts that define it but don’t use it to the script that uses it but doesn’t
787 * Scripts/VCSUtils.pm:
789 * Scripts/svn-unapply:
791 2009-10-29 Xan Lopez <xlopez@igalia.com>
793 Reviewed by Gustavo Noronha.
795 Use the GTK+ main loop instead of rolling our own mini-version of
798 * DumpRenderTree/gtk/DumpRenderTree.cpp:
801 (webViewLoadFinished):
803 2009-10-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
805 Reviewed by Oliver Hunt.
807 Implement the Qt version of DRT dumpBackForwardList().
809 * DumpRenderTree/qt/DumpRenderTree.cpp:
810 (WebCore::dumpHistoryItem):
811 (WebCore::DumpRenderTree::dumpBackForwardList):
813 2009-10-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
815 Reviewed by Adam Roben.
817 Implement DRT functionality for Qt introduced in
820 - Implemented pathToLocalResource which exposes the functionality of
821 converting a given unix path to the correct location on Windows.
822 - Implemented a way to remove machine-dependent information from paths
823 in layout test results.
825 * DumpRenderTree/qt/DumpRenderTree.cpp:
826 (WebCore::urlSuitableForTestResult):
827 (WebCore::WebPage::javaScriptConsoleMessage):
828 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
829 (LayoutTestController::pathToLocalResource):
830 * DumpRenderTree/qt/LayoutTestControllerQt.h:
832 2009-10-28 Roland Steiner <rolandsteiner@chromium.org>
834 Adding myself to the committers list.
836 * Scripts/modules/committers.py:
838 2009-10-28 Chris Fleizach <cfleizach@apple.com>
840 Adding myself to the committers list.
842 * Scripts/modules/committers.py:
844 2009-10-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
846 Reviewed by Jan Alonzo.
848 [GTK] API to start inspector for a WebView
849 https://bugs.webkit.org/show_bug.cgi?id=22551
851 Use the new inspector API to implement the LayoutTestController
852 interfaces used to test the inspector.
854 * DumpRenderTree/gtk/DumpRenderTree.cpp:
855 (webInspectorInspectWebView):
857 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
858 (LayoutTestController::showWebInspector):
859 (LayoutTestController::closeWebInspector):
860 (LayoutTestController::evaluateInWebInspector):
862 2009-10-28 Shinichiro Hamaji <hamaji@chromium.org>
864 Reviewed by Eric Seidel.
866 [Qt] WebFrame::counterValueForElementById must not be exposed
867 https://bugs.webkit.org/show_bug.cgi?id=30882
869 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
870 (LayoutTestController::counterValueForElementById):
872 2009-10-28 Kenneth Rohde Christiansen <kenneth@webkit.org>
874 Rubberstamped by Oliver Hunt.
878 "warning: ignoring return value of 'char* getcwd(char*, size_t)',
879 declared with attribute warn_unused_result".
881 by actually checking the result. In the case it is null, an
882 error has occoured, so treat it as the other fatal errors.
884 * DumpRenderTree/qt/DumpRenderTree.cpp:
885 (WebCore::DumpRenderTree::initializeFonts):
887 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org>
889 Reviewed by Darin Adler.
891 Provide a way to get counter values with layoutTestContoller
892 https://bugs.webkit.org/show_bug.cgi?id=30555
894 Define layoutTestContoller.counterValueForElementById.
896 * DumpRenderTree/LayoutTestController.cpp:
897 (counterValueForElementByIdCallback):
898 (LayoutTestController::staticFunctions):
899 * DumpRenderTree/LayoutTestController.h:
900 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
901 (LayoutTestController::counterValueForElementById):
903 2009-10-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
905 Rubberstamped by Oliver Hunt.
907 Change two methods to be internal for DRT use only.
909 Part of [Qt] Review all new API in Qt 4.6
910 https://bugs.webkit.org/show_bug.cgi?id=29843#c11
912 * DumpRenderTree/qt/DumpRenderTree.cpp:
913 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
914 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
915 (LayoutTestController::whiteListAccessFromOrigin):
917 2009-10-27 Eric Seidel <eric@webkit.org>
919 Reviewed by Adam Barth.
921 REGRESSION: svn-apply exits(1) when applying a patch with a file add
922 https://bugs.webkit.org/show_bug.cgi?id=30826
925 - Add () around all system() calls.
926 - Use the correct system() == 0 or die instead of system() or die
927 - Add descriptive messages to all die statements.
929 2009-10-27 Steve Block <steveblock@google.com>
933 Adds steveblock@google.com to list of committers.
935 * Scripts/modules/committers.py: Adds steveblock@google.com to list of committers.
937 2009-10-27 Eric Seidel <eric@webkit.org>
939 Reviewed by Adam Barth.
941 svn-apply can exit(0) even on patch failure
942 https://bugs.webkit.org/show_bug.cgi?id=29622
945 - Add a bunch of "or die" statements, hopefully catching all
946 possible cases where failure could still exit(0).
948 2009-10-27 Eric Seidel <eric@webkit.org>
950 Reviewed by Adam Barth.
952 svn-* scripts should share code through VCSUtils.pm
953 https://bugs.webkit.org/show_bug.cgi?id=30791
955 Just moving code into a shared location.
957 * Scripts/VCSUtils.pm:
958 * Scripts/prepare-ChangeLog:
959 * Scripts/resolve-ChangeLogs:
961 * Scripts/svn-create-patch:
962 * Scripts/svn-unapply:
963 * Scripts/update-webkit:
965 2009-10-27 Vadim Zeitlin <vadim@wxwidgets.org>
967 Suppress a huge number of MSVC warnings when building wxWebKit.
969 * wx/build/settings.py:
971 2009-10-26 Eric Seidel <eric@webkit.org>
973 No review, just adding Mike Belshe to the committers list.
975 * Scripts/modules/committers.py:
977 2009-10-26 Laszlo Gombos <laszlo.1.gombos@nokia.com>
979 Reviewed by Darin Adler.
981 Make .rc files compile on Windows without depending on MFC headers
982 https://bugs.webkit.org/show_bug.cgi?id=30750
984 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc: Use
985 windows.h instead of afxres.h because it exists even when MFC is not
986 installed, and is all that's needed here.
988 * FindSafari/FindSafari.rc: Ditto
990 2009-10-24 Eric Seidel <eric@webkit.org>
992 Reviewed by Adam Barth.
994 bugzilla-tool post-diff should know how to mark commit-queue=?
995 https://bugs.webkit.org/show_bug.cgi?id=29202
997 * Scripts/bugzilla-tool:
998 - Add --commit-queue option to post-diff, post-commits and create-bug.
999 * Scripts/modules/bugzilla.py:
1000 - Added support for --commit-queue to add_patch_to_bug and create_bug_with_patch.
1001 - Added _fill_attachment_form to share code between add_patch_to_bug and create_bug_with_patch.
1003 2009-10-23 Eric Seidel <eric@webkit.org>
1005 Reviewed by Adam Barth.
1007 bugzilla-tool commit-queue does not notice modifications to committers.py
1008 https://bugs.webkit.org/show_bug.cgi?id=30084
1010 * Scripts/bugzilla-tool:
1011 - Make commit-queue re-exec itself instead of using while(1).
1012 - Add a --is-relaunch parameter to commit-queue to bypass initialization on re-launch.
1013 - Add a _next_patch() method which calls exec() (and could eventually call update-webkit too).
1015 2009-10-22 Eric Seidel <eric@webkit.org>
1017 Reviewed by Adam Barth.
1019 commit-queue will get stuck on patches if land-patches terminates unexpectedly
1020 https://bugs.webkit.org/show_bug.cgi?id=30634
1022 * Scripts/bugzilla-tool:
1023 - Add a way for land-patches to exit(2) to indicate an error, but one it has handled.
1024 - Make commit-queue auto cq- any patch where land-patches exited anything other than '0' or '2'.
1026 2009-10-26 Yuzo Fujishima <yuzo@google.com>
1028 Reviewed by Eric Seidel.
1030 Upgrade pywebsocket to 0.4.1. This will make reusing LayoutTests/fast/js/resources easier, for example.
1032 https://bugs.webkit.org/show_bug.cgi?id=30763
1034 * pywebsocket/mod_pywebsocket/__init__.py:
1035 * pywebsocket/mod_pywebsocket/dispatch.py:
1036 * pywebsocket/mod_pywebsocket/headerparserhandler.py:
1037 * pywebsocket/mod_pywebsocket/standalone.py:
1038 * pywebsocket/setup.py:
1039 * pywebsocket/test/test_dispatch.py:
1041 2009-10-26 Carol Szabo <carol.szabo@nokia.com>
1043 Reviewed by David Levin.
1045 REGRESSION: 2 failures in run-webkit-unittests
1046 https://bugs.webkit.org/show_bug.cgi?id=30645
1048 * Scripts/modules/cpp_style_unittest.py:
1049 Fixed a few test scenarios which apparently lost some spaces from
1052 2009-10-26 Kevin Ollivier <kevino@theolliviers.com>
1054 wx build fix. Make sure isQt() doesn't return true if --wx was passed to build-webkit.
1056 * Scripts/webkitdirs.pm:
1058 2009-10-26 Csaba Osztrogonác <ossy@webkit.org>
1060 Reviewed by Darin Adler.
1062 Unification of using null device in perl scripts.
1063 https://bugs.webkit.org/show_bug.cgi?id=30572
1065 * Scripts/VCSUtils.pm:
1066 * Scripts/bisect-builds:
1067 * Scripts/resolve-ChangeLogs:
1068 * Scripts/run-iexploder-tests:
1070 * Scripts/run-mangleme-tests:
1071 * Scripts/run-webkit-tests:
1072 * Scripts/webkitdirs.pm:
1073 Using File::Spec->devnull() instead of hard coded /dev/null.
1075 2009-10-26 Eric Seidel <eric@webkit.org>
1077 Reviewed by Holger Freyther.
1079 Reviewers are missing from committers.py
1080 https://bugs.webkit.org/show_bug.cgi?id=30733
1082 * Scripts/modules/committers.py:
1084 2009-10-23 Eric Seidel <eric@webkit.org>
1086 No review, only adding Alice to the list of reviewers.
1088 * Scripts/modules/committers.py:
1090 2009-10-23 Eric Seidel <eric@webkit.org>
1092 Reviewed by Eric Carlson.
1094 fast/media/mq-transform-02.html failed on Leopard Commit Bot
1095 https://bugs.webkit.org/show_bug.cgi?id=30700
1097 * DumpRenderTree/mac/DumpRenderTree.mm:
1098 (resetDefaultsToConsistentValues): Update QuickTime version check.
1100 2009-10-23 Kevin Ollivier <kevino@theolliviers.com>
1102 wxMac 10.4 build fix, needs to link against WebKitSystemInterfaceTiger to get
1103 character measurement APIs that are private on Tiger.
1105 * wx/build/settings.py:
1107 2009-10-22 Gavin Barraclough <barraclough@apple.com>
1109 Reviewed by NOBODY (build fix).
1110 Build fix following bug #30696.
1112 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1113 (LayoutTestController::evaluateScriptInIsolatedWorld):
1115 2009-10-22 Gavin Barraclough <barraclough@apple.com>
1117 Reviewed by Sam Weinig & Geoff Garen.
1119 https://bugs.webkit.org/show_bug.cgi?id=30696
1120 Enable isolated-worlds tests on mac.
1122 Add private interface for DRT to invoke execution in a given world.
1124 * DumpRenderTree/LayoutTestController.cpp:
1125 (evaluateScriptInIsolatedWorldCallback):
1126 (LayoutTestController::staticFunctions):
1127 * DumpRenderTree/LayoutTestController.h:
1128 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1129 (LayoutTestController::evaluateScriptInIsolatedWorld):
1130 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1131 (LayoutTestController::evaluateScriptInIsolatedWorld):
1133 2009-10-21 Eric Seidel <eric@webkit.org>
1135 Reviewed by Adam Barth.
1137 bugzilla-tool's "patch failed to download an apply" error should give more information
1138 https://bugs.webkit.org/show_bug.cgi?id=30632
1140 * Scripts/modules/scm.py:
1141 - Use the common run_command method instead of custom POpen code.
1142 - Make run_command know how to take pipes as input.
1143 * Scripts/modules/scm_unittest.py:
1144 - Add new tests to cover change.
1145 - Also move test_error_handlers into new SCMClassTests so we don't run it 3 times.
1147 2009-10-21 Kent Tamura <tkent@chromium.org>
1149 Unreviewed. Adding myself to the committers list.
1151 * Scripts/modules/committers.py:
1153 2009-10-21 Robin Dunn <robin@alldunn.com>
1155 Reviewed by Kevin Ollivier.
1157 Update the Windows installer builder to work with Vista / Win 7 and with git.
1159 https://bugs.webkit.org/show_bug.cgi?id=30649
1161 * wx/build/build_utils.py:
1162 * wx/packaging/build-mac-installer.py:
1163 * wx/packaging/build-win-installer.py:
1164 * wx/packaging/wxWebKitInstaller.iss.in:
1166 2009-10-21 Alejandro G. Castro <alex@igalia.com>
1168 Reviewed by Gustavo Noronha.
1170 [GTK] Added conditional code to avoid using
1171 gdk_window_get_root_coords if we do not have a gtk+ release newer
1173 https://bugs.webkit.org/show_bug.cgi?id=30636
1175 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
1177 2009-10-21 Shu Chang <Chang.Shu@nokia.com>
1179 Reviewed by Eric Seidel.
1181 [Qt] Added dummy implementation for keepWebHistory()
1182 https://bugs.webkit.org/show_bug.cgi?id=30592
1184 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1185 (LayoutTestController::keepWebHistory):
1186 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1188 2009-10-21 Alejandro G. Castro <alex@igalia.com>
1190 Reviewed by Xan Lopez.
1192 [GTK] Fixed the double click condition, it is not double click if
1193 we move in just in one direction.
1194 https://bugs.webkit.org/show_bug.cgi?id=30636
1196 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
1198 2009-10-21 Alejandro G. Castro <alex@igalia.com>
1200 Reviewed by Xan Lopez.
1202 [GTK] Initialize the events completly before emitting them.
1203 https://bugs.webkit.org/show_bug.cgi?id=30633
1205 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
1207 2009-10-21 Kevin Ollivier <kevino@theolliviers.com>
1209 wx build fix. Fix for when linking using --as-needed with gcc.
1211 * wx/browser/wscript:
1213 2009-10-21 Kevin Ollivier <kevino@theolliviers.com>
1215 wxMac 10.4 build fix. Build and link against a version of libcurl new enough
1216 to support all the features used by CURL backend.
1218 * wx/build/settings.py:
1219 * wx/install-unix-extras:
1221 2009-10-20 Anton Muhin <antonm@chromium.org>
1223 Reviewed by Adam Barth.
1225 Add {ager,antonm,yurys}@chromium.org into committers.py
1226 https://bugs.webkit.org/show_bug.cgi?id=30560
1228 * Scripts/modules/committers.py:
1230 2009-10-20 Kenneth Rohde Christiansen <kenneth@webkit.org>
1232 Reviewed by Tor Arne Vestbø.
1234 Make the Netscape Test plugin available to the Qt launcher.
1236 * Scripts/run-launcher:
1238 2009-10-20 Fumitoshi Ukai <ukai@chromium.org>
1240 Reviewed by David Levin.
1242 Removed WebSocket runtime settings.
1243 https://bugs.webkit.org/show_bug.cgi?id=29896
1245 WebSocket runtime configuration is supported by chromium/v8 only.
1247 * DumpRenderTree/mac/DumpRenderTree.mm:
1248 (resetDefaultsToConsistentValues):
1249 * DumpRenderTree/win/DumpRenderTree.cpp:
1250 (resetDefaultsToConsistentValues):
1252 2009-10-19 Nate Chapin <japhet@chromium.org>
1254 Reviewed by Adam Barth.
1256 Add testFail() to test plugin so we can test our handling of a
1257 plugin invoke call returning false.
1259 https://bugs.webkit.org/show_bug.cgi?id=30239
1261 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add testFail().
1263 (testIdentifierToString): Always return true, since returning false will now cause an exception to be thrown.
1265 2009-10-19 Zan Dobersek <zandobersek@gmail.com>
1267 Reviewed by Gustavo Noronha.
1269 Enable DOM pasting when running layout tests.
1271 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1272 (resetDefaultsToConsistentValues):
1274 2009-10-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
1276 Reviewed by Simon Hausmann.
1278 Use the setPreferredContentsSize method instead
1279 of setFixedContentsSize, as the method has been renamed.
1281 * DumpRenderTree/qt/DumpRenderTree.cpp:
1282 (WebCore::DumpRenderTree::open):
1283 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1284 (LayoutTestController::setFixedContentsSize):
1286 2009-10-16 Steve Falkenburg <sfalken@apple.com>
1288 Reviewed by Dan Bernstein.
1290 https://bugs.webkit.org/show_bug.cgi?id=30456
1291 Fixes for new Debug_All Windows build configuration.
1293 * DumpRenderTree/win/DumpRenderTree.cpp:
1294 (sharedCFURLCache): Use new DEBUG_ALL preprocessor define for library naming.
1295 * DumpRenderTree/win/DumpRenderTree.vcproj: Remove unused DEBUG_WEBKIT_HAS_SUFFIX.
1297 2009-10-16 Eric Seidel <eric@webkit.org>
1299 Reviewed by Adam Barth.
1301 commit-queue status bot should list which buildbot is blocking the queue
1302 https://bugs.webkit.org/show_bug.cgi?id=30452
1304 Add new methods and testing.
1306 * Scripts/bugzilla-tool:
1307 * Scripts/modules/buildbot.py:
1308 * Scripts/modules/buildbot_unittest.py:
1310 2009-10-16 Eric Seidel <eric@webkit.org>
1312 Reviewed by Adam Barth.
1314 run-webkit-tests fails when CWD is not inside a WebKit checkout
1315 https://bugs.webkit.org/show_bug.cgi?id=30451
1317 * Scripts/modules/scm.py: in_working_directory shouldn't throw exceptions on failure.
1318 * Scripts/modules/scm_unittest.py:
1319 - Remove use of original_path (we don't need to restore the CWD).
1320 - Don't use '.' to find the webkit checkout, use __file__ instead.
1322 2009-10-16 Steve Falkenburg <sfalken@apple.com>
1324 Reviewed by Adam Roben.
1326 Add a Debug_All configuration to build entire stack as debug.
1327 Change Debug_Internal to:
1328 - stop using _debug suffix for all WebKit/Safari binaries
1329 - not use _debug as a DLL naming suffix
1330 - use non-debug C runtime lib.
1332 * DumpRenderTree/DumpRenderTree.sln: Add Debug_All configuration.
1333 * DumpRenderTree/win/DumpRenderTree.vcproj: Add Debug_All configuration.
1334 * DumpRenderTree/win/ImageDiff.vcproj: Add Debug_All configuration.
1335 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1336 Add missing debug.vsprops inherited property sheet.
1337 Add Debug_All configuration.
1338 * FindSafari/FindSafari.vcproj: Renamed single configuration from "Release" to "all".
1339 * WinLauncher/WinLauncher.vcproj:
1340 Removed extraneous definitions inherited from vsprops.
1341 Add Debug_All configuration.
1343 2009-10-16 Carol Szabo <carol.szabo@nokia.com>
1345 Reviewed by David Levin.
1347 check-webkit-style is wrong about indent checking in namespaces
1348 in header files and a few other things
1349 https://bugs.webkit.org/show_bug.cgi?id=30362
1351 The few other things include:
1352 + check-webkit-style does not require spaces around the equal sign
1353 inside 'if' statements and around binary operators that take
1355 + check-webkit-style reports false errors for the / operator
1356 when part of a filename in the #include directive.
1358 * Scripts/modules/cpp_style.py:
1359 Improved indentation checking and space checking around
1360 binary operators. While the checks are still not perfect,
1361 they are clearly better than before.
1362 * Scripts/modules/cpp_style_unittest.py:
1363 Added test cases for the newly supported checks and modified old
1364 test cases to match the new guidelines
1366 2009-10-16 Kevin Ollivier <kevino@theolliviers.com>
1368 wxMSW build fix. Link to MSW library needed by PluginPackageWin.cpp.
1370 * wx/build/settings.py:
1372 2009-10-15 Yuzo Fujishima <yuzo@google.com>
1374 Reviewed by David Levin.
1376 Add mod_pywebsocket to test Web Sockets.
1377 http://code.google.com/p/pywebsocket/
1378 https://bugs.webkit.org/show_bug.cgi?id=27490
1380 * pywebsocket/COPYING: Added.
1381 * pywebsocket/MANIFEST.in: Added.
1382 * pywebsocket/README: Added.
1383 * pywebsocket/example/echo_client.py: Added.
1384 * pywebsocket/example/echo_wsh.py: Added.
1385 * pywebsocket/mod_pywebsocket/__init__.py: Added.
1386 * pywebsocket/mod_pywebsocket/dispatch.py: Added.
1387 * pywebsocket/mod_pywebsocket/handshake.py: Added.
1388 * pywebsocket/mod_pywebsocket/headerparserhandler.py: Added.
1389 * pywebsocket/mod_pywebsocket/msgutil.py: Added.
1390 * pywebsocket/mod_pywebsocket/standalone.py: Added.
1391 * pywebsocket/mod_pywebsocket/util.py: Added.
1392 * pywebsocket/setup.py: Added.
1393 * pywebsocket/test/config.py: Added.
1394 * pywebsocket/test/mock.py: Added.
1395 * pywebsocket/test/run_all.py: Added.
1396 * pywebsocket/test/test_dispatch.py: Added.
1397 * pywebsocket/test/test_handshake.py: Added.
1398 * pywebsocket/test/test_mock.py: Added.
1399 * pywebsocket/test/test_msgutil.py: Added.
1400 * pywebsocket/test/test_util.py: Added.
1401 * pywebsocket/test/testdata/handlers/blank_wsh.py: Added.
1402 * pywebsocket/test/testdata/handlers/origin_check_wsh.py: Added.
1403 * pywebsocket/test/testdata/handlers/sub/exception_in_transfer_wsh.py: Added.
1404 * pywebsocket/test/testdata/handlers/sub/no_wsh_at_the_end.py: Added.
1405 * pywebsocket/test/testdata/handlers/sub/non_callable_wsh.py: Added.
1406 * pywebsocket/test/testdata/handlers/sub/plain_wsh.py: Added.
1407 * pywebsocket/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py: Added.
1408 * pywebsocket/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py: Added.
1410 2009-10-15 James Robinson <jamesr@google.com>
1412 Reviewed by David Levin.
1414 Updates check-webkit-style to reflect that code inside a namespace should not be indented, even in a header file.
1416 https://bugs.webkit.org/show_bug.cgi?id=30426
1418 * Scripts/modules/cpp_style.py:
1419 * Scripts/modules/cpp_style_unittest.py:
1421 2009-10-15 Brian Weinstein <bweinstein@apple.com>
1423 Reviewed by Adam Roben.
1425 Fixes <http://webkit.org/b/30411>.
1426 REGRESSION(49485): pdevenv doesn't compile in parallel for non-chromium builds on Windows.
1428 Added a check for isChromium() in pdevenv, and pass /useenv if we are not
1433 2009-10-15 Robin Dunn <robin@alldunn.com>
1435 Reviewed by Kevin Ollivier.
1437 Add Mac package building scripts for wx.
1439 https://bugs.webkit.org/show_bug.cgi?id=30405
1441 * wx/build/build_utils.py:
1442 * wx/build/settings.py:
1443 * wx/packaging/build-mac-installer.py: Added.
1445 2009-10-15 Zan Dobersek <zandobersek@gmail.com>
1447 Reviewed by Gustavo Noronha.
1449 Enable Web Sockets support when running layout tests.
1451 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1452 (resetDefaultsToConsistentValues):
1454 2009-10-15 Xan Lopez <xlopez@igalia.com>
1456 Reviewed by Gustavo Noronha.
1458 Need to initialize event.button.button, since in most cases a
1459 button number is not passed as an argument.
1461 * DumpRenderTree/gtk/EventSender.cpp:
1462 (mouseDownCallback):
1465 2009-10-15 Kevin Ollivier <kevino@theolliviers.com>
1467 wx build fix. More SDK fixes for Mac, make sure we use the SDK corresponding to
1468 the OS if none was explicitly set.
1470 * wx/build/settings.py:
1472 2009-10-14 Pavel Feldman <pfeldman@chromium.org>
1474 Reviewed by Timothy Hatcher.
1476 Web Inspector: enable developers extras within inspector layout tests.
1478 https://bugs.webkit.org/show_bug.cgi?id=30014
1480 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1481 (LayoutTestController::showWebInspector):
1482 (LayoutTestController::closeWebInspector):
1483 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1484 (LayoutTestController::showWebInspector):
1485 (LayoutTestController::closeWebInspector):
1487 2009-10-14 José Millán Soto <jmillan@igalia.com>
1489 Reviewed by Jan Alonzo.
1491 GtkLauncher is using a deprecated signal
1492 https://bugs.webkit.org/show_bug.cgi?id=30364
1494 Modified GtkLauncher to use notify::title signal instead of
1495 deprecated title-changed signal
1497 * GtkLauncher/main.c:
1501 2009-10-14 Brady Eidson <beidson@apple.com>
1503 Reviewed by Sam Weinig.
1505 Don't set the history delegate on new windows that are opened during a test, as the history delegate:
1506 1 - Disables WebHistory
1507 2 - Doesn't make sense in that context anyway.
1509 * DumpRenderTree/win/DumpRenderTree.cpp:
1510 (createWebViewAndOffscreenWindow):
1512 2009-10-14 Kevin Ollivier <kevino@theolliviers.com>
1514 wxMac build fix. Ensure 10.4 compatibility for deps, and allow the user to specify
1515 the SDK to use since Python overrides any user-set value of MACOSX_DEPLOYMENT_TARGET.
1517 * wx/build/settings.py:
1518 * wx/install-unix-extras:
1520 2009-10-14 Brady Eidson <beidson@apple.com>
1522 Reviewed by Sam Weinig.
1524 WebKit Win API should provide a delegate interface for global history.
1525 https://bugs.webkit.org/show_bug.cgi?id=29905
1527 * DumpRenderTree/LayoutTestController.cpp:
1528 (LayoutTestController::LayoutTestController):
1529 * DumpRenderTree/LayoutTestController.h:
1530 (LayoutTestController::dumpHistoryDelegateCallbacks):
1531 (LayoutTestController::setDumpHistoryDelegateCallbacks):
1533 * DumpRenderTree/win/DumpRenderTree.cpp:
1534 (shouldLogHistoryDelegates):
1536 (createWebViewAndOffscreenWindow):
1538 * DumpRenderTree/win/DumpRenderTree.vcproj:
1540 Add the IWebHistoryDelegate to DRT Windows:
1541 * DumpRenderTree/win/HistoryDelegate.cpp: Added.
1543 (HistoryDelegate::HistoryDelegate):
1544 (HistoryDelegate::~HistoryDelegate):
1545 (HistoryDelegate::QueryInterface):
1546 (HistoryDelegate::AddRef):
1547 (HistoryDelegate::Release):
1548 (HistoryDelegate::didNavigateWithNavigationData):
1549 (HistoryDelegate::didPerformClientRedirectFromURL):
1550 (HistoryDelegate::didPerformServerRedirectFromURL):
1551 (HistoryDelegate::updateHistoryTitle):
1552 (HistoryDelegate::populateVisitedLinksForWebView):
1553 * DumpRenderTree/win/HistoryDelegate.h: Added.
1555 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1556 (LayoutTestController::removeAllVisitedLinks):
1558 2009-10-14 Shu Chang <Chang.Shu@nokia.com>
1560 Reviewed by Simon Hausmann.
1562 [Qt] Implement support for setPOSIXLocale on Qt.
1563 https://bugs.webkit.org/show_bug.cgi?id=30268
1565 * DumpRenderTree/qt/DumpRenderTree.cpp:
1566 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1567 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1568 (LayoutTestController::setPOSIXLocale):
1569 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1571 2009-10-13 Stephanie Lewis <slewis@apple.com>
1573 Unreviewed, adding myself to reviewers list.
1575 * Scripts/modules/committers.py:
1577 2009-10-13 Stephanie Lewis <slewis@apple.com>
1579 Reviewed by Mark Rowe.
1581 Fix null assignment so root tests work again.
1583 * Scripts/webkitdirs.pm:
1585 2009-10-13 Andras Becsi <becsi.andras@stud.u-szeged.hu>
1587 Reviewed by Simon Hausmann.
1589 [Qt] Refactor LayoutTestController, EventSender, TextInputController and WorkQueueItem classes
1590 out of jsobjects into separate files to get a more structured DumpRenderTree implementation.
1591 This is done in preparation of implementing missing features in DRT.
1592 No functionality changes made yet.
1594 * DumpRenderTree/qt/DumpRenderTree.cpp:
1595 * DumpRenderTree/qt/DumpRenderTree.pro:
1596 * DumpRenderTree/qt/EventSenderQt.cpp: Added.
1597 (EventSender::EventSender):
1598 (EventSender::mouseDown):
1599 (EventSender::mouseUp):
1600 (EventSender::mouseMoveTo):
1601 (EventSender::leapForward):
1602 (EventSender::keyDown):
1603 (EventSender::contextClick):
1604 (EventSender::scheduleAsynchronousClick):
1605 (EventSender::frameUnderMouse):
1606 * DumpRenderTree/qt/EventSenderQt.h: Added.
1607 (EventSender::clearKillRing):
1608 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Added.
1609 (LayoutTestController::LayoutTestController):
1610 (LayoutTestController::reset):
1611 (LayoutTestController::processWork):
1612 (LayoutTestController::maybeDump):
1613 (LayoutTestController::waitUntilDone):
1614 (LayoutTestController::notifyDone):
1615 (LayoutTestController::windowCount):
1616 (LayoutTestController::clearBackForwardList):
1617 (LayoutTestController::dumpEditingCallbacks):
1618 (LayoutTestController::dumpResourceLoadCallbacks):
1619 (LayoutTestController::queueBackNavigation):
1620 (LayoutTestController::queueForwardNavigation):
1621 (LayoutTestController::queueLoad):
1622 (LayoutTestController::queueReload):
1623 (LayoutTestController::queueScript):
1624 (LayoutTestController::provisionalLoad):
1625 (LayoutTestController::timerEvent):
1626 (LayoutTestController::encodeHostName):
1627 (LayoutTestController::decodeHostName):
1628 (LayoutTestController::setJavaScriptProfilingEnabled):
1629 (LayoutTestController::setFixedContentsSize):
1630 (LayoutTestController::setPrivateBrowsingEnabled):
1631 (LayoutTestController::setPopupBlockingEnabled):
1632 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1633 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1634 (LayoutTestController::numberOfActiveAnimations):
1635 (LayoutTestController::disableImageLoading):
1636 (LayoutTestController::dispatchPendingLoadRequests):
1637 (LayoutTestController::setDatabaseQuota):
1638 (LayoutTestController::clearAllDatabases):
1639 (LayoutTestController::whiteListAccessFromOrigin):
1640 (LayoutTestController::waitForPolicyDelegate):
1641 (LayoutTestController::overridePreference):
1642 * DumpRenderTree/qt/LayoutTestControllerQt.h: Added.
1643 (LayoutTestController::isLoading):
1644 (LayoutTestController::setLoading):
1645 (LayoutTestController::shouldDumpAsText):
1646 (LayoutTestController::shouldDumpBackForwardList):
1647 (LayoutTestController::shouldDumpChildrenAsText):
1648 (LayoutTestController::shouldDumpDatabaseCallbacks):
1649 (LayoutTestController::shouldDumpStatusCallbacks):
1650 (LayoutTestController::shouldWaitUntilDone):
1651 (LayoutTestController::canOpenWindows):
1652 (LayoutTestController::shouldDumpTitleChanges):
1653 (LayoutTestController::waitForPolicy):
1654 (LayoutTestController::dumpAsText):
1655 (LayoutTestController::dumpChildFramesAsText):
1656 (LayoutTestController::dumpDatabaseCallbacks):
1657 (LayoutTestController::dumpStatusCallbacks):
1658 (LayoutTestController::setCanOpenWindows):
1659 (LayoutTestController::dumpBackForwardList):
1660 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
1661 (LayoutTestController::display):
1662 (LayoutTestController::dumpTitleChanges):
1663 (LayoutTestController::dumpSelectionRect):
1664 * DumpRenderTree/qt/TextInputControllerQt.cpp: Added.
1665 (TextInputController::TextInputController):
1666 (TextInputController::doCommand):
1667 * DumpRenderTree/qt/TextInputControllerQt.h: Added.
1668 * DumpRenderTree/qt/WorkQueue.cpp:
1669 * DumpRenderTree/qt/WorkQueue.h:
1670 * DumpRenderTree/qt/WorkQueueItem.h:
1671 * DumpRenderTree/qt/WorkQueueItemQt.cpp: Added.
1674 (ReloadItem::invoke):
1675 (ScriptItem::invoke):
1676 (BackForwardItem::invoke):
1677 * DumpRenderTree/qt/jsobjects.cpp: Move all the above classes into separate files
1678 * DumpRenderTree/qt/jsobjects.h:
1680 2009-10-13 Dmitry Titov <dimich@chromium.org>
1682 Not reviewed, adding myself to the list of reviewers.
1684 * Scripts/modules/committers.py:
1686 2009-10-13 Anders Carlsson <andersca@apple.com>
1688 Reviewed by Sam Weinig.
1690 <rdar://problem/6660507> Add "privacy mode" to Netscape Plug-in API
1692 Make the private browsing mode testable by the test plug-in.
1694 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1695 (pluginGetProperty):
1696 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1697 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1701 2009-10-13 Pavel Feldman <pfeldman@chromium.org>
1703 No review, just adding self to the list of reviewers.
1705 * Scripts/modules/committers.py:
1707 2009-10-12 Pavel Feldman <pfeldman@chromium.org>
1709 Reviewed by Adam Roben.
1711 Web Inspector: Use proper web view in inspector layout
1714 https://bugs.webkit.org/show_bug.cgi?id=30298
1716 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1717 (LayoutTestController::showWebInspector):
1718 (LayoutTestController::closeWebInspector):
1719 (LayoutTestController::evaluateInWebInspector):
1721 2009-10-12 Fumitoshi Ukai <ukai@chromium.org>
1723 Reviewed by Sam Weinig.
1725 Enable experimentalWebSocket in DumpRenderTree for LayoutTest.
1726 https://bugs.webkit.org/show_bug.cgi?id=29841
1728 * DumpRenderTree/mac/DumpRenderTree.mm:
1729 (resetDefaultsToConsistentValues):
1730 * DumpRenderTree/win/DumpRenderTree.cpp:
1731 (resetDefaultsToConsistentValues):
1733 2009-10-12 Yaar Schnitman <yaar@chromium.org>
1735 Reviewed by Dimitri Glazkov.
1737 Chromium Port - Windows
1738 https://bugs.webkit.org/show_bug.cgi?id=29969
1740 * Scripts/pdevenv: removed msvc's /useenv for chromium builds
1741 * Scripts/webkitdirs.pm:
1743 2009-10-12 Csaba Osztrogonac <ossy@webkit.org>
1745 Reviewed by Darin Adler.
1747 jsc scripts cleanup and Qt/GTK fix
1748 https://bugs.webkit.org/show_bug.cgi?id=30288
1750 Duplicated jscPath() moved to webkitdirs.pm.
1751 New jscProductDir() added to webkitdirs.pm instead of duplicated codes.
1752 Configuration added (release/debug) to path for Qt-port on Windows.
1754 * Scripts/run-javascriptcore-tests:
1756 * Scripts/run-sunspider:
1757 * Scripts/sunspider-compare-results:
1758 * Scripts/webkitdirs.pm:
1760 2009-10-11 Adam Barth <abarth@webkit.org>
1762 Unreviewed. Add Collin to committers.py.
1764 * Scripts/modules/committers.py:
1766 2009-10-11 Kevin Ollivier <kevino@theolliviers.com>
1768 wx build fix, add bindings to source/include dirs now that there are sources there.
1770 * wx/build/settings.py:
1772 2009-10-09 Mark Rowe <mrowe@apple.com>
1774 Reviewed by Brady Eidson.
1776 Enable plug-in halting in DumpRenderTree.
1778 We drop the plug-in halting delay to 1 second and opt in the delegate method to never halt plug-ins.
1779 This is sufficient to ensure that the crash covered by <rdar://problem/7290671> no longer occurs.
1781 * DumpRenderTree/mac/DumpRenderTree.mm:
1782 (resetDefaultsToConsistentValues):
1783 * DumpRenderTree/mac/UIDelegate.mm:
1784 (-[UIDelegate webView:shouldHaltPlugin:]):
1786 2009-10-08 Brady Eidson <beidson@apple.com>
1788 Reviewed by Dan Bernstein.
1790 Ask the History Delegate to populate the visited links hash.
1791 <rdar://problem/7285293> and https://webkit.org/b/29904
1793 Add the ability for LayoutTestController to clear all visited links.
1794 Also lets the History Delegate dump visited links, but only if this test specifically cleared them.
1796 * DumpRenderTree/LayoutTestController.cpp:
1797 (LayoutTestController::LayoutTestController):
1798 (removeAllVisitedLinksCallback):
1799 (LayoutTestController::staticFunctions):
1800 * DumpRenderTree/LayoutTestController.h:
1801 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1802 (LayoutTestController::removeAllVisitedLinks):
1804 * DumpRenderTree/mac/HistoryDelegate.mm:
1805 (-[HistoryDelegate populateVisitedLinksForWebView:]):
1807 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1808 (LayoutTestController::removeAllVisitedLinks):
1809 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1810 (LayoutTestController::removeAllVisitedLinks):
1811 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1812 (LayoutTestController::removeAllVisitedLinks):
1815 2009-10-08 Daniel Bates <dbates@webkit.org>
1817 Reviewed by Adam Roben.
1819 https://bugs.webkit.org/show_bug.cgi?id=30175
1821 The Windows DRT equivalent of DoDragDrop (i.e. UIDelegate::doDragDrop) does not return
1822 the OLE drag-and-drop return value like the function it emulates. Currently,
1823 UIDelegate::doDragDrop returns a hard-coded S_OK. Hence, the caller cannot determine
1824 whether the drag-and-drop operation was successful or was cancelled.
1826 This patch fixes this issue by having UIDelegate::doDragDrop return the OLE drag-and-drop
1827 return value according to whether the drop operation was successful or not.
1829 * DumpRenderTree/win/EventSender.cpp:
1830 (doMouseUp): Added parameter oleDragAndDropReturnValue.
1831 (replaySavedEvents): Ditto.
1832 * DumpRenderTree/win/EventSender.h:
1833 * DumpRenderTree/win/UIDelegate.cpp:
1834 (UIDelegate::doDragDrop): Modified to return OLE drag-and-drop return value.
1836 2009-10-08 Alejandro G. Castro <alex@igalia.com>
1838 Reviewed by Xan Lopez.
1840 [GTK] Added support for a parameter setting the button that was
1841 pressed in the mouseDown function.
1842 https://bugs.webkit.org/show_bug.cgi?id=30220
1844 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
1846 2009-10-08 Alejandro G. Castro <alex@igalia.com>
1848 Reviewed by Xan Lopez.
1850 [GTK] Added a line to the bottom of the expected result to match
1851 the output of the test.
1852 https://bugs.webkit.org/show_bug.cgi?id=30220
1854 * LayoutTests/platform/gtk/editing/pasteboard/middle-click-onpaste-
1857 2009-10-08 Adam Roben <aroben@apple.com>
1859 Use QueryInterface to get IWebInspectorPrivate
1861 Fixes <http://webkit.org/b/30215> Make IWebInspectorPrivate be
1862 accessed in a more standard way
1864 Reviewed by John Sullivan and Tim Hatcher.
1866 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1867 (LayoutTestController::evaluateInWebInspector): Get the IWebInspector
1868 by calling IWebViewPrivate::inspector, then use QueryInterface to get
1869 to the IWebInspectorPrivate interface.
1871 2009-10-07 Adam Roben <aroben@apple.com>
1873 Implement DRT support for origin whitelisting
1875 Fixes <http://webkit.org/b/30185>.
1877 Reviewed by Eric Seidel.
1879 * DumpRenderTree/win/DumpRenderTree.cpp:
1880 (resetWebViewToConsistentStateBeforeTesting): Reset any origin
1881 whitelist, to match Mac DRT.
1882 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1883 (LayoutTestController::whiteListAccessFromOrigin): Call through to
1884 IWebViewPrivate::whiteListAccessFromOrigin.
1886 2009-10-07 Brady Eidson <beidson@apple.com>
1888 Reviewed by Darin Adler.
1890 Send title changes to the global history delegate.
1891 <rdar://problem/7285293> and https://webkit.org/b/29904
1893 * DumpRenderTree/mac/HistoryDelegate.mm:
1894 (-[HistoryDelegate webView:updateHistoryTitle:forURL:]):
1896 2009-10-07 Adam Barth <abarth@webkit.org>
1898 Unreviewed. Remove some folks from committers.py who were listed on
1899 the WebKit Team wiki page but who weren't actually listed as commit+.
1900 At some point, we should coorelate this list with the committers
1903 * Scripts/modules/committers.py:
1905 2009-10-07 Adam Barth <abarth@webkit.org>
1907 Unreviewed. Import a bunch of committers from the WebKit Team page on
1908 the wiki into committers.py.
1910 * Scripts/modules/committers.py:
1912 2009-10-07 Adam Barth <abarth@webkit.org>
1914 Unreviewed. Added Aaron Boodman to committers.py.
1916 * Scripts/modules/committers.py:
1918 2009-10-07 Evan Martin <evan@chromium.org>
1920 Reviewed by Darin Adler.
1922 Add API to LayoutTestController for re/setting the system locale.
1923 https://bugs.webkit.org/show_bug.cgi?id=18994
1925 * DumpRenderTree/LayoutTestController.cpp:
1926 (setLocaleCallback):
1927 (LayoutTestController::staticFunctions):
1928 (LayoutTestController::setLocale):
1929 * DumpRenderTree/LayoutTestController.h:
1931 2009-10-06 Shinichiro Hamaji <hamaji@chromium.org>
1933 Reviewed by Jan Alonzo.
1935 [Layout tests] [Gtk] Gtk DumpRenderTree should use WebKit test fonts
1936 https://bugs.webkit.org/show_bug.cgi?id=29689
1938 Build fix by adding -lfontconfig for DumpRenderTree.
1942 2009-10-07 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
1944 Reviewed by Simon Hausmann.
1946 Re-enable use-remote-links-to-tests for Qt. Disabled in r46416.
1948 * Scripts/run-webkit-tests:
1950 2009-10-07 Xan Lopez <xlopez@igalia.com>
1952 Reviewed by Gustavo Noronha.
1954 "delete" in EventSender is the backspace key, not the delete one.
1956 * DumpRenderTree/gtk/EventSender.cpp:
1959 2009-10-07 Xan Lopez <xlopez@igalia.com>
1961 Reviewed by Gustavo Noronha.
1963 getChildrenWithRange expects as last parameter the end index, not
1964 the length of the range. Correct this and clarify the variable
1965 names to reflect how the code works.
1967 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
1968 (AccessibilityUIElement::getChildrenWithRange):
1969 (AccessibilityUIElement::getChildAtIndex):
1971 2009-10-06 Mark Rowe <mrowe@apple.com>
1973 Reviewed by Simon Fraser.
1975 <http://webkit.org/b/30138> update-webkit-localizable-strings assumes that WebKitTools/Scripts is in the PATH
1977 * Scripts/update-webkit-localizable-strings: Use an explicit path to extract-localizable-strings based on the
1978 the fact we have already changed the working directory to the top of the open source tree.
1980 2009-10-06 Julie Parent <jparent@chromium.org>
1982 Unreviewed. Fixing the entry for myself in committers.py to use my bugzilla email,
1983 rather than my committer email.
1985 * Scripts/modules/committers.py:
1987 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
1989 Reviewed by Eric Seidel.
1991 [Qt] LayoutTestController: Reset m_dumpStatusCallbacks to false in reset().
1993 r49189 added support for the 'dumpStatusCallbacks' setting but didn't reset
1994 it after each layout test as it should do, making the DRT dump additional output
1995 for all of the subsequent layout tests.
1997 * DumpRenderTree/qt/jsobjects.cpp:
1998 (LayoutTestController::reset):
2000 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
2002 Reviewed by Simon Hausmann.
2004 [Qt] Implement layoutTestController.dumpStatusCallbacks() and unskip the
2005 fast/dom/assign-to-window-status.html test, which is passing as a result.
2007 https://bugs.webkit.org/show_bug.cgi?id=30127
2009 * DumpRenderTree/qt/DumpRenderTree.cpp:
2010 (WebCore::DumpRenderTree::DumpRenderTree):
2011 (WebCore::DumpRenderTree::statusBarMessage):
2012 * DumpRenderTree/qt/DumpRenderTree.h:
2013 * DumpRenderTree/qt/jsobjects.h:
2014 (LayoutTestController::shouldDumpStatusCallbacks):
2015 (LayoutTestController::dumpStatusCallbacks):
2017 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
2019 Reviewed by Simon Hausmann.
2021 [Qt] The implementation of EventSender::mouseUp() and EventSender::mouseDown()
2022 ignores the argument indicating which mouse button to trigger.
2023 https://bugs.webkit.org/show_bug.cgi?id=30048
2025 This affects the fast/events/mouse-click-events.html layout test.
2027 * DumpRenderTree/qt/jsobjects.cpp:
2028 (EventSender::mouseDown):
2029 (EventSender::mouseUp):
2030 * DumpRenderTree/qt/jsobjects.h:
2032 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
2034 Reviewed by Simon Hausmann.
2036 [Qt] Fix the EventSender::keyDown() implementation
2037 https://bugs.webkit.org/show_bug.cgi?id=30043
2039 It should post both a key press event and a key release event,
2040 just like other ports do.
2042 * DumpRenderTree/qt/jsobjects.cpp:
2043 (EventSender::keyDown):
2045 2009-10-05 Kevin Ollivier <kevino@theolliviers.com>
2047 wx build fix. Add jpeg to the list of libs to link against.
2049 * wx/build/settings.py:
2051 2009-10-05 Jakub Wieczorek <faw217@gmail.com>
2053 Reviewed by Simon Hausmann.
2055 [Qt] EventSender::keyDown() cannot send function-key events.
2056 https://bugs.webkit.org/show_bug.cgi?id=30044
2058 This affects the fast/events/keydown-function-keys.html layout test.
2060 * DumpRenderTree/qt/jsobjects.cpp:
2061 (EventSender::keyDown):
2063 2009-10-05 Vadim Zeitlin <vadim@wxwidgets.org>
2065 Added --wx-compiler-prefix waf option to allow building wxWebKit with
2066 wxWidgets built using "nmake COMPILER_PREFIX=something-non-default".
2068 * wx/build/settings.py:
2069 * wx/build/wxpresets.py:
2071 2009-10-05 Pavel Feldman <pfeldman@chromium.org>
2073 Reviewed by Timothy Hatcher.
2075 Web Inspector: add testing harness for Web Inspector.
2077 https://bugs.webkit.org/show_bug.cgi?id=30010
2079 * DumpRenderTree/LayoutTestController.cpp:
2080 (showWebInspectorCallback):
2081 (closeWebInspectorCallback):
2082 (evaluateInWebInspectorCallback):
2083 (LayoutTestController::staticFunctions):
2084 * DumpRenderTree/LayoutTestController.h:
2085 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2086 (LayoutTestController::showWebInspector):
2087 (LayoutTestController::closeWebInspector):
2088 (LayoutTestController::evaluateInWebInspector):
2089 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2090 (LayoutTestController::showWebInspector):
2091 (LayoutTestController::closeWebInspector):
2092 (LayoutTestController::evaluateInWebInspector):
2093 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2094 (LayoutTestController::showWebInspector):
2095 (LayoutTestController::closeWebInspector):
2096 (LayoutTestController::evaluateInWebInspector):
2097 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2098 (LayoutTestController::showWebInspector):
2099 (LayoutTestController::closeWebInspector):
2100 (LayoutTestController::evaluateInWebInspector):
2102 2009-10-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2104 Reviewed by Ariyha Hidayat.
2106 Pass arguments to system() as a string instead of array
2108 When passed as an array entries with a space fail to translate
2109 to two arguments to the child process, so instead of manually
2110 splitting all the entries in @buildArgs we pass the whole thing
2111 as a string instead.
2113 * Scripts/webkitdirs.pm:
2115 2009-10-04 Carol Szabo <carol.szabo@nokia.com>
2117 Reviewed by David Levin.
2119 check-webkit-style misses whitespace errors for operators:
2120 <<, >>, <<=, >>=, &=, |=, +=, -=, *=, /=, /, |, &&, ||.
2121 https://bugs.webkit.org/show_bug.cgi?id=30021
2123 * Scripts/modules/cpp_style.py:
2124 Added the operators mentioned above to the same list as == and !=.
2126 2009-10-02 Julie Parent <jparent@chromium.org>
2130 Adding myself and Ojan Vafai as committers, because we are committers.
2132 * Scripts/modules/committers.py:
2134 2009-10-02 Brian Weinstein <bweinstein@apple.com>
2136 Reviewed by Adam Roben.
2138 svn-create-patch should have an --ignore-changelogs to not add ChangeLogs to the diff,
2139 this will help the patch merging process when TryBots are used.
2141 * Scripts/svn-create-patch:
2143 2009-10-02 Jakub Wieczorek <faw217@gmail.com>
2145 Reviewed by Simon Hausmann.
2147 [Qt] Implement layoutTestController.overridePreference().
2148 https://bugs.webkit.org/show_bug.cgi?id=29970
2150 * DumpRenderTree/qt/DumpRenderTree.cpp:
2151 (WebCore::WebPage::WebPage):
2152 (WebCore::WebPage::resetSettings):
2153 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
2154 * DumpRenderTree/qt/jsobjects.cpp:
2155 (LayoutTestController::reset):
2156 (LayoutTestController::setPrivateBrowsingEnabled):
2157 (LayoutTestController::setPopupBlockingEnabled):
2158 (LayoutTestController::overridePreference):
2159 * DumpRenderTree/qt/jsobjects.h:
2161 2009-10-01 Chris Marrin <cmarrin@apple.com>
2163 Reviewed by Oliver Hunt.
2165 Turn on ENABLE_3D_CANVAS in TOT
2166 https://bugs.webkit.org/show_bug.cgi?id=29906
2168 * Scripts/build-webkit:
2170 2009-10-01 Kenneth Rohde Christiansen <kenneth@webkit.org>
2172 Rubberstamped by Simon Hausmann.
2174 Enable HTTP tests for Qt
2176 * Scripts/run-webkit-tests:
2178 2009-10-01 Yaar Schnitman <yaar@chromium.org>
2180 Reviewed by Dimitri Glazkov.
2182 build-webkit --chromium now also works on cygwin.
2184 https://bugs.webkit.org/show_bug.cgi?id=29973
2186 * Scripts/webkitdirs.pm:
2188 2009-10-01 Zoltan Horvath <zoltan@webkit.org>
2190 Reviewed by Simon Hausmann.
2192 [Qt] Don't use TCmalloc in DumpRenderTree
2193 https://bugs.webkit.org/show_bug.cgi?id=27029
2195 Add USE_SYSTEM_MALLOC macro to the DRT's profile to avoid using TCmalloc in Qt's DRT.
2197 * DumpRenderTree/qt/DumpRenderTree.pro:
2199 2009-10-01 Jakub Wieczorek <faw217@gmail.com>
2201 Reviewed by Simon Hausmann.
2203 [Qt] Implement eventSender.scheduleAsynchronousClick().
2205 https://bugs.webkit.org/show_bug.cgi?id=29931
2207 * DumpRenderTree/qt/jsobjects.cpp:
2208 (EventSender::scheduleAsynchronousClick):
2209 * DumpRenderTree/qt/jsobjects.h:
2211 2009-10-01 Jakub Wieczorek <faw217@gmail.com>
2213 Reviewed by Simon Hausmann.
2215 [Qt] Implement setPopupBlockingEnabled() in the LayoutTestController and remove
2216 fast/events/open-window-from-another-frame.html from the Skipped list.
2218 https://bugs.webkit.org/show_bug.cgi?id=29930
2220 * DumpRenderTree/qt/jsobjects.cpp:
2221 (LayoutTestController::setPopupBlockingEnabled):
2222 * DumpRenderTree/qt/jsobjects.h:
2224 2009-09-30 Cameron McCormack <cam@mcc.id.au>
2228 Added myself to the list of committers.
2230 * Scripts/modules/committers.py:
2232 2009-09-30 Eric Seidel <eric@webkit.org>
2234 No review, just adding Geoff to the list of reviewers.
2236 * Scripts/modules/committers.py:
2238 2009-09-30 Dan Bernstein <mitz@apple.com>
2240 Reviewed by Sam Weinig.
2242 Added the WebKit Layout Tests fonts that are referenced in
2243 LayoutTests/platform/win/css2.1/resources/Mac-compatible-font-fallback.css
2245 * DumpRenderTree/fonts/WebKit Layout Tests 2.ttf: Added.
2246 * DumpRenderTree/fonts/WebKit Layout Tests.ttf: Added.
2248 2009-09-30 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
2250 Reviewed by David Kilzer.
2252 Make sunspider scripts work on Windows platform.
2253 https://bugs.webkit.org/show_bug.cgi?id=29656
2255 * Scripts/run-sunspider: Perl scripts invoked with same Perl interpreter.
2256 * Scripts/sunspider-compare-results: Perl scripts invoked with same Perl interpreter.
2257 * Scripts/webkitdirs.pm: currentPerlPath() added.
2259 2009-09-29 Brady Eidson <beidson@apple.com>
2261 Rubberstamped by Dan Bernstein.
2263 Fix license and some sorting in new files.
2265 * DumpRenderTree/mac/HistoryDelegate.h:
2266 * DumpRenderTree/mac/HistoryDelegate.mm:
2268 2009-09-29 Yaar Schnitman <yaar@chromium.org>
2270 Reviewed by David Kilzer.
2272 Fixed how error codes are handled.
2273 https://bugs.webkit.org/show_bug.cgi?id=29898
2275 * Scripts/update-webkit:
2276 * Scripts/update-webkit-chromium:
2278 2009-09-29 Brady Eidson <beidson@apple.com>
2280 Reviewed by John Sullivan.
2282 Updated way-out-of-date sorting throughout the dump methods/flags.
2284 * DumpRenderTree/LayoutTestController.cpp:
2285 (LayoutTestController::LayoutTestController):
2286 (dumpAsPDFCallback):
2287 (dumpAsTextCallback):
2288 (dumpFrameLoadCallbacksCallback):
2289 (dumpResourceLoadCallbacksCallback):
2290 (LayoutTestController::staticFunctions):
2292 * DumpRenderTree/LayoutTestController.h:
2293 (LayoutTestController::dumpAsText):
2294 (LayoutTestController::setDumpAsText):
2295 (LayoutTestController::dumpFrameLoadCallbacks):
2296 (LayoutTestController::setDumpFrameLoadCallbacks):
2297 (LayoutTestController::dumpSelectionRect):
2298 (LayoutTestController::setDumpSelectionRect):
2299 (LayoutTestController::dumpSourceAsWebArchive):
2300 (LayoutTestController::setDumpSourceAsWebArchive):
2301 (LayoutTestController::dumpStatusCallbacks):
2302 (LayoutTestController::setDumpStatusCallbacks):
2303 (LayoutTestController::dumpTitleChanges):
2304 (LayoutTestController::setDumpTitleChanges):
2305 (LayoutTestController::dumpWillCacheResponse):
2306 (LayoutTestController::setDumpWillCacheResponse):
2308 2009-09-29 Brady Eidson <beidson@apple.com>
2310 Reviewed by John Sullivan.
2312 WebKit Mac API should provide a delegate interface for global history.
2313 <rdar://problem/7042773> and https://webkit.org/b/29904
2315 Adding the dumping of global history delegate callbacks.
2317 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2319 Automatically dump history delegate callbacks for tests with "globalhistory/" in their URL:
2320 * DumpRenderTree/mac/DumpRenderTree.mm:
2321 (createWebViewAndOffscreenWindow):
2322 (allocateGlobalControllers):
2323 (shouldLogFrameLoadDelegates):
2324 (shouldLogHistoryDelegates):
2327 Dump history delegate callbacks:
2328 * DumpRenderTree/mac/HistoryDelegate.h: Added.
2329 * DumpRenderTree/mac/HistoryDelegate.mm: Added.
2330 (-[HistoryDelegate webView:didNavigateWithNavigationData:inFrame:]):
2331 (-[HistoryDelegate webView:didPerformClientRedirectFromURL:toURL:inFrame:]):
2332 (-[HistoryDelegate webView:didPerformServerRedirectFromURL:toURL:inFrame:]):
2334 2009-09-29 Daniel Bates <dbates@webkit.org>
2336 Reviewed by Adam Roben.
2338 https://bugs.webkit.org/show_bug.cgi?id=28902
2340 Fixes an issue where the drop effect returned by Window Dump Render Tree
2341 was always DROPEFFECT_NONE (since it was hard coded to do so).
2343 This patch corrects this issue by determining the actual drop effect
2344 performed by the corresponding drag-and-drop operation so that we can
2347 * DumpRenderTree/win/DraggingInfo.h: Added field m_dropEffect to store performed drop effect.
2348 (DraggingInfo::DraggingInfo):
2349 (DraggingInfo::performedDropEffect): Added method.
2350 (DraggingInfo::setPerformedDropEffect): Added method.
2351 * DumpRenderTree/win/EventSender.cpp:
2352 (doMouseUp): Calls method DraggingInfo::setPerformedDropEffect with performed drop effect.
2353 Moved delete draggingInfo to UIDelegate::doDragDrop.
2354 * DumpRenderTree/win/UIDelegate.cpp:
2355 (UIDelegate::doDragDrop): Sets performedDropEffect to DraggingInfo::performedDropEffect().
2357 2009-09-29 Dan Bernstein <mitz@apple.com>
2359 Reviewed by Adam Roben.
2361 Remove copying of unnecessary or nonexistent files from the ImageDiff
2364 * DumpRenderTree/win/ImageDiff.vcproj:
2366 2009-09-29 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
2368 Reviewed by David Kilzer.
2370 [Qt] Make build-webkit script work on Windows
2371 https://bugs.webkit.org/show_bug.cgi?id=29802
2373 * Scripts/run-webkit-tests:
2374 * Scripts/webkitdirs.pm:
2375 - Removed unnecessary -p switch for mkdir on Windows.
2376 - Use canonical path, which uses slashes or backslashes depends on platform.
2377 - isWindows() only test for Windows and not for Cyqwin.
2379 2009-09-29 Andras Becsi <becsi.andras@stud.u-szeged.hu>
2381 Reviewed by Simon Hausmann.
2383 Fix time measurement in build-webkit after refactoring done in r48853.
2385 * Scripts/build-webkit:
2387 2009-09-29 Andras Becsi <becsi.andras@stud.u-szeged.hu>
2389 Reviewed by Tor Arne Vestbø.
2391 [Qt] Default font size reconciliation to 16px/13px to match other platform's de-facto standard.
2392 This fixes https://bugs.webkit.org/show_bug.cgi?id=19674.
2394 * DumpRenderTree/qt/DumpRenderTree.cpp:
2395 (WebCore::WebPage::WebPage):
2397 2009-09-29 Jakub Wieczorek <faw217@gmail.com>
2399 Reviewed by Simon Hausmann.
2401 [Qt] Implement eventSender.contextClick().
2402 https://bugs.webkit.org/show_bug.cgi?id=29821
2404 * DumpRenderTree/qt/jsobjects.cpp:
2405 (EventSender::contextClick):
2406 * DumpRenderTree/qt/jsobjects.h:
2408 2009-09-28 Fumitoshi Ukai <ukai@chromium.org>
2410 Reviewed by Eric Seidel.
2412 Add experimentalWebSocketsEnabled in WebPreferences.
2413 https://bugs.webkit.org/show_bug.cgi?id=28941
2415 * DumpRenderTree/mac/DumpRenderTree.mm:
2416 (resetDefaultsToConsistentValues):
2417 * DumpRenderTree/win/DumpRenderTree.cpp:
2418 (resetDefaultsToConsistentValues):
2420 2009-09-28 Yaar Schnitman <yaar@chromium.org>
2422 Reviewed by David Kilzer.
2424 Integrated chromium port building into webkit tools update-webkit and
2427 https://bugs.webkit.org/show_bug.cgi?id=29749
2429 * Scripts/build-webkit: When --chromium is specified, will build
2430 the chromium port (currently only Mac is supported).
2431 * Scripts/update-webkit: When --chromium is specified, delegates to
2432 update-webkit-chromium.
2433 * Scripts/webkitdirs.pm: Added chromium specific defs.
2434 * Scripts/update-webkit-chromium: Uses gclient and gyp to fetch
2435 chromium port's dependencies and update its project files.
2437 2009-09-28 Fumitoshi Ukai <ukai@chromium.org>
2441 Add myself to list of committers.
2443 * Scripts/modules/committers.py:
2445 2009-09-27 Jakub Wieczorek <faw217@gmail.com>
2447 Reviewed by Darin Adler.
2449 run-webkit-tests: Do not strip the metrics when there is no expected result for a test.
2450 https://bugs.webkit.org/show_bug.cgi?id=29771
2452 * Scripts/run-webkit-tests:
2454 2009-09-27 Jakub Wieczorek <faw217@gmail.com>
2456 Reviewed by Simon Hausmann.
2458 [Qt] Implement layoutTestController.waitForPolicyDelegate.
2459 https://bugs.webkit.org/show_bug.cgi?id=25037
2461 * DumpRenderTree/qt/DumpRenderTree.cpp:
2462 (WebCore::WebPage::acceptNavigationRequest):
2463 * DumpRenderTree/qt/DumpRenderTree.pro:
2464 * DumpRenderTree/qt/jsobjects.cpp:
2465 (LayoutTestController::reset):
2466 (LayoutTestController::notifyDone):
2467 (LayoutTestController::waitForPolicyDelegate):
2468 * DumpRenderTree/qt/jsobjects.h:
2469 (LayoutTestController::waitForPolicy):
2471 2009-09-26 David Kilzer <ddkilzer@apple.com>
2473 <http://webkit.org/b/29764> mark-bug-fixed: add -o|--open switch
2475 Reviewed by Eric Seidel.
2477 The -o|--open switch uses the open(1) command on Mac OS X to
2478 open the bug URL in the default web browser. If there are
2479 similar mechanisms on other platforms, they may be added later.
2481 * Scripts/mark-bug-fixed:
2482 (MarkBugFixed.__init__): Added -o|--open switch to list of parse
2484 (MarkBugFixed._determine_bug_id_and_svn_revision): Moved logging
2485 code into main() and extracted prompting code into
2486 _prompt_user_for_correctness().
2487 (MarkBugFixed._open_bug_in_web_browser): Added.
2488 (MarkBugFixed._prompt_user_for_correctness): Added.
2489 (MarkBugFixed.main): Added logging code from
2490 _determine_bug_id_and_svn_revision(). Added code to call
2491 _open_bug_in_web_browser() if the switch is set. Added code to
2492 call _prompt_user_for_correctness() when needed.
2493 * Scripts/modules/bugzilla.py:
2494 (Bugzilla.short_bug_url_for_bug_id): Added.
2496 2009-09-26 David Kilzer <ddkilzer@apple.com>
2498 svn-unapply and svn-apply don't work when used outside multiple svn working directories
2500 <http://webkit.org/b/29744>
2501 <rdar://problem/7252905>
2503 Reviewed by Eric Seidel.
2505 Some users have a workflow where svn-create-patch, svn-apply and
2506 svn-unapply are used outside of multiple svn working
2507 directories. Instead of aborting the scripts in these cases,
2508 print a warning and assume that Subversion is being used.
2510 * Scripts/VCSUtils.pm:
2511 (determineVCSRoot): Call warn() instead of die() if both isGit()
2512 and isSVN() initially return false. Set $VCSUtils::isSVN to 1
2513 to enforce the assumption about Subversion, then return
2515 * Scripts/svn-apply: Switch to using isGit() and isSVN() from
2516 VCSUtils.pm. They both already cache their values and checking
2517 here is redundant since determineVCSRoot() is called later.
2519 2009-09-26 Zan Dobersek <zandobersek@gmail.com>
2521 Reviewed by Gustavo Noronha.
2523 [Layout tests] [Gtk] Gtk DumpRenderTree should use WebKit test fonts
2524 https://bugs.webkit.org/show_bug.cgi?id=29689
2526 Load test fonts through FontConfig before each test.
2527 This ensures a more proper rendering of the tests.
2529 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2533 * DumpRenderTree/gtk/fonts.conf: Copied from WebKitTools/DumpRenderTree/qt/fonts.conf.
2536 2009-09-25 David Kilzer <ddkilzer@apple.com>
2538 <http://webkit.org/b/29718> mark-bug-fixed: add -u|--update-only switch
2540 Reviewed by Eric Seidel.
2542 * Scripts/mark-bug-fixed:
2543 (MarkBugFixed.__init__): Added -u|--update-only switch to list
2545 (MarkBugFixed.main): When -u|--update-only is specified, add a
2546 comment to the bug without marking it Resolved/Fixed.
2548 2009-09-25 Darin Adler <darin@apple.com>
2550 Reviewed by Geoffrey Garen.
2552 * Scripts/prepare-ChangeLog: Leave files from the script-tests directory
2553 out, just as we do for the resources directory.
2555 2009-09-25 Adam Barth <abarth@webkit.org>
2557 Unreviewed. Added Tony to committers.py because he's a
2560 * Scripts/modules/committers.py:
2562 2009-09-25 Eric Seidel <eric@webkit.org>
2564 Reviewed by Simon Fraser.
2566 REGRESSION: media/video-pause-empty-events.html is occasionally timing out on bots
2567 https://bugs.webkit.org/show_bug.cgi?id=28624
2569 Disable hardware compositing on Leopard for versions of QuickTime 7.6.4 and older.
2571 * DumpRenderTree/mac/DumpRenderTree.mm:
2572 (resetDefaultsToConsistentValues):
2574 2009-09-25 Eric Seidel <eric@webkit.org>
2576 Reviewed by Adam Barth.
2578 commit-queue should auto-retry patches which fail to commit due to out of date files
2579 https://bugs.webkit.org/show_bug.cgi?id=28316
2581 * Scripts/bugzilla-tool:
2582 - Handle new CheckoutNeedsUpdate exception.
2583 * Scripts/modules/logging_unittest.py:
2584 - Call the ScriptError constructor correctly (this test had regressed).
2585 * Scripts/modules/scm.py:
2586 - Added the ability to define custom error handlers for run_command
2587 and added a commit_error_handler which throws CheckoutNeedsUpdate
2588 instead of ScriptError.
2589 - Re-ordered ScriptError constructor arguments to make ScriptError("message text") usage possible.
2590 * Scripts/modules/scm_unittest.py:
2591 - Added tests of new error handlers.
2593 2009-09-25 Eric Seidel <eric@webkit.org>
2595 Reviewed by Adam Barth.
2597 commit-queue should give better feedback when failing a patch
2598 https://bugs.webkit.org/show_bug.cgi?id=29316
2600 * Scripts/bugzilla-tool:
2601 - Update ScriptError uses to the new constructor format.
2602 - Move CommitQueue._run_command to WebKitLandingScripts.run_command_with_teed_output
2603 so that we can print to both stdout as well as an output buffer for error reporting.
2604 - Update run_and_throw_if_fail to use teed output so that it can report the "output" as part of ScriptError.
2605 - Use e.message_with_output() when failing a patch (this is the real fix here).
2606 I also removed use of "This patch will require manual commit." as that's not always true.
2607 - Add missing word "bug" from log message.
2608 * Scripts/modules/scm.py:
2609 - Make ScriptError save a bunch more data so that error messages can be nicer.
2610 - Update ScriptError callers.
2612 2009-09-24 John Gregg <johnnyg@google.com>
2614 Reviewed by Eric Seidel.
2616 Enable switch for notifications (experimental) in Page Settings
2617 https://bugs.webkit.org/show_bug.cgi?id=28930
2619 Now that desktop notifications are controlled by run-time switch,
2620 set that switch to true for DumpRenderTree.
2622 * DumpRenderTree/mac/DumpRenderTree.mm:
2623 (resetDefaultsToConsistentValues):
2624 * DumpRenderTree/win/DumpRenderTree.cpp:
2625 (resetDefaultsToConsistentValues):
2626 * DumpRenderTree/win/UIDelegate.cpp:
2627 (UIDelegate::QueryInterface):
2629 2009-09-24 Kevin Ollivier <kevino@theolliviers.com>
2631 wx build fix. SnowLeopard fixes for Mac dependencies.
2633 * wx/build/build_utils.py:
2634 * wx/build/settings.py:
2635 * wx/install-unix-extras:
2637 2009-09-24 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2639 Reviewed by Oliver Hunt.
2641 Add support for DRT to send mouse wheel events.
2643 https://bugs.webkit.org/show_bug.cgi?id=29348
2644 [Gtk] Scrollwheel on horizontal scrollbars should slide horizontally
2646 * DumpRenderTree/gtk/EventSender.cpp:
2647 (mouseWheelToCallback):
2649 2009-09-17 Eric Seidel <eric@webkit.org>
2651 Reviewed by David Levin.
2653 commit-queue needs web-based status reporting
2654 https://bugs.webkit.org/show_bug.cgi?id=29307
2656 Add a first-pass web-based status for the commit-queue.
2657 The bot is currently reachable at:
2658 http://webkit-commit-queue.appspot.com/
2660 * CommitQueueStatus/app.yaml: Added.
2661 - Application description file required by App Engine.
2662 * CommitQueueStatus/filters/__init__.py: Added.
2663 - Required by python to treat 'filters' as a module.
2664 * CommitQueueStatus/filters/webkit_extras.py: Added.
2665 - Support for turning 'bug 123' and 'patch 123' into links.
2666 This lets us use plain text strings in our logs yet display nice HTML (help prevent XSS attacks on the page).
2667 * CommitQueueStatus/index.html: Added.
2668 * CommitQueueStatus/index.yaml: Added.
2669 - Some auto-generated file from app engine.
2670 * CommitQueueStatus/queue_status.py: Added.
2671 - The core logic of this bot. We could eventually split this file out into pieces.
2672 * CommitQueueStatus/stylesheets/main.css: Added.
2673 - Some basic lame-o CSS to make the page look less awful.
2674 * CommitQueueStatus/update_status.html: Added.
2675 - The form that the commit-queue (or a human) can use to update the status.
2676 * Scripts/bugzilla-tool:
2677 - Add some very basic update_status calls.
2678 * Scripts/modules/statusbot.py: Added.
2679 - Knows how to post to the CommitQueueStatus web application.
2681 2009-09-24 David Kilzer <ddkilzer@apple.com>
2683 <http://webkit.org/b/29712> mark-bug-fixed: add -m|--comment switch
2685 Reviewed by Adam Roben.
2687 * Scripts/mark-bug-fixed:
2688 (MarkBugFixed.__init__): Added -m|--comment switch to list of
2690 (MarkBugFixed.main): When specified, prepend comment from
2691 -m|--comment command-line switch to the bug comment.
2693 2009-09-24 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2695 Reviewed by Jan Alonzo.
2697 [GTK] DRT must display window instead of just realizing, to enable synthesizing events correctly
2698 https://bugs.webkit.org/show_bug.cgi?id=29693
2700 Show the window, to be able to synthesize events correctly.
2702 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2706 2009-09-24 Oliver Hunt <oliver@apple.com>
2708 Reviewed by NOBODY(rollout)
2710 Roll out r48712 as it is incorrect.
2712 * DumpRenderTree/mac/ObjCController.m:
2713 (+[ObjCController isSelectorExcludedFromWebScript:]):
2714 (+[ObjCController webScriptNameForSelector:]):
2716 2009-09-24 Benjamin Poulain <benjamin.poulain@nokia.com>
2718 Reviewed by Eric Seidel.
2720 https://bugs.webkit.org/show_bug.cgi?id=29005
2721 The indices of RuntimeArray should be enumerated like for a regular array.
2723 * DumpRenderTree/mac/ObjCController.m:
2724 (+[ObjCController isSelectorExcludedFromWebScript:]):
2725 (+[ObjCController webScriptNameForSelector:]):
2726 (-[ObjCController arrayOfString]):
2728 2009-09-23 David Kilzer <ddkilzer@apple.com>
2730 <http://webkit.org/b/28910> Move bugzilla-tool mark-fixed to standalone mark-bug-fixed tool
2732 Reviewed by Darin Adler.
2734 Also fixed a bug where specifying a revision on the command-line
2735 as 'r12345' would fail. See <http://webkit.org/b/29699>.
2737 * Scripts/bugzilla-tool: Updated module import statements.
2738 (parse_bug_id): Removed. Moved to bugzilla.py.
2739 (bug_comment_from_svn_revision): Removed. Moved to comments.py.
2740 (bug_comment_from_commit_text): Removed. Moved to comments.py.
2741 (MarkBugFixed): Removed. Code moved to mark-bug-fixed.
2742 (BugzillaTool.__init__): Removed mark-fixed subcommand.
2743 * Scripts/mark-bug-fixed: Added.
2744 * Scripts/modules/bugzilla.py:
2745 (parse_bug_id): Added. Moved from bugzilla-tool.
2746 * Scripts/modules/comments.py: Added.
2747 (bug_comment_from_svn_revision): Added. Moved from bugzilla-tool.
2748 (bug_comment_from_commit_text): Added. Moved from bugzilla-tool.
2750 2009-09-23 Marshall Culpepper <mculpepper@appcelerator.com>
2752 Reviewed by Eric Seidel.
2754 jpeg.lib is now libjpeg.lib in DRT Cairo dependencies. return
2755 "false" in non-implemented stub for setAlwaysAcceptCookies.
2756 https://bugs.webkit.org/show_bug.cgi?id=29661
2758 * DumpRenderTree/win/DumpRenderTree.vcproj:
2759 * DumpRenderTree/win/DumpRenderTree.cpp:
2761 2009-09-23 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2763 Reviewed by Xan Lopez.
2765 [GTK] need to dump number of pending unload handlers
2766 https://bugs.webkit.org/show_bug.cgi?id=29685
2768 Implement dumping of the number of pending unload handlers.
2770 The following tests will pass:
2772 fast/loader/unload-form-about-blank.html
2773 fast/loader/unload-form-post-about-blank.html
2774 fast/loader/unload-form-post.html
2775 fast/loader/unload-form.html
2776 fast/loader/unload-hyperlink.html
2777 fast/loader/unload-javascript-url.html
2778 fast/loader/unload-reload.html
2779 fast/loader/unload-window-location.html
2781 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2782 (getFrameNameSuitableForTestResult):
2783 (webViewLoadFinished):
2785 2009-09-22 Shinichiro Hamaji <hamaji@chromium.org>
2787 Reviewed by Eric Seidel.
2789 js tests should move into jstests subdirectory instead of resources/
2790 https://bugs.webkit.org/show_bug.cgi?id=25880
2792 Remove support of resources directory.
2794 * Scripts/make-script-test-wrappers:
2796 2009-09-22 Eric Seidel <eric@webkit.org>
2798 No review, only fixing typo (missing space character).
2800 Fix typo from https://bugs.webkit.org/show_bug.cgi?id=29220
2802 * Scripts/run-webkit-tests:
2804 2009-09-22 Eric Seidel <eric@webkit.org>
2806 Reviewed by Darin Adler.
2808 run-webkit-tests needs a --repeat-each=N option (AAABBBCCC instead of ABCABCABC)
2809 https://bugs.webkit.org/show_bug.cgi?id=29220
2811 * Scripts/run-webkit-tests:
2813 2009-09-22 Eric Seidel <eric@webkit.org>
2815 Reviewed by David Kilzer.
2817 svn-apply can't handle single-line binary file additions
2818 https://bugs.webkit.org/show_bug.cgi?id=29100
2820 Fixed the regexp and added a unit test.
2822 * Scripts/modules/scm_unittest.py:
2823 * Scripts/svn-apply:
2825 2009-09-11 Eric Seidel <eric@webkit.org>
2827 Reviewed by David Kilzer.
2829 post-diff and post-commits should be able to find bug urls in ChangeLogs.
2830 https://bugs.webkit.org/show_bug.cgi?id=29206
2832 * Scripts/bugzilla-tool:
2833 - Share common options by adding a PostDiffAsPatchToBug.posting_options() method.
2834 - Rename --no-comment to --add-log-as-comment and reverse behavior.
2835 Comments tend to just be noise. I'll eventually remove this argument if no one uses it.
2836 - Split out code into helper functions to try and make execute() more legible.
2837 - Make post-diff find the bug url in the ChangeLogs if not passed as an argument.
2838 - Fallback to bug urls in commit diffs, instead of just in commit messages,
2839 meaning post-commits will now find bug urls in ChangeLogs.
2841 2009-09-21 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
2843 Reviewed by Maciej Stachowiak.
2845 --parse-only parameter wasn't passed to SunSpider/sunspider script.
2846 https://bugs.webkit.org/show_bug.cgi?id=29611
2848 * Scripts/run-sunspider: Missing parameter passing added.
2850 2009-09-20 David Kilzer <ddkilzer@apple.com>
2852 <http://webkit.org/b/29521> run-webkit-tests: use require instead eval to load DumpRenderTreeSupport module
2854 Reviewed by Mark Rowe.
2856 The require statement is like the use statement, except that it
2857 is run during script execution instead of during the 'BEGIN'
2858 phase. This makes it possible to change @INC before the require
2859 statement is run. See 'require' and 'use' in the perlfunc(1)
2860 manpage and 'BEGIN' in perlmod(1) manpage.
2862 * Scripts/run-webkit-tests: Replace eval statement with require
2865 2009-09-18 Kevin Ollivier <kevino@theolliviers.com>
2867 wx build fixes. Fix the config name under git and allow users to specify
2868 their own waf install for experimenting with new versions.
2870 * Scripts/webkitdirs.pm:
2871 * wx/build/settings.py:
2873 2009-09-18 Alex Milowski <alex@milowski.com>
2875 Reviewed by Maciej Stachowiak.
2877 Added checkWebCoreMathMLSupport and hasMathMLSupport to support
2878 checking for whether MathML tests should be run
2880 * Scripts/run-webkit-tests:
2881 * Scripts/webkitdirs.pm:
2883 2009-08-28 Darin Adler <darin@apple.com>
2885 Reviewed by Mark Rowe.
2887 Break more of run-webkit-tests into separate functions
2888 https://bugs.webkit.org/show_bug.cgi?id=29497
2890 Some small steps toward improving run-webkit-tests. My goal is to
2891 refactor much more of the script into functions. Later we can add
2892 parallel test running to the tool. But better structure may help
2893 even if someone decides to translate this into another scripting
2896 * Scripts/run-webkit-tests: Break more pieces of the script into
2897 seprate functions. Added readSkippedFiles, findTestsToRun, and
2898 printResults functions. Removed custom code to skip results.html
2899 and instead just put it into the ignoredFiles hash. Fixed some
2900 indentation. Sorted function declarations, global variables,
2901 and options at the top of the file alphabetically so they're not
2902 in a semi-random order.
2904 2009-09-17 Kevin Ollivier <kevino@theolliviers.com>
2906 wx build fix, add missing dependency.
2908 * wx/browser/wscript:
2910 2009-09-16 Mark Rowe <mrowe@apple.com>
2912 Split the SnowLeopard build across a few machines.
2914 * BuildSlaveSupport/build.webkit.org-config/config.json:
2916 2009-09-16 Kevin Ollivier <kevino@theolliviers.com>
2918 wx build fix to support monolithic builds on Windows.
2920 * wx/build/wxpresets.py:
2922 2009-09-16 Kevin Ollivier <kevino@theolliviers.com>
2924 wx build fix, improve debug support and 2.9 support on MSW.
2926 * wx/build/settings.py:
2927 * wx/build/wxpresets.py:
2929 2009-09-16 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2931 Blind try at fixing new test failure on Windows.
2933 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2934 (FrameLoadDelegate::didReceiveTitle):
2936 2009-09-15 Alex Milowski <alex@milowski.com>
2938 Reviewed by Tor Arne Vestbø.
2942 * Scripts/build-webkit:
2944 2009-09-15 Kevin Ollivier <kevino@theolliviers.com>
2946 wx build fix. Allow waf build to support Python < 2.6.
2948 * wx/build/waf_extensions.py:
2950 2009-09-14 Chris Marrin <cmarrin@apple.com>
2952 Reviewed by Oliver Hunt.
2954 Add LayoutTests infrastructure to enable and disable webgl tests.
2955 https://bugs.webkit.org/show_bug.cgi?id=29254
2957 * Scripts/run-webkit-tests:
2958 * Scripts/webkitdirs.pm:
2960 2009-09-14 Simon Fraser <simon.fraser@apple.com>
2962 Reviewed by Darin Adler.
2964 Add --iterations option to run-webkit-tests to repeat the tests N times
2965 https://bugs.webkit.org/show_bug.cgi?id=29263
2967 When run with --iterations N, run-webkit-tests will repeat the tests N times.
2969 * Scripts/run-webkit-tests:
2971 2009-09-14 Brady Eidson <beidson@apple.com>
2973 Not reviewed, maybe should've been:
2975 Cleaning up more Windows-specific fallout from the fix for:
2976 <rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160
2978 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2979 (ResourceLoadDelegate::didReceiveAuthenticationChallenge): Correct printf() formatter,
2980 and call the correct method to get the Sender.
2982 2009-09-14 Jon Honeycutt <jhoneycutt@apple.com>
2988 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
2989 (AccessibilityController::setLogScrollingStartEvents):
2991 2009-09-11 Jon Honeycutt <jhoneycutt@apple.com>
2994 <rdar://problem/7197644> WebKit should broadcast an MSAA event when
2995 jumping to a named anchor
2997 https://bugs.webkit.org/show_bug.cgi?id=28899
2999 Reviewed by Adam Roben.
3001 * DumpRenderTree/AccessibilityController.cpp:
3002 (logScrollingStartEventsCallback):
3003 Turn on logging of scrolling start events.
3004 (AccessibilityController::getJSClass):
3005 Add a "logScrollingStartEvents" to the AccessibilityController's JS
3007 (AccessibilityController::resetToConsistentState):
3008 Turn off logging of scrolling start events.
3010 * DumpRenderTree/AccessibilityController.h:
3011 Declare setLogScrollingStartEvents(). Add a member for the scrolling
3014 * DumpRenderTree/mac/AccessibilityControllerMac.cpp:
3015 (AccessibilityController::setLogScrollingStartEvents):
3018 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
3019 (AccessibilityController::AccessibilityController):
3020 Initialize the handle to 0.
3022 Renamed from logFocusEventProc; now logs scrolling start events, too.
3023 Removed the assertion that the event is a focus event. Added a switch
3024 to print a message for focus, scrolling start, and other, unknown
3026 (AccessibilityController::setLogFocusEvents):
3027 Changed to use logEventProc.
3028 (AccessibilityController::setLogScrollingStartEvents):
3029 If turning logging off, unhook the scrolling start event hook, and clear
3030 the member holding the handle. If turning on, query for the root
3031 accessible, so that accessibility is enabled for the WebView, and call
3032 SetWinEventHook to setup an event hook using logEventProc as the
3035 2009-09-14 Brady Eidson <beidson@apple.com>
3039 * DumpRenderTree/LayoutTestController.cpp:
3040 (setAuthenticationPasswordCallback):
3041 (setAuthenticationUsernameCallback):
3043 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3044 (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
3046 2009-09-14 Brady Eidson <beidson@apple.com>
3048 Reviewed by Alexey Proskuryakov.
3050 Safari 4 cannot be used to update firmware on Linksys routers.
3051 <rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160
3053 Add the ability for DRT to handle authentication challenges.
3055 * DumpRenderTree/LayoutTestController.cpp:
3056 (setAuthenticationPasswordCallback):
3057 (setAuthenticationUsernameCallback):
3058 (setHandlesAuthenticationChallengesCallback):
3059 (LayoutTestController::staticFunctions):
3061 * DumpRenderTree/LayoutTestController.h:
3062 (LayoutTestController::handlesAuthenticationChallenges):
3063 (LayoutTestController::setHandlesAuthenticationChallenges):
3064 (LayoutTestController::authenticationUsername):
3065 (LayoutTestController::setAuthenticationUsername):
3066 (LayoutTestController::authenticationPassword):
3067 (LayoutTestController::setAuthenticationPassword):
3069 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3070 (-[ResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
3072 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3073 (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
3074 * DumpRenderTree/win/ResourceLoadDelegate.h:
3076 2009-09-12 Mark Rowe <mrowe@apple.com>
3078 Reviewed by Dan Bernstein.
3080 Test for <rdar://problem/6954546> and <rdar://problem/7090444>.
3082 Add a flag on the test plug-in that asks it to clear the document during the call to NPP_New.
3083 This is the trigger for both <rdar://problem/6954546> and <rdar://problem/7090444>.
3085 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3088 2009-09-14 Kevin Ollivier <kevino@theolliviers.com>
3090 wx build fix for non-wxPython builds and a fix for errors when updating swig.py.
3092 * wx/build/build_utils.py:
3093 * wx/build/settings.py:
3095 2009-09-14 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
3097 Reviewed by Tor Arne Vestbø.
3099 [Qt] Build fix for windows build.
3101 * Scripts/bisect-builds: Add missing paranthesis for tmpdir function.
3103 2009-09-13 Kevin Ollivier <kevino@theolliviers.com>
3105 Fix typo accidently landed in last commit.
3107 * wx/build/settings.py:
3109 2009-09-13 Kevin Ollivier <kevino@theolliviers.com>
3111 wx build fix, error out if using the wrong Python.
3113 * wx/build/settings.py:
3115 2009-09-13 Xan Lopez <xlopez@igalia.com>
3117 Build fix for GTK+ < 2.14.
3119 Do not use gtk_widget_get_window, access the window directly
3122 * DumpRenderTree/gtk/EventSender.cpp:
3123 (contextClickCallback):
3124 (mouseDownCallback):
3126 (mouseMoveToCallback):
3129 2009-09-13 Martin Robinson <martin.james.robinson@gmail.com>
3131 Reviewed by Xan Lopez and Jan Alonzo.
3133 [GTK] EventSender does not set 'window' property on synthesized GDK events
3134 https://bugs.webkit.org/show_bug.cgi?id=29169
3136 Set the window property on synthesized GDK events in the GTK+ EventSender.
3138 * DumpRenderTree/gtk/EventSender.cpp:
3139 (contextClickCallback):
3140 (mouseDownCallback):
3142 (mouseMoveToCallback):
3145 2009-09-12 Drew Wilson <atwilson@google.com>
3147 Reviewed by Mark Rowe.
3149 run-webkit-tests has a timeout value that is too low
3150 https://bugs.webkit.org/show_bug.cgi?id=29223
3152 * Scripts/run-webkit-tests:
3153 Changed timeout value to 20 seconds to avoid timing out too early.
3155 2009-09-11 Kevin Ollivier <kevino@theolliviers.com>
3157 wx build fix. Mark dependencies as mandatory and declare which MSVC versions and
3158 architectures are supported for building wxWebKit.
3160 * wx/build/settings.py:
3162 2009-09-11 Eric Seidel <eric@webkit.org>
3164 Reviewed by David Levin.
3166 bugzilla-tool rollout threw exception under svn
3167 https://bugs.webkit.org/show_bug.cgi?id=29211
3169 * Scripts/modules/scm.py: add missing return, and convert number arguments to strings.
3170 * Scripts/modules/scm_unittest.py: add testing for this fix.
3172 2009-09-11 Brian Weinstein <bweinstein@apple.com>
3174 Add myself to the committers list.
3176 * Scripts/modules/committers.py:
3178 2009-09-11 Eric Seidel <eric@webkit.org>
3180 Reviewed by Adam Barth.
3182 bugzilla-tool land-patches should only fail-fast in --commit-queue mode
3183 https://bugs.webkit.org/show_bug.cgi?id=29201
3185 * Scripts/bugzilla-tool:
3187 2009-09-11 Adam Roben <aroben@apple.com>
3189 Make commit-log-editor move common prefixes to the top of the log
3191 Fies <http://webkit.org/b/29190> commit-log-editor should move common
3192 prefixes to the top of the commit log
3194 Reviewed by Darin Adler.
3196 * Scripts/commit-log-editor: Find and remove the longest common prefix
3197 ending in a double newline from each ChangeLog entry, then put that
3198 common prefix at the top of the commit log.
3199 (removeLongestCommonPrefixEndingInDoubleNewline): Added. Finds,
3200 removes, and returns the longest common prefix ending in a double
3201 newline from a hash of strings
3203 2009-09-11 Eric Seidel <eric@webkit.org>
3205 Fix obvious typo in previous commit, no review.
3207 bugzilla-tool should automate rollouts
3208 https://bugs.webkit.org/show_bug.cgi?id=26715
3210 * Scripts/bugzilla-tool: add back missing "scm" argument.
3212 2009-09-11 Eric Seidel <eric@webkit.org>
3214 Reviewed by Adam Barth.
3216 bugzilla-tool should automate rollouts
3217 https://bugs.webkit.org/show_bug.cgi?id=26715
3219 bugzilla-tool rollout will do the rollout locally and leave the diff for you to verify and commit.
3220 The --complete-rollout option will automatically land and update the bug.
3221 Eventually --complete-rollout will be default, but that will require more testing.
3223 This first pass is good enough for others to try and file bugs about.
3225 * Scripts/bugzilla-tool:
3226 - Move modified_changelogs into scm.py.
3227 - Move svn_revision_from_commit_text logic into scm.py.
3228 - Add RolloutCommit command.
3229 * Scripts/modules/bugzilla.py:
3230 - Add reopen_bug command used by RolloutCommit.
3231 * Scripts/modules/scm.py:
3232 - Add functions to support RolloutCommit.
3233 - Abstract find_uuid into value_from_svn_info so it can be re-used for _repository_url (needed by svn merge).
3234 - Add a str() call so that svn_commit_log can take a numeric argument.
3235 - Remove a bunch of very slow code from last_svn_commit_log and used the built-in 'BASE' alias instead.
3236 - Made dry_run commits return something that svn_revision_from_commit_text can parse.
3237 * Scripts/modules/scm_unittest.py:
3238 - Add read_from_path for easy file reading.
3239 - Put test4 on a new line to make reverts work w/o conflict.
3240 - Add an "svn update" call so that the checkout revision matches the server revision.
3241 - Add tests for svn_revision_from_commit_text.
3242 - Add a simple test for apply_reverse_diff.
3243 - Add a new self.scm member and use it in the new tests (eventually other tests can use it too).
3244 - Add test for svn_commit_log to make sure my 'BASE' change above worked as expected.
3246 2009-09-11 Adam Roben <aroben@apple.com>
3248 Get user script/stylesheet tests running on Windows
3250 Fixes <http://webkit.org/b/29181> User script/stylesheet tests are
3253 Reviewed by John Sullivan.
3255 * DumpRenderTree/win/DumpRenderTree.vcproj: Link all configurations
3256 against comsuppw.lib so we can use _bstr_t.
3258 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Fixed #include
3259 order, added #include of comutil.h for _bstr_t.
3261 (bstrT): Helper function to convert a JSStringRef to a _bstr_t.
3262 (LayoutTestController::addUserScript):
3263 (LayoutTestController::addUserStyleSheet):
3264 Implemented. Implementations were based on those in
3265 LayoutTestControllerMac.mm.
3267 2009-09-10 David Kilzer <ddkilzer@apple.com>
3269 <http://webkit.org/b/29147> run-webkit-tests: make -h show help
3271 Reviewed by Mark Rowe.
3273 * Scripts/run-webkit-tests: Updated to make -h switch show help.
3275 2009-09-10 Fumitoshi Ukai <ukai@chromium.org>
3277 Reviewed by Alexey Proskuryakov.
3279 Add WebCore/websockets directory in wx build system.
3280 https://bugs.webkit.org/show_bug.cgi?id=28038
3282 * wx/build/settings.py:
3284 2009-09-10 Martin Robinson <martin.james.robinson@gmail.com>
3286 [GTK] EventSender does not properly convert some keyDown strings
3287 https://bugs.webkit.org/show_bug.cgi?id=29119
3289 Add more keyDown string to character code conversions for GTK+ EventSender.
3291 * DumpRenderTree/gtk/EventSender.cpp:
3294 2009-09-09 Steve Block <steveblock@google.com>
3296 Reviewed by Maciej Stachowiak.
3298 Geolocation Coordinates::toString() prints bogus values for unspecified properties.
3299 https://bugs.webkit.org/show_bug.cgi?id=29080
3301 * Scripts/make-script-test-wrappers: Modified. Adds asynchronous Geolocation tests to exclusion list.
3303 2009-09-09 Eric Seidel <eric@webkit.org>
3305 Reviewed by Eric Carlson.
3307 reviewer/committer lookups are backwards
3308 https://bugs.webkit.org/show_bug.cgi?id=29113
3310 I also moved Eric Carlson from the committer list to the reviewer list now that he is one.
3312 * Scripts/modules/bugzilla.py:
3313 * Scripts/modules/committers.py:
3315 2009-09-09 Cameron McCormack <cam@mcc.id.au>
3317 Reviewed by Eric Seidel.
3319 svn-unapply doesn't revert directories correctly
3320 https://bugs.webkit.org/show_bug.cgi?id=29065
3322 * Scripts/svn-unapply: Make svnStatus consistently return status
3323 lines including a newline.
3324 * Scripts/svn-apply: Keep svnStatus in sync with the one in
3325 svn-unapply, in lieu of moving it to a common file.
3327 2009-09-09 Cameron McCormack <cam@mcc.id.au>
3329 Reviewed by Eric Seidel.
3331 svn-apply doesn't handle changes to files copied to new directories properly
3332 https://bugs.webkit.org/show_bug.cgi?id=29059
3334 * Scripts/svn-apply: Don't treat "--- revision 0" patches as being
3335 additions if we know that we've just copied a file to this name.
3337 2009-09-09 Eric Seidel <eric@webkit.org>
3339 Reviewed by David Levin.
3341 commit-queue hangs if a builder has never built
3342 https://bugs.webkit.org/show_bug.cgi?id=29091
3344 * Scripts/modules/buildbot.py:
3345 * Scripts/modules/buildbot_unittest.py:
3347 2009-09-09 Zan Dobersek <zandobersek@gmail.com>
3349 Reviewed by Gustavo Noronha.
3351 [GTK] DumpRenderTree needs eventSender object and implementation
3352 https://bugs.webkit.org/show_bug.cgi?id=25990
3354 Implements most of the EventSender object's functionality for
3355 the DumpRenderTree tool. Implementation still lacks support
3356 for drag and drop tests and forward leaps.
3358 Based on work by Holger Hans Peter Freyther.
3360 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3361 (runTest): Focus on the view before loading a new test.
3362 (webViewWindowObjectCleared):
3363 * DumpRenderTree/gtk/EventSender.cpp: Added.
3364 (getDragModeCallback):
3365 (setDragModeCallback):
3366 (leapForwardCallback):
3367 (contextClickCallback):
3369 (mouseDownCallback):
3371 (mouseMoveToCallback):
3372 (beginDragWithFilesCallback):
3373 (replaySavedEvents):
3375 (textZoomInCallback):
3376 (textZoomOutCallback):
3377 (zoomPageInCallback):
3378 (zoomPageOutCallback):
3381 * DumpRenderTree/gtk/EventSender.h: Added.
3382 * GNUmakefile.am: Add build rules for EventSender.
3384 2009-09-09 Daniel Bates <dbates@webkit.org>
3386 Reviewed by Adam Roben.
3388 https://bugs.webkit.org/show_bug.cgi?id=28953
3390 Added pre- and post- build events so that on build failure, the file
3391 buildfailed is written to the directory $(WebKitOutputDir).
3393 * WinLauncher/WinLauncher.vcproj:
3395 2009-09-09 Kenneth Rohde Christiansen <kenneth@webkit.org>
3399 Add myself to list of committers.
3401 * Scripts/modules/committers.py:
3403 2009-09-08 Eric Seidel <eric@webkit.org>
3405 Reviewed by David Levin.
3407 commit-queue gets stuck if a non-committer sets commit-queue+ or review+
3408 https://bugs.webkit.org/show_bug.cgi?id=28605
3409 https://bugs.webkit.org/show_bug.cgi?id=28916
3411 * Scripts/bugzilla-tool:
3412 - Fix comment and adjust reject_patch_from_commit_queue call to pass "manual commit"
3413 comment now that it's used for rejecting patches for invalid committers too.
3414 - Pass reject_invalid_patches=True for commit-queue calls, normally we just ignore patches with invalid reviewers, the commit-queue rejects them.
3415 - Make the commit queue print patches count instead of bugs count, this also fixes https://bugs.webkit.org/show_bug.cgi?id=28916.
3416 * Scripts/modules/bugzilla.py:
3417 - Make _parse_attachment_element not validate reviewer/committer.
3418 - Share flag parsing code in _parse_attachment_flag.
3419 - Add _validate* methods for validating reviewers and committers and updating bugs when validation fails.
3420 - Add reject_invalid_patches argument so the commit-queue can update bugs on failed validation and other "read only" commands will not.
3421 - Add reject_patch_from_review_queue using a new _set_flag_on_attachment abstraction.
3422 * Scripts/modules/bugzilla_unittest.py:
3423 - Update this test to no longer expect committer/reviewer validation.
3424 * Scripts/modules/committers.py:
3425 - Return None on failed lookups instead of raising Exceptions.
3426 * Scripts/modules/committers_unittest.py:
3427 - Update tests to expect None returns instead of exceptions.
3429 2009-09-09 David Kilzer <ddkilzer@apple.com>
3431 <http://webkit.org/b/29061> Fix obvious copy-paste error in AccessibilityUIElement::clickPointY()
3433 Reviewed by Mark Rowe.
3435 No change to layout test results.
3437 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3438 (AccessibilityUIElement::clickPointY): Changed to return y value
3441 2009-09-08 Dimitri Glazkov <dglazkov@chromium.org>
3443 Reviewed by Mark Rowe.
3445 Reduce dglazkov's boboiness by properly concatenating revision value.
3447 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Used substitution
3450 2009-09-08 Kevin Ollivier <kevino@theolliviers.com>
3452 wxWebKit Python extension build fix - get swig.py if it doesn't exist.
3454 * wx/build/build_utils.py:
3456 2009-09-08 Mark Rowe <mrowe@apple.com>
3458 Fix an incorrect variable name in UpdateChromiumSource.
3460 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3462 2009-09-08 Mark Rowe <mrowe@apple.com>
3464 Don't check for leaks on the release SnowLeopard builder.
3466 * BuildSlaveSupport/build.webkit.org-config/config.json:
3468 2009-09-08 Mark Rowe <mrowe@apple.com>
3470 Add a SnowLeopard release builder.
3472 * BuildSlaveSupport/build.webkit.org-config/config.json:
3474 2009-09-08 David Levin <levin@chromium.org>
3476 Reviewed by Darin Adler.
3478 Remove end of line whitespace check from check-webkit-style.
3479 https://bugs.webkit.org/show_bug.cgi?id=29053
3481 * Scripts/modules/cpp_style.py:
3483 2009-09-08 Cameron McCormack <cam@mcc.id.au>
3485 Reviewed by Darin Adler.
3487 Fix DumpRenderTree build from clean tree on Tiger
3488 https://bugs.webkit.org/show_bug.cgi?id=28927
3490 * DumpRenderTree/mac/PerlSupport/Makefile: Ensure the
3491 DerivedSources/DumpRenderTree directory exists when
3494 2009-09-08 Kevin Ollivier <kevino@theolliviers.com>
3496 wx build fix after introduction of platform/mock directory.
3498 * wx/build/settings.py:
3500 2009-09-08 Yael Aharon <yael.aharon@nokia.com>
3504 Add myself to list of committers.
3506 * Scripts/modules/committers.py:
3508 2009-09-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
3512 Add myself to list of committers.
3514 * Scripts/modules/committers.py:
3516 2009-09-08 Cameron McCormack <cam@mcc.id.au>
3518 Reviewed by Darin Adler.
3520 prepare-ChangeLog too chatty on file additions
3521 https://bugs.webkit.org/show_bug.cgi?id=29019
3523 * Scripts/prepare-ChangeLog: Omit description of added properties
3524 on newly added files.
3526 2009-09-08 Steve Block <steveblock@google.com>
3528 Reviewed by Adam Barth.
3530 Adds a LayoutTestController method to set the permission state for Geolocation.
3531 This is required to use the mock Geolocation service for testing.
3532 https://bugs.webkit.org/show_bug.cgi?id=29027
3534 * DumpRenderTree/LayoutTestController.cpp: Modified.
3535 (setDatabaseQuotaCallback): Modified. Style fix.
3536 (setGeolocationPermissionCallback): Added. Sets the Geolocation permission state.
3537 (LayoutTestController::staticFunctions): Modified. Registers the above function on the LayoutTestController.
3538 * DumpRenderTree/LayoutTestController.h: Modified.
3539 (LayoutTestController::setGeolocationPermission): Added. Sets the Geolocation permission state.
3540 (LayoutTestController::isGeolocationPermissionSet): Added. Returns whether the Geolocation permission has been set.
3541 (LayoutTestController::geolocationPermission): Added. Returns the Geolocation permission state.
3542 * DumpRenderTree/mac/UIDelegate.mm: Modified.
3543 (-[UIDelegate webView:frame:requestGeolocationPermission:securityOrigin:]): Added. Implement chrome method to respond to request for Geolocation permission state. Response is made using above methods to access permission state.
3545 2009-09-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
3547 Reviewed by Simon Hausmann.
3549 [Qt] QtWebKit single API to enable persistency
3550 https://bugs.webkit.org/show_bug.cgi?id=28682
3552 Use the new enablePersistentStorage API instead
3553 of enabling all persistent features one-by-one.
3555 * DumpRenderTree/qt/DumpRenderTree.cpp:
3556 (WebCore::WebPage::WebPage):
3557 (WebCore::DumpRenderTree::DumpRenderTree):
3559 2009-09-07 Andras Becsi <becsi.andras@stud.u-szeged.hu>
3561 Reviewed by Tor Arne Vestbø.
3563 Refactor --strict switch to --ignore-metrics and correct the
3564 implementation to make the feature usable on all platforms.
3565 https://bugs.webkit.org/show_bug.cgi?id=28907
3567 run-webkit-tests --ignore-metrics strips the font related metrics from
3568 the actual and expected data before comparing them.
3569 In this way the render trees can be checked for obvious differences but
3570 a successful test implies by no means that the layout is actually correct.
3572 * Scripts/run-webkit-tests:
3574 2009-09-07 Steve Block <steveblock@google.com>
3576 Reviewed by Adam Barth.
3578 Adds a mock Geolocation service. This will be used to provide predictable behavior of the
3579 Geolocation API for use in LayoutTests. Later changes will integrate the the mock
3580 Geolocation service with DumpRenderTree.
3581 https://bugs.webkit.org/show_bug.cgi?id=28264
3583 * DumpRenderTree/LayoutTestController.cpp: Modified.
3584 (setMockGeolocationPositionCallback): Added. Configures the mock Geolocation service.
3585 (setMockGeolocationErrorCallback): Added. Configures the mock Geolocation service.
3586 (LayoutTestController::staticFunctions): Added. Registers the above functions on the LayoutTestController.
3587 * DumpRenderTree/LayoutTestController.h: Modified.
3588 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Modified.
3589 (LayoutTestController::setMockGeolocationPosition): Added. Configures the mock Geolocation service.
3590 (LayoutTestController::setMockGeolocationError): Added. Configures the mock Geolocation service.
3592 2009-09-07 Drew Wilson <atwilson@google.com>
3594 Reviewed by David Levin.
3596 Enable SHARED_WORKERS by default
3597 https://bugs.webkit.org/show_bug.cgi?id=28959
3599 * Scripts/build-webkit:
3601 2009-09-07 Kevin Ollivier <kevino@theolliviers.com>
3603 wx build fixes for wx SVN trunk.
3605 * wx/build/settings.py:
3607 2009-09-04 Kevin Ollivier <kevino@theolliviers.com>
3609 wx build fix. Switch USE_ defines over to the compiler so that they can be
3610 checked by files not including config.h (like WebCorePrefix.h).
3612 * wx/build/settings.py:
3614 2009-09-04 Adam Barth <abarth@webkit.org>
3616 Unreviewed build fix.
3618 Update declaration of FrameLoadDelegate to reflect that
3619 IWebFrameLoadDelegatePrivate2 inherits from
3620 IWebFrameLoadDelegatePrivate.
3622 * DumpRenderTree/win/FrameLoadDelegate.h:
3624 2009-09-04 Adam Barth <abarth@webkit.org>
3626 Reviewed by Eric Seidel.
3628 https://bugs.webkit.org/show_bug.cgi?id=24696
3630 Add testing instrumentation for mixed content.
3632 * DumpRenderTree/mac/FrameLoadDelegate.mm:
3633 (-[FrameLoadDelegate webView:]):
3634 (-[FrameLoadDelegate webView:didRunInsecureContent:]):
3635 * DumpRenderTree/win/FrameLoadDelegate.cpp:
3636 (descriptionSuitableForTestResult):
3637 (FrameLoadDelegate::QueryInterface):
3638 (FrameLoadDelegate::didDisplayInsecureContent):
3639 (FrameLoadDelegate::didRunInsecureContent):
3640 * DumpRenderTree/win/FrameLoadDelegate.h:
3642 2009-09-03 Kevin Watters <kevinwatters@gmail.com>
3644 Reviewed by Kevin Ollivier.
3647 https://bugs.webkit.org/show_bug.cgi?id=19041
3649 * wx/build-wxwebkit:
3651 2009-09-02 David Kilzer <ddkilzer@apple.com>
3653 <http://webkit.org/b/28880> svn-apply --force doesn't actually work
3655 Reviewed by Eric Seidel.
3657 This fixes "svn-apply --force" and adds unit tests for the
3658 scm.apply_patch() method which uses this script.
3660 * Scripts/svn-apply: Created $globalExitCode variable that
3661 defaults to 0. Exit with a value of $globalExitCode when the
3663 (applyPatch): Ignore a non-zero $exitCode if $force is true, but
3664 set $globalExitCode to $exitCode so that svn-apply exits with a
3665 non-zero status if an