1 2009-12-14 Robert Hogan <robert@roberthogan.net>
3 Reviewed by Eric Seidel.
5 [Qt] Fix https://bugs.webkit.org/show_bug.cgi?id=32437
7 Amend the behaviour of DRT::notifyDone to dump only when
8 the page has finished loading.
10 This fix permits removal of the following tests from the Qt skipped list:
11 fast/forms/textarea-linewrap-dynamic.html
12 fast/forms/textarea-setvalue-submit.html
13 fast/forms/textarea-hard-linewrap-empty.html
14 fast/forms/submit-to-url-fragment.html
15 http/tests/misc/percent-sign-in-form-field-name.html
16 http/tests/security/escape-form-data-field-names.html
18 However it also requires the following two to be added to the skipped list:
20 http/tests/xmlhttprequest/access-control-basic-denied-preflight-cache.html
21 svg/custom/use-instanceRoot-as-event-target.xhtml
23 It appears the behaviour of notifyDone was masking problems with these two
26 * DumpRenderTree/qt/DumpRenderTree.cpp:
27 (WebCore::DumpRenderTree::DumpRenderTree):
28 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
29 (LayoutTestController::reset):
30 (LayoutTestController::processWork):
31 (LayoutTestController::maybeDump):
32 (LayoutTestController::notifyDone):
33 (LayoutTestController::provisionalLoad):
34 * DumpRenderTree/qt/LayoutTestControllerQt.h:
35 (LayoutTestController::resetLoadFinished):
37 2009-12-14 Simon Hausmann <hausmann@webkit.org>
39 Reviewed by Holger Freyther.
41 [Qt] Add support for keyboard modifiers to Qt DRT's EventSender for touch events
43 https://bugs.webkit.org/show_bug.cgi?id=32482
45 * DumpRenderTree/qt/EventSenderQt.cpp:
46 (EventSender::setTouchModifier):
47 (EventSender::clearTouchPoints):
48 (EventSender::sendTouchEvent):
49 * DumpRenderTree/qt/EventSenderQt.h:
51 2009-12-13 Maciej Stachowiak <mjs@apple.com>
53 Reviewed by Gavin Barraclaugh.
55 Fix minor problem in sunspider-compare-results which left it broken.
57 * Scripts/sunspider-compare-results: Declare $parseonly
59 2009-12-12 Maciej Stachowiak <mjs@apple.com>
61 Reviewed by Oliver Hunt.
63 Give command-line sunspider the ability to handle multiple suites and versions
64 https://bugs.webkit.org/show_bug.cgi?id=32477
66 * Scripts/run-sunspider: Updated for changes to command-line parameters.
67 * Scripts/sunspider-compare-results: ditto
69 2009-12-12 Maciej Stachowiak <mjs@apple.com>
71 Not reviewed, fixing previous comment.
73 Remove accidental change to sunspider-compare-results
75 * Scripts/sunspider-compare-results:
77 2009-12-11 Yael Aharon <yael.aharon@nokia.com>
79 Unreviewed build fix for Qt versions < 4.6.
80 Guard every slot individually with #ifdef.
82 * DumpRenderTree/qt/EventSenderQt.cpp:
83 (EventSender::addTouchPoint):
84 (EventSender::updateTouchPoint):
85 (EventSender::touchStart):
86 (EventSender::touchMove):
87 (EventSender::touchEnd):
88 (EventSender::clearTouchPoints):
89 (EventSender::releaseTouchPoint):
90 (EventSender::sendTouchEvent):
91 * DumpRenderTree/qt/EventSenderQt.h:
93 2009-12-11 Eric Seidel <eric@webkit.org>
95 Reviewed by Adam Barth.
97 CommandsTest.assert_execute_outputs doesn't check stderr
98 https://bugs.webkit.org/show_bug.cgi?id=32352
100 Fix assert_execute_outputs to check stderr
101 and then fix all the unit tests which needed to
104 * Scripts/modules/commands/commandtest.py:
105 * Scripts/modules/commands/download_unittest.py:
106 * Scripts/modules/commands/upload_unittest.py:
108 2009-12-11 Adam Barth <abarth@webkit.org>
110 Reviewed by Eric Seidel.
112 [check-webkit-style] False positive for tst_QWebFrame
113 https://bugs.webkit.org/show_bug.cgi?id=32436
115 Add an exception for function names that start with "tst_". These are
116 used by the Qt unit testing framework.
118 * Scripts/modules/cpp_style.py:
119 * Scripts/modules/cpp_style_unittest.py:
121 2009-12-11 Simon Hausmann <hausmann@webkit.org>, Kim Grönholm <kim.gronholm@nomovok.com>
123 Reviewed by Antti Koivisto.
125 Added support for creating synthetic touch events with EventSender
126 in Qt's DumpRenderTree.
128 https://bugs.webkit.org/show_bug.cgi?id=32114
130 * DumpRenderTree/qt/EventSenderQt.cpp:
131 (EventSender::addTouchPoint):
132 (EventSender::updateTouchPoint):
133 (EventSender::touchStart):
134 (EventSender::touchMove):
135 (EventSender::touchEnd):
136 (EventSender::clearTouchPoints):
137 (EventSender::releaseTouchPoint):
138 (EventSender::sendTouchEvent):
139 * DumpRenderTree/qt/EventSenderQt.h:
141 2009-12-11 Benjamin Poulain <benjamin.poulain@nokia.com>
143 Reviewed by Darin Adler.
145 The values of RuntimeArray are not enumerable
146 https://bugs.webkit.org/show_bug.cgi?id=29005
148 * DumpRenderTree/mac/ObjCController.m:
149 (+[ObjCController isSelectorExcludedFromWebScript:]):
150 (+[ObjCController webScriptNameForSelector:]):
151 (-[ObjCController arrayOfString]):
153 2009-12-10 Eric Seidel <eric@webkit.org>
155 No review, just updating unit tests to match recent checkins.
157 * Scripts/modules/mock_bugzillatool.py:
158 - Add missing red_core_builders_names method causing exception.
159 * Scripts/modules/workqueue_unittest.py:
160 - processutils is dead, use executive.py instead.
162 2009-12-10 Eric Seidel <eric@webkit.org>
164 Reviewed by Adam Barth.
166 Move run_command onto Executive to make code which uses run_command testable
167 https://bugs.webkit.org/show_bug.cgi?id=32396
169 * Scripts/modules/executive.py:
170 - Move run_command and error handlers onto Executive.
171 * Scripts/modules/scm.py:
172 * Scripts/modules/scm_unittest.py:
174 2009-12-09 Eric Seidel <eric@webkit.org>
176 Reviewed by Adam Barth.
178 bugzilla-tool needs a command to list patches needing cq+
179 https://bugs.webkit.org/show_bug.cgi?id=32351
181 * Scripts/modules/bugzilla.py:
182 - Parse attacher_email from attachment xml.
183 * Scripts/modules/bugzilla_unittest.py:
184 - Test new attacher_email parsing.
185 * Scripts/modules/commands/queries.py:
186 - Add PatchesToCommitQueue
187 * Scripts/modules/commands/queries_unittest.py:
188 - Tests for PatchesToCommitQueue
189 * Scripts/modules/mock_bugzillatool.py:
190 - Add necessary mock methods for running PatchesToCommitQueue
192 2009-12-10 Adam Barth <abarth@webkit.org>
194 Unreviewed. Turns out every StepSequence command needs a --quiet
197 * Scripts/modules/stepsequence.py:
199 2009-12-10 Eric Z. Ayers <zundel@google.com>
201 Reviewed by Pavel Feldman.
203 Implements displayWebView() to force an invalidation and repaint.
204 This fixes a problem running the timeline-paint.html unit test.
206 https://bugs.webkit.org/show_bug.cgi?id=31729
208 * DumpRenderTree/gtk/DumpRenderTree.cpp:
211 2009-12-10 Adam Barth <abarth@webkit.org>
213 Reviewed by Eric Seidel.
215 [bzt] Convert more commands to StepSequences
216 https://bugs.webkit.org/show_bug.cgi?id=32362
218 We should eventually convert all the commands, but I'm starting with
221 * Scripts/modules/commands/download.py:
223 2009-12-10 Xan Lopez <xlopez@igalia.com>
225 Reviewed by Jan Alonzo.
227 [GTK] editing/selection/shrink-selection-after-shift-pagedown.html failing
228 https://bugs.webkit.org/show_bug.cgi?id=31103
230 Give focus to the webviews when we create them, since some tests expect this.
232 * DumpRenderTree/gtk/DumpRenderTree.cpp:
235 2009-12-10 Eric Seidel <eric@webkit.org>
237 Reviewed by Adam Barth.
239 bugzilla-tool "builders are red" error should tell you which builders
240 https://bugs.webkit.org/show_bug.cgi?id=32211
242 * Scripts/modules/buildsteps.py:
244 2009-12-09 Marwan Al Jubeh <marwan.aljubeh@gmail.com>
246 Reviewed by Adam Roben.
248 Fixes: https://bugs.webkit.org/show_bug.cgi?id=31228
249 Set the WebKitOutputDir, WebKitLibrariesDir and Cygwin environment variables automatically
250 in Windows as part of running update_webkit.
252 * Scripts/update-webkit:
253 - Run setupAppleWinEnv() on Apple's Windows port.
254 * Scripts/webkitdirs.pm:
255 - Added functions that return the source directory, libraries directory and default build directory on Windows.
256 - Added isWindowsNT() which tests if the current Windows version is from the Windows NT family.
257 - Implemented setupAppleWinEnv() which sets the environment variables WebKitOutputDir, WebKitLibrariesDir
258 and Cygwin to their desired values.
260 2009-12-09 Adam Barth <abarth@webkit.org>
262 Reviewed by Eric Seidel.
264 exception thrown when running apply-patches
265 https://bugs.webkit.org/show_bug.cgi?id=32344
267 The update step now takes a port option. Once we finish the Steps
268 refactoring, we won't have to worry about this kind of bug again.
270 * Scripts/modules/commands/download.py:
272 2009-12-09 Adam Barth <abarth@webkit.org>
274 Unreviewed. Fix ScriptError includes. I don't understand why these
275 didn't throw during unit testing...
277 * Scripts/modules/commands/download.py:
278 * Scripts/modules/logging_unittest.py:
279 * Scripts/modules/workqueue.py:
281 2009-12-09 Adam Barth <abarth@webkit.org>
283 Reviewed by Eric Seidel.
285 [bzt] Remove unused PatchCollection class
286 https://bugs.webkit.org/show_bug.cgi?id=32312
290 * Scripts/modules/patchcollection.py:
291 * Scripts/modules/patchcollection_unittest.py: Removed.
293 2009-12-09 Adam Barth <abarth@webkit.org>
295 Unreviewed "build" fix. CheckStyle needs a --no-upate option.
297 * Scripts/modules/commands/download.py:
299 2009-12-09 Adam Barth <abarth@webkit.org>
301 Reviewed by Eric Seidel.
303 [bzt] Convert Build to use Sequence
304 https://bugs.webkit.org/show_bug.cgi?id=32310
308 * Scripts/modules/buildsteps.py:
309 * Scripts/modules/commands/download.py:
310 * Scripts/modules/landingsequence.py:
311 * Scripts/modules/stepsequence.py: Added.
313 2009-12-09 Adam Barth <abarth@webkit.org>
317 * Scripts/modules/executive.py: Added.
319 2009-12-09 Adam Barth <abarth@webkit.org>
321 Unreviewed "build" fix.
323 * Scripts/modules/landingsequence.py:
325 2009-12-09 Adam Barth <abarth@webkit.org>
327 Reviewed by Eric Seidel.
329 [bzt] Implement abstract Steps
330 https://bugs.webkit.org/show_bug.cgi?id=32212
332 This is a fairly disruptive change that refactors how we build
333 commands. Instead of using a landing sequence, we can now assemble a
334 sequence of steps directly. We still use the landing sequence in the
335 interim, but this will be removed soon.
337 * Scripts/bugzilla-tool:
338 * Scripts/modules/buildsteps.py:
339 * Scripts/modules/commands/download.py:
340 * Scripts/modules/commands/early_warning_system.py:
341 * Scripts/modules/commands/queues.py:
342 * Scripts/modules/commands/queues_unittest.py:
343 * Scripts/modules/landingsequence.py:
344 * Scripts/modules/mock_bugzillatool.py:
345 * Scripts/modules/processutils.py: Removed.
346 * Scripts/modules/scm.py:
347 * Scripts/modules/scm_unittest.py:
348 * Scripts/modules/webkitport.py:
350 2009-12-08 Eric Seidel <eric@webkit.org>
352 Reviewed by Adam Barth.
354 run_command and ScriptError should move into processutils.py
355 https://bugs.webkit.org/show_bug.cgi?id=32305
357 Turns out there are a zillion callers to run_command.
359 * Scripts/modules/commands/download.py:
360 * Scripts/modules/commands/early_warning_system.py:
361 * Scripts/modules/commands/queues.py:
362 * Scripts/modules/landingsequence.py:
363 * Scripts/modules/logging_unittest.py:
364 * Scripts/modules/processutils.py:
365 * Scripts/modules/scm.py:
366 * Scripts/modules/scm_unittest.py:
367 * Scripts/modules/workqueue.py:
368 * Scripts/modules/workqueue_unittest.py:
370 2009-12-08 Kevin Watters <kevinwatters@gmail.com>
372 Reviewed by Kevin Ollivier.
374 [wx] Mac plugins support.
376 https://bugs.webkit.org/show_bug.cgi?id=32236
378 * wx/browser/wscript:
380 2009-12-08 David Levin <levin@chromium.org>
382 Reviewed by Adam Barth.
384 [check-webkit-style] False positive for DEFINE_OPCODE(op_jtrue) {
385 https://bugs.webkit.org/show_bug.cgi?id=32193
387 * Scripts/modules/cpp_style.py: For the function { rule, if there is space
388 at the beginning of line, ignore lines which then have a macro.
389 * Scripts/modules/cpp_style_unittest.py: Add tests to verify the
392 2009-12-08 Dmitry Titov <dimich@chromium.org>
394 Rubber-stamped by David Levin.
396 Revert and reopen "Add asserts to RefCounted to make sure ref/deref happens on the right thread."
397 It may have caused massive increase of reported leaks on the bots.
398 https://bugs.webkit.org/show_bug.cgi?id=31639
400 * DumpRenderTree/ForwardingHeaders/wtf/ThreadVerifier.h: Removed.
402 2009-12-08 Dmitry Titov <dimich@chromium.org>
404 Reviewed by Darin Adler.
406 Add asserts to RefCounted to make sure ref/deref happens on the right thread.
407 https://bugs.webkit.org/show_bug.cgi?id=31639
409 * DumpRenderTree/ForwardingHeaders/wtf/ThreadVerifier.h: Added.
411 2009-12-08 David Levin <levin@chromium.org>
413 Reviewed by Adam Barth.
415 [check-webkit-style] False positive for camel case of JSC op codes
416 https://bugs.webkit.org/show_bug.cgi?id=32192
418 * Scripts/modules/cpp_style.py: Added an exception for the JSC op
419 code functions and const_iterator as well since I noticed a false
420 positive there when testing the fix.
421 * Scripts/modules/cpp_style_unittest.py: Added tests for these
424 2009-12-08 Nikolas Zimmermann <nzimmermann@rim.com>
426 Rubber-stamped by Maciej Stachowiak.
428 Turn on (SVG) Filters for Win.
429 https://bugs.webkit.org/show_bug.cgi?id=32224
431 * Scripts/webkitdirs.pm:
433 2009-12-08 Nikolas Zimmermann <nzimmermann@rim.com>
435 Rubber-stamped by Maciej Stachowiak.
437 Turn on (SVG) Filters for Gtk.
438 https://bugs.webkit.org/show_bug.cgi?id=32224
440 * Scripts/build-webkit:
442 2009-12-07 Shinichiro Hamaji <hamaji@chromium.org>
444 Reviewed by David Levin.
446 [check-webkit-style] S_OK is a fine identifier
447 https://bugs.webkit.org/show_bug.cgi?id=32225
449 * Scripts/modules/cpp_style.py:
450 * Scripts/modules/cpp_style_unittest.py:
452 2009-12-07 Nikolas Zimmermann <nzimmermann@rim.com>
454 Rubber-stamped by Maciej Stachowiak.
456 Turn on (SVG) Filters for Qt.
457 https://bugs.webkit.org/show_bug.cgi?id=32224
459 * Scripts/build-webkit:
461 2009-12-07 Yuzo Fujishima <yuzo@google.com>
463 Reviewed by Alexey Proskuryakov.
465 Make run-webkit-websocketserver log to stderr rather than to a file.
466 https://bugs.webkit.org/show_bug.cgi?id=32234
468 * Scripts/run-webkit-websocketserver:
470 2009-12-07 Dmitry Titov <dimich@chromium.org>
472 Rubber-stamped by Darin Adler.
474 Remove ENABLE_SHARED_SCRIPT flags
475 https://bugs.webkit.org/show_bug.cgi?id=32245
476 This patch was obtained by "git revert" command and then un-reverting of ChangeLog files.
478 * Scripts/build-webkit:
480 2009-12-07 Simon Fraser <simon.fraser@apple.com>
482 Reviewed by Darin Adler.
484 <rdar://problem/7450481> One compositing test keeps DRT in "compositing mode", breaks repaint tests
486 The counter that WebView used to keep track of the number of enclosed WebHTMLViews using
487 accelerated compositing was hard to manage, and maintained incorrectly in a number of cases.
488 This caused one compositing test make DumpRenderTree think that all subsequent tests
489 were compositing too.
491 Replace this counter with notifications, which are only fired if a client (DRT) requests them. The
492 notification informs the client that a WebHTMLView entered compositing mode (or an already-
493 compositing WebHTML was added); it does not say when a view becomes uncomposited, or all
494 compositing subviews were removed, since this is tricky to get right.
496 DumpRenderTreeWindow listens for this notification, and uses it to turn on window
497 autodisplay, which is necessary to kick-start Core Animation rendering and animations.
498 We ensure that window autodisplay is turned off before every test.
500 * DumpRenderTree/mac/DumpRenderTree.mm:
501 (createWebViewAndOffscreenWindow):
502 (resetWebViewToConsistentStateBeforeTesting):
503 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
504 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
505 (-[DumpRenderTreeWindow close]):
506 (-[DumpRenderTreeWindow startListeningForAcceleratedCompositingChanges]):
507 (-[DumpRenderTreeWindow webViewStartedAcceleratedCompositing:]):
509 2009-12-07 Nikolas Zimmermann <nzimmermann@rim.com>
511 Reviewed by Holger Hans Peter Freyther.
513 Turn on (SVG) Filters support, by default.
514 https://bugs.webkit.org/show_bug.cgi?id=32224
516 For now only enable FILTERS build flag on WebKit/mac. Other platforms will follow soon.
518 * Scripts/build-webkit:
520 2009-12-07 Yaar Schnitman <yaar@chromium.org>
522 Reviewed by Darin Fisher.
524 Chromium buildbots are not red when they fail
525 https://bugs.webkit.org/show_bug.cgi?id=32235
527 * Scripts/build-webkit:
529 2009-12-07 Yaar Schnitman <yaar@chromium.org>
531 Reviewed by Darin Fisher.
533 Typo in chromium linux builder
534 https://bugs.webkit.org/show_bug.cgi?id=32238
536 * Scripts/webkitdirs.pm:
538 2009-12-07 Yaar Schnitman <yaar@chromium.org>
540 Reviewed by Darin Fisher.
542 fixes to build-webkit --chromium
543 https://bugs.webkit.org/show_bug.cgi?id=32179
545 * Scripts/webkitdirs.pm:
547 2009-12-07 Eric Seidel <eric@webkit.org>
549 No review, just adding two recently approved committers.
551 * Scripts/modules/committers.py:
553 2009-12-07 Alexey Proskuryakov <ap@apple.com>
555 * Scripts/run-webkit-websocketserver: Added property svn:executable.
557 2009-12-07 Yuzo Fujishima <yuzo@google.com>
559 Reviewed by Alexey Proskuryakov.
561 Add run-webkit-websocketserver
563 https://bugs.webkit.org/show_bug.cgi?id=31390
565 * Scripts/run-webkit-websocketserver: Added.
567 2009-12-07 Steve Falkenburg <sfalken@apple.com>
569 Build fix. Be flexible about which version of ICU is used on Windows.
571 * DumpRenderTree/win/DumpRenderTree.vcproj: Add optional xcopy commands to copy ICU 4.2.
573 2009-12-07 Dirk Schulze <krit@webkit.org>
575 Not reviewed, adding myself to the reviewers list.
577 * Scripts/modules/committers.py:
579 2009-12-06 Eric Seidel <eric@webkit.org>
581 Reviewed by Adam Barth.
583 Add an API for uploading results files to StatusBot
584 https://bugs.webkit.org/show_bug.cgi?id=32210
586 Add Content-Type: plain/text which was forgotten
587 from the previous commit when I landed with land-patches
588 instead of land-diff.
590 * QueueStatusServer/queue_status.py:
592 2009-12-06 Eric Seidel <eric@webkit.org>
594 Reviewed by Adam Barth.
596 Status Server needs a way to handle uploaded results
597 https://bugs.webkit.org/show_bug.cgi?id=32209
599 * QueueStatusServer/queue_status.py: Add a ShowResults (results/*) command
600 * QueueStatusServer/update_status.html: Add file upload.
602 2009-12-06 Eric Seidel <eric@webkit.org>
604 Reviewed by Adam Barth.
606 Add an API for uploading results files to StatusBot
607 https://bugs.webkit.org/show_bug.cgi?id=32210
609 * Scripts/modules/statusbot.py:
611 2009-12-06 Eric Seidel <eric@webkit.org>
613 Reviewed by Adam Barth.
615 Status Server needs a way to handle uploaded results
616 https://bugs.webkit.org/show_bug.cgi?id=32209
618 * QueueStatusServer/queue_status.py: Add a ShowResults (results/*) command
619 * QueueStatusServer/update_status.html: Add file upload.
621 2009-12-06 Adam Barth <abarth@webkit.org>
623 Reviewed by Eric Seidel.
625 [bzt] BuildAttachment should not check the builders
626 https://bugs.webkit.org/show_bug.cgi?id=32207
628 This is code that got copied here by accident when the class was created.
630 * Scripts/modules/commands/download.py:
632 2009-12-06 Adam Barth <abarth@webkit.org>
634 Reviewed by Eric Seidel.
636 [bzt] Make LandingSequence.update aware of ports
637 https://bugs.webkit.org/show_bug.cgi?id=32208
639 This is required to make build work on the Chromium port because
640 Chromium has a custom update-webkit.
642 * Scripts/modules/landingsequence.py:
644 2009-12-06 Adam Barth <abarth@webkit.org>
646 Reviewed by Eric Seidel.
648 Add early warning system commands to bugzilla-tool.
650 * Scripts/bugzilla-tool:
651 * Scripts/modules/landingsequence.py:
652 * Scripts/modules/webkitport.py:
654 2009-12-06 Adam Barth <abarth@webkit.org>
656 Reviewed by Eric Seidel.
658 [bzt] Implement Qt EarlyWarningSystem and Chromium EarlyWarningSystem
659 https://bugs.webkit.org/show_bug.cgi?id=32205
661 * Scripts/modules/commands/early_warning_system.py: Added.
662 * Scripts/modules/commands/queues.py:
664 2009-12-06 Dan Bernstein <mitz@apple.com>
666 Reviewed by Adele Peterson.
668 REGRESSION (r51728): update-webkit fails when the current directory is
669 not inside a Subversion working copy
670 https://bugs.webkit.org/show_bug.cgi?id=32204
672 * Scripts/update-webkit: Invoke isSVN() in the correct working
675 2009-12-06 Adam Barth <abarth@webkit.org>
677 Reviewed by Eric Seidel.
679 [bzt] Rename AbstractTryQueue to AbstractReviewQueue
680 https://bugs.webkit.org/show_bug.cgi?id=32202
682 * Scripts/modules/commands/queues.py:
684 2009-12-05 Adam Barth <abarth@webkit.org>
686 Reviewed by Eric Seidel.
688 [bzt] Implement ChromiumPort
689 https://bugs.webkit.org/show_bug.cgi?id=32182
691 * Scripts/modules/webkitport.py:
692 * Scripts/modules/webkitport_unittest.py:
694 2009-12-05 Adam Barth <abarth@webkit.org>
696 Reviewed by Eric Seidel.
698 Move update-webkit into BuildSteps
699 https://bugs.webkit.org/show_bug.cgi?id=32181
701 We need to move update-webkit out of SCM.py because SCM isn't supposed to know
702 that WebKit exists. The proper place for the knowledge of the existence of
703 update-webkit is in WebKitPort because some ports have specialized update
704 scripts (analogous to build-webkit).
706 * Scripts/modules/buildsteps.py:
707 * Scripts/modules/commands/download.py:
708 * Scripts/modules/landingsequence.py:
709 * Scripts/modules/scm.py:
710 * Scripts/modules/webkitport.py:
712 2009-12-05 Adam Barth <abarth@webkit.org>
714 Reviewed by Eric Seidel.
716 update-webkit should call git svn rebase and resolve-ChangeLogs -f
717 https://bugs.webkit.org/show_bug.cgi?id=27162
719 Teach update-webkit about Git. I didn't add the call to
720 resolve-ChangeLogs -f because sometimes that script goes bananas. We
721 can iterate from here, however.
723 * Scripts/update-webkit:
725 2009-12-04 Yael Aharon <yael.aharon@nokia.com>
727 Unreviewed build fix.
729 [Qt] build fix after r51634 removed unused QBoxLayout include which included limits.h.
731 * DumpRenderTree/qt/DumpRenderTree.cpp:
733 2009-12-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
735 Reviewed by Adam Treat.
737 Add some missing methods for showing and hiding the
740 * DumpRenderTree/qt/DumpRenderTree.cpp:
741 (WebCore::WebPage::WebPage):
742 (WebCore::WebPage::~WebPage):
743 (WebCore::WebPage::webInspector):
744 * DumpRenderTree/qt/DumpRenderTree.h:
745 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
746 (LayoutTestController::showWebInspector):
747 (LayoutTestController::hideWebInspector):
748 * DumpRenderTree/qt/LayoutTestControllerQt.h:
750 2009-12-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
752 Reviewed by Adam Treat.
754 Implement the setAllowUniversalAccessFromFileURLs method
755 for the Qt LayoutTestController.
757 * DumpRenderTree/qt/DumpRenderTree.cpp:
758 (WebCore::WebPage::resetSettings):
759 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
760 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
761 * DumpRenderTree/qt/LayoutTestControllerQt.h:
763 2009-12-04 Chris Fleizach <cfleizach@apple.com>
765 Reviewed by Darin Adler.
767 REGRESSION: AX: buttons now extremely repetitive
768 https://bugs.webkit.org/show_bug.cgi?id=32164
770 * DumpRenderTree/AccessibilityUIElement.cpp:
771 (isAttributeSupportedCallback):
772 (AccessibilityUIElement::getJSClass):
773 * DumpRenderTree/AccessibilityUIElement.h:
774 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
775 (AccessibilityUIElement::isAttributeSupported):
776 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
777 (AccessibilityUIElement::isAttributeSupported):
778 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
779 (AccessibilityUIElement::isAttributeSupported):
781 2009-12-03 Shinichiro Hamaji <hamaji@chromium.org>
783 Reviewed by David Levin.
785 check-webkit-style should check for camelCase variable names
786 https://bugs.webkit.org/show_bug.cgi?id=32051
788 * Scripts/modules/cpp_style.py:
789 * Scripts/modules/cpp_style_unittest.py:
791 2009-12-03 Chris Fleizach <cfleizach@apple.com>
793 Reviewed by Eric Seidel.
795 AX: VO just says "term" on many web sites
796 https://bugs.webkit.org/show_bug.cgi?id=32139
798 * DumpRenderTree/AccessibilityUIElement.cpp:
799 (getRoleDescriptionCallback):
800 (AccessibilityUIElement::getJSClass):
801 * DumpRenderTree/AccessibilityUIElement.h:
802 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
803 (AccessibilityUIElement::roleDescription):
804 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
805 (AccessibilityUIElement::roleDescription):
806 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
807 (AccessibilityUIElement::roleDescription):
809 2009-12-03 Chris Fleizach <cfleizach@apple.com>
811 Reviewed by Beth Dakin.
813 Implement WAI-ARIA scrollbar role and related property aria-orientation
814 https://bugs.webkit.org/show_bug.cgi?id=32126
816 * DumpRenderTree/AccessibilityUIElement.cpp:
817 (getOrientationCallback):
818 (AccessibilityUIElement::getJSClass):
819 * DumpRenderTree/AccessibilityUIElement.h:
820 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
821 (AccessibilityUIElement::orientation):
822 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
823 (AccessibilityUIElement::orientation):
824 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
825 (AccessibilityUIElement::orientation):
827 2009-12-03 Eric Carlson <eric.carlson@apple.com>
829 Reviewed by Adam Roben.
831 Minor correction to r51663.
833 * DumpRenderTree/win/DumpRenderTree.cpp:
835 GetEnvironmentVariable -> GetEnvironmentVariableW.
837 2009-12-03 Eric Carlson <eric.carlson@apple.com>
839 Reviewed by Adam Roben.
841 ~96 regression tests fail when using QuickTime 7.6 (they pass with QuickTime 7.3)
842 https://bugs.webkit.org/show_bug.cgi?id=30256
844 Add the QuickTime dll directory to the PATH environment variable so
845 inialization can succeed.
847 * DumpRenderTree/win/DumpRenderTree.cpp:
851 2009-12-03 Shu Chang <Chang.Shu@nokia.com>
853 Reviewed by Kenneth Rohde Christiansen.
855 [Qt] After revision 32643, sender() is of type QWebPage instead of QWebFrame.
857 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
858 (LayoutTestController::maybeDump):
860 2009-12-03 Yuzo Fujishima <yuzo@google.com>
862 Reviewed by Eric Seidel.
864 Update pywebsocket to 0.4.3
865 This version logs friendlier and higher-level messages in WARN level, which is used for LayoutTests.
866 Stack trace is logged now in INFO level.
867 https://bugs.webkit.org/show_bug.cgi?id=32097
869 * pywebsocket/mod_pywebsocket/dispatch.py:
870 * pywebsocket/mod_pywebsocket/msgutil.py:
871 * pywebsocket/mod_pywebsocket/standalone.py:
872 * pywebsocket/mod_pywebsocket/util.py:
873 * pywebsocket/setup.py:
874 * pywebsocket/test/test_dispatch.py:
875 * pywebsocket/test/test_util.py:
877 2009-12-03 Sam Weinig <sam@webkit.org>
879 Reviewed by Gavin Barraclough.
883 * DumpRenderTree/AccessibilityController.cpp:
884 (AccessibilityController::makeWindowObject):
885 * DumpRenderTree/GCController.cpp:
886 (GCController::makeWindowObject):
887 * DumpRenderTree/LayoutTestController.cpp:
888 (LayoutTestController::makeWindowObject):
890 2009-12-03 Brady Eidson <beidson@apple.com>
892 Reviewed by Sam Weinig.
894 <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API
896 Keep DRT-win building...
898 * DumpRenderTree/win/FrameLoadDelegate.h:
899 (FrameLoadDelegate::didPushStateWithinPageForFrame):
900 (FrameLoadDelegate::didReplaceStateWithinPageForFrame):
901 (FrameLoadDelegate::didPopStateWithinPageForFrame):
903 2009-12-03 Andras Becsi <abecsi@inf.u-szeged.hu>
905 Unreviewed build fix.
907 [Qt] ARM-Linux build fix after r51634 removed unused QBoxLayout include which included limits.h on ARM.
909 * DumpRenderTree/qt/DumpRenderTree.cpp:
911 2009-12-03 Andras Becsi <abecsi@inf.u-szeged.hu>
913 Reviewed by Kenneth Rohde Christiansen.
915 [Qt] Refactor DRT to not crash on tests which open child windows from javascript.
916 Prevent DRT from showing the main view if these childs get deleted.
917 This fixes https://bugs.webkit.org/show_bug.cgi?id=31591.
919 * DumpRenderTree/qt/DumpRenderTree.cpp:
920 (WebCore::WebPage::WebPage):
921 (WebCore::DumpRenderTree::DumpRenderTree):
922 (WebCore::DumpRenderTree::~DumpRenderTree):
923 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
924 (WebCore::DumpRenderTree::open):
925 (WebCore::DumpRenderTree::closeRemainingWindows):
926 (WebCore::DumpRenderTree::createWindow):
927 (WebCore::DumpRenderTree::windowCount):
928 * DumpRenderTree/qt/DumpRenderTree.h:
930 2009-12-02 Eric Seidel <eric@webkit.org>
932 Reviewed by Adam Barth.
934 REGRESSION(51595): commit-queue is throwing exceptions
935 https://bugs.webkit.org/show_bug.cgi?id=32083
937 * Scripts/modules/commands/queues.py:
938 - Don't use default value of [] as it ends up getting shared.
939 - Make log_progress accept arrays of ints as well as strings.
940 - Return an exit code from execute()
941 * Scripts/modules/commands/queues_unittest.py: Added.
942 - Test to make sure log_progress will accept ints.
943 - Test to make sure run_bugzilla_tool will accept ints.
944 * Scripts/modules/workqueue.py:
945 - Print the stack trace on unexpected exceptions for easier debugging.
946 * Scripts/run-webkit-unittests:
947 - Add queues_unittest.
949 * Scripts/modules/commands/queues.py:
950 * Scripts/modules/commands/queues_unittest.py: Copied from WebKitTools/Scripts/modules/commands/commandtest.py.
951 * Scripts/modules/mock_bugzillatool.py:
952 * Scripts/modules/workqueue.py:
953 * Scripts/run-webkit-unittests:
955 2009-12-02 David Levin <levin@chromium.org>
957 Reviewed by Adam Barth.
959 check-webkit-style is too noisy about namespace indenting issues.
960 https://bugs.webkit.org/show_bug.cgi?id=32096
962 * Scripts/modules/cpp_style.py:
963 Added a _FileState object to be able to track file level information. In this
964 case, it simply tracks whether the error has already been given, so that it isn't
966 * Scripts/modules/cpp_style_unittest.py:
967 Modified test cases to pass in the _FileState object and fix a test that expected
968 to see the namespace error twice (now it only occurs once). No new tests because
969 existing tests cover the change in functionality.
971 2009-12-01 Kevin Ollivier <kevino@theolliviers.com>
973 Reviewed by Eric Seidel.
975 [wx] Get DumpRenderTree building after waf switch.
977 https://bugs.webkit.org/show_bug.cgi?id=32041
979 * DumpRenderTree/wscript: Added.
980 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
981 (LayoutTestController::setTimelineProfilingEnabled):
982 (LayoutTestController::evaluateScriptInIsolatedWorld):
983 (LayoutTestController::disableImageLoading):
984 (LayoutTestController::whiteListAccessFromOrigin):
985 (LayoutTestController::counterValueForElementById):
986 * Scripts/build-webkit:
988 2009-12-02 Adam Barth <abarth@webkit.org>
990 Reviewed by Eric Seidel.
992 [bzt] build-attachment shouldn't check whether the builders are red
993 https://bugs.webkit.org/show_bug.cgi?id=32062
995 build-attachment doesn't touch the remote repository, so there isn't a
996 need to hold off when the builders are red.
998 * Scripts/modules/commands/download.py:
999 * Scripts/modules/landingsequence.py:
1001 2009-12-02 Eric Seidel <eric@webkit.org>
1003 Reviewed by Adam Barth.
1005 REGRESSION(51590): style-queue and build-queue think their empty when they are not
1006 https://bugs.webkit.org/show_bug.cgi?id=32061
1008 * Scripts/modules/bugzilla.py: make all id lookups return ints instead of strings.
1009 * Scripts/modules/bugzilla_unittest.py: Add and update unit tests to use ints.
1011 2009-12-02 Eric Seidel <eric@webkit.org>
1013 Reviewed by Adam Barth.
1015 build-queue is throwing exceptions and complaining about
1016 lack of --no-update on build-attachment. Make it stop.
1018 * Scripts/modules/buildsteps.py:
1019 * Scripts/modules/commands/download.py:
1021 2009-12-02 Adam Barth <abarth@webkit.org>
1023 Unreviewed "build" fix. Forgot to declare my variables. :(
1025 * QueueStatusServer/queue_status.py:
1027 2009-12-02 Adam Barth <abarth@webkit.org>
1029 Reviewed by Eric Seidel.
1031 [bzt] Implement status bubble view
1032 https://bugs.webkit.org/show_bug.cgi?id=32057
1034 The status bubble is a compact representation of the queue status for a
1035 given patch. This will eventually help us reduce the comment spam from
1038 * QueueStatusServer/index.html: Added HTML5 doctype for sanity.
1039 * QueueStatusServer/queue_status.py:
1040 * QueueStatusServer/status_bubble.html: Added.
1042 2009-12-02 Eric Seidel <eric@webkit.org>
1044 Reviewed by Adam Barth.
1046 trim commands/*.py includes now that commands are unit tested
1047 https://bugs.webkit.org/show_bug.cgi?id=32056
1049 In the course of ensuring that the unit tests still
1050 passed after this change, I had to actually make them
1051 pass in the first place.
1053 * Scripts/modules/bugzilla.py:
1054 - Fix _parse_attachment_ids_request_query to return ints instead of strings.
1055 * Scripts/modules/commands/download.py: Remove unneeded imports.
1056 * Scripts/modules/commands/queries.py: Ditto.
1057 * Scripts/modules/commands/queues.py: Ditto.
1058 * Scripts/modules/commands/upload.py: Ditto.
1059 * Scripts/modules/scm_unittest.py:
1060 - Fix to expect the \n after the path since echo adds an \n.
1062 2009-12-01 Yaar Schnitman <yaar@chromium.org>
1064 build-webkit: Remove flex,bison,gperf check for chromium
1065 https://bugs.webkit.org/show_bug.cgi?id=32043
1067 * Scripts/webkitdirs.pm:
1069 2009-12-01 Chris Fleizach <cfleizach@apple.com>
1071 Build fixage for Windows/GTK for DumpRenderTree.
1073 WAI-ARIA: implement support for ARIA drag and drop
1074 https://bugs.webkit.org/show_bug.cgi?id=32007
1076 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
1077 (AccessibilityUIElement::ariaIsGrabbed):
1078 (AccessibilityUIElement::ariaDropEffects):
1079 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1080 (AccessibilityUIElement::ariaIsGrabbed):
1081 (AccessibilityUIElement::ariaDropEffects):
1083 2009-12-01 Chris Fleizach <cfleizach@apple.com>
1085 Reviewed by Darin Adler.
1087 WAI-ARIA: implement support for ARIA drag and drop
1088 https://bugs.webkit.org/show_bug.cgi?id=32007
1090 * DumpRenderTree/AccessibilityUIElement.cpp:
1091 (getARIADropEffectsCallback):
1092 (getARIAIsGrabbedCallback):
1093 (AccessibilityUIElement::getJSClass):
1094 * DumpRenderTree/AccessibilityUIElement.h:
1095 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1096 (AccessibilityUIElement::ariaIsGrabbed):
1097 (AccessibilityUIElement::ariaDropEffects):
1099 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
1101 Not reviewed. GTK DRT try 2.
1103 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1104 (LayoutTestController::sampleSVGAnimationForElementAtTime):
1106 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
1108 Not reviewed. Try to fix gtk DRT build.
1110 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1112 2009-12-01 David Levin <levin@chromium.org>
1114 Reviewed by Eric Seidel.
1116 check-webkit-style does not understand (Prefix)Foo(Custom|Gtk|CG|Mac).cpp including Foo.h
1117 https://bugs.webkit.org/show_bug.cgi?id=32033
1119 * Scripts/modules/cpp_style.py: Changed check for a possible primary header to use find
1120 instead of startswith.
1121 * Scripts/modules/cpp_style_unittest.py: Added a unit test for the new behavior.
1123 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
1125 Not reviewed. Qt build almost fixed, DumpRenderTree should compile now as well.
1127 * DumpRenderTree/qt/LayoutTestControllerQt.h: Update old function signature.
1129 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
1131 Reviewed by Simon Fraser.
1133 Add SVG animation test framework with 'snapshot' functionality
1134 https://bugs.webkit.org/show_bug.cgi?id=31897
1136 Add new 'sampleSVGAnimationForElementAtTime' DRT method,
1137 used by the new SVG animation testing framework, implemented
1140 * DumpRenderTree/LayoutTestController.cpp:
1141 (sampleSVGAnimationForElementAtTimeCallback):
1142 (LayoutTestController::staticFunctions):
1143 * DumpRenderTree/LayoutTestController.h:
1144 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1145 (LayoutTestController::sampleSVGAnimationForElementAtTime):
1146 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1147 (LayoutTestController::sampleSVGAnimationForElementAtTime):
1148 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1149 (LayoutTestController::sampleSVGAnimationForElementAtTime):
1150 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1151 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1152 (LayoutTestController::sampleSVGAnimationForElementAtTime):
1153 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1154 (LayoutTestController::sampleSVGAnimationForElementAtTime):
1156 2009-12-01 Adam Roben <aroben@apple.com>
1158 Remove user content before running each test on Windows
1160 Fixes <http://webkit.org/b/31479> Make websocket tests work on Windows
1162 Reviewed by Alexey Proskuryakov.
1164 * DumpRenderTree/win/DumpRenderTree.cpp:
1165 (resetWebViewToConsistentStateBeforeTesting): Remove all user content
1166 before each test, which matches Mac.
1168 2009-12-01 Yuzo Fujishima <yuzo@google.com>
1170 Reviewed by Alexey Proskuryakov.
1172 Make pywebsocket log errors to a file
1173 https://bugs.webkit.org/show_bug.cgi?id=31604
1175 * Scripts/run-webkit-tests: Log output to a pywebsocket_log.txt file in results directory
1176 (by passing the path to the server via a recently added -l option).
1178 2009-12-01 Adam Roben <aroben@apple.com>
1180 Fix tests that use the TestNetscapePlugin in Debug_Internal builds
1182 Reviewed by Ada Chan.
1184 Fixes <http://webkit.org/b/32027> REGRESSION (r49705): Tests that use
1185 TestNetscapePlugin fail in Debug_Internal builds
1187 * DumpRenderTree/win/DumpRenderTree.cpp: Use the "_Debug" plugin
1188 directory in Debug and Debug_All builds, but not in Debug_Internal
1191 2009-12-01 Adam Roben <aroben@apple.com>
1193 Re-enable DRT's watchdog timer on Windows
1195 It was accidentally disabled in r50907.
1197 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1198 (LayoutTestController::setWaitToDump): Remove a "false &&" that snuck
1199 into an if condition.
1201 2009-12-01 Adam Barth <abarth@webkit.org>
1203 Reviewed by Eric Seidel.
1205 check-webkit-style complains about #imports with / in them
1206 https://bugs.webkit.org/show_bug.cgi?id=32022
1208 We need to exclude #import directives in addition to #include from the
1209 binary operator whitespace checks.
1211 * Scripts/modules/cpp_style.py:
1212 * Scripts/modules/cpp_style_unittest.py:
1214 2009-11-30 Adam Barth <abarth@webkit.org>
1216 Reviewed by Eric Seidel.
1218 check-webkit-style is slightly too verbose
1219 https://bugs.webkit.org/show_bug.cgi?id=32010
1221 check-webkit-style prints out a bunch of "done" lines that seem redundant,
1222 especially for the style-queue.
1224 * Scripts/modules/cpp_style.py:
1226 2009-11-30 Alejandro G. Castro <alex@igalia.com>
1228 Reviewed by Eric Seidel.
1230 [GTK] Moved the functions that are closing the result log of the
1231 tests to the last line of the runTest function, this avoids
1232 reporting crashes in the wrong test if there is a problem when
1233 reseting the state after the test.
1235 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1239 2009-11-30 Sam Weinig <sam@webkit.org>
1241 Reviewed by Geoffrey Garen.
1243 Fix for https://bugs.webkit.org/show_bug.cgi?id=31286
1244 fast/js/date-proto-generic-invocation breaks another test
1246 Don't cache JSClassRefs, a change to the prototype chain will
1249 * DumpRenderTree/AccessibilityController.cpp:
1250 (AccessibilityController::getJSClass):
1251 * DumpRenderTree/GCController.cpp:
1252 (GCController::getJSClass):
1253 * DumpRenderTree/GCController.h:
1254 * DumpRenderTree/LayoutTestController.cpp:
1255 (LayoutTestController::getJSClass):
1257 2009-11-30 Yuzo Fujishima <yuzo@google.com>
1259 Reviewed by Alexey Proskuryakov.
1261 Update pywebsocket to 0.4.2.1.
1262 This is to fix a bug that some messages are logged to stderr even when the log file is specified.
1263 https://bugs.webkit.org/show_bug.cgi?id=31976
1265 * pywebsocket/mod_pywebsocket/standalone.py:
1266 * pywebsocket/setup.py:
1268 2009-11-30 Adam Barth <abarth@webkit.org>
1270 Reviewed by Eric Seidel.
1272 [bzt] Generate pass messages for style-queue
1273 https://bugs.webkit.org/show_bug.cgi?id=31995
1275 With this change, the style-queue posts "pass" messages to bugs as
1276 well. Also, added more information to the state store w.r.t. passing
1279 * Scripts/modules/commands/queues.py:
1280 * Scripts/modules/patchcollection.py:
1282 2009-11-30 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1284 Reviewed by Simon Fraser.
1286 Check for WEBKIT_TESTFONTS environment variable in
1287 run-webkit-tests, for GTK+, to have a more prominent error
1290 * Scripts/run-webkit-tests:
1292 2009-11-30 Yaar Schnitman <yaar@chromium.org>
1294 Reviewed by Dimitri Glazkov.
1296 update-webkit --chromium forces gclient sync
1298 https://bugs.webkit.org/show_bug.cgi?id=31967
1300 * Scripts/update-webkit-chromium:
1302 2009-11-29 Eric Seidel <eric@webkit.org>
1304 Add Erik Arvidsson to committers.py since by r51326 he clear has commit rights.
1306 * Scripts/modules/committers.py:
1308 2009-11-29 Eric Seidel <eric@webkit.org>
1310 No review, just adding missing svn property.
1312 Set svn:executable property on new scripts.
1313 These were added by commit-queue commits, but the executable
1314 property was lost due to a bug in svn-apply:
1315 https://bugs.webkit.org/show_bug.cgi?id=27204
1317 * Scripts/update-webkit-chromium: Added property svn:executable.
1318 * Scripts/validate-committer-lists: Added property svn:executable.
1320 2009-11-29 Eric Seidel <eric@webkit.org>
1322 Reviewed by Adam Barth.
1324 Need a way to validate that committers.py includes all committers/reviewers
1325 https://bugs.webkit.org/show_bug.cgi?id=30970
1327 Add a script which knows how to compare our public committer/reviewer
1328 lists and show discrepancies between them.
1330 Validates mailing lists vs. committers.py:
1331 - committers.py committers missing from webkit-committers@lists
1332 - webkit-committers@lists members missing from committers.py
1333 - committers.py reviewers missing from webkit-reviewers@lists
1334 - webkit-reviewers@lists members missing from committers.py
1335 - webkit-reviewers@lists members missing from committers.py reviewer list
1337 Validates committers.py vs. trunk/ SVN history:
1338 - committers who have not committed in over a year
1339 - SVN committers missing from committers.py
1340 - committers.py members who have no record in SVN.
1342 All of these lists still show "false positives" until a few more committers.py updates are made, like:
1343 https://bugs.webkit.org/show_bug.cgi?id=31366
1345 * Scripts/validate-committer-lists: Added.
1347 2009-11-28 Adam Barth <abarth@webkit.org>
1349 Reviewed by Eric Seidel.
1351 [bzt] style-queue sends ~100 requests to QueueStatusServer every 5 minutes
1352 https://bugs.webkit.org/show_bug.cgi?id=31950
1354 Now we cache the last status that we get back from QueueStatusServer.
1355 Eventually we'll have to do something more fancy if we want to support
1356 a "try again" button on QueueStatusServer, but we can cross that bridge
1359 * Scripts/modules/patchcollection.py:
1361 2009-11-28 Adam Barth <abarth@webkit.org>
1363 Reviewed by Eric Seidel.
1365 StyleQueue scans ~100 bug pages every 5 minutes
1366 https://bugs.webkit.org/show_bug.cgi?id=31947
1368 Instead of getting the pending-review attachment ids by scanning each
1369 bug (which results in a network request), we should just get them all
1370 from webkit.org/pending-review in one shot.
1372 * Scripts/modules/bugzilla.py:
1373 * Scripts/modules/bugzilla_unittest.py:
1374 * Scripts/modules/commands/queries.py:
1375 * Scripts/modules/commands/queries_unittest.py:
1376 * Scripts/modules/commands/queues.py:
1377 * Scripts/modules/mock_bugzillatool.py:
1378 * Scripts/modules/patchcollection.py:
1380 2009-11-28 Adam Barth <abarth@webkit.org>
1382 Reviewed by Eric Seidel.
1384 [bzt] CC webkit-bot-watchers whenever the bots touch bugs
1385 https://bugs.webkit.org/show_bug.cgi?id=31952
1387 The mailing list is open for anyone to subscribe.
1389 * Scripts/modules/bugzilla.py:
1390 * Scripts/modules/commands/queues.py:
1392 2009-11-28 Adam Barth <abarth@webkit.org>
1394 Reviewed by Eric Seidel.
1396 [bzt] style-queue should report style errors to bugzilla
1397 https://bugs.webkit.org/show_bug.cgi?id=31945
1399 Currently, we're just logging the style errors locally. With this
1400 patch we'll actually log the errors to bugzilla. Note: I plan to run
1401 with the "local-only" logging during development.
1403 * Scripts/modules/commands/queues.py:
1404 * Scripts/modules/scm.py:
1406 2009-11-28 Adam Barth <abarth@webkit.org>
1408 Reviewed by Eric Seidel.
1410 [bzt] style-queue shouldn't reject patches from the commit-queue
1411 https://bugs.webkit.org/show_bug.cgi?id=31944
1413 Currently the style-queue subprocess gets confused and thinks its the
1414 commit-queue. If the patch has an error, it rejects it from the
1415 commit-queue. Instead, we should have style-queue specific logic.
1416 This patch doesn't add that logic, but it gives us a callback we can
1417 use to add that logic.
1419 * Scripts/modules/buildsteps.py:
1420 * Scripts/modules/commands/queues.py:
1421 * Scripts/modules/landingsequence.py:
1423 2009-11-27 Adam Barth <abarth@webkit.org>
1425 Rubber stamped by Eric Seidel.
1427 Rename CommitQueueStatus to QueueStatusServer to allow for more queues.
1429 * CommitQueueStatus: Removed.
1430 * CommitQueueStatus/app.yaml: Removed.
1431 * CommitQueueStatus/filters: Removed.
1432 * CommitQueueStatus/filters/__init__.py: Removed.
1433 * CommitQueueStatus/filters/webkit_extras.py: Removed.
1434 * CommitQueueStatus/index.html: Removed.
1435 * CommitQueueStatus/index.yaml: Removed.
1436 * CommitQueueStatus/queue_status.py: Removed.
1437 * CommitQueueStatus/stylesheets: Removed.
1438 * CommitQueueStatus/stylesheets/main.css: Removed.
1439 * CommitQueueStatus/update_status.html: Removed.
1440 * QueueStatusServer: Copied from WebKitTools/CommitQueueStatus.
1442 2009-11-27 Adam Barth <abarth@webkit.org>
1444 Reviewed by Eric Seidel.
1446 style-queue should only process each patch once
1447 https://bugs.webkit.org/show_bug.cgi?id=31939
1449 Actually address reviewer comments!
1451 * Scripts/bugzilla-tool:
1453 2009-11-27 Adam Barth <abarth@webkit.org>
1455 Reviewed by Eric Seidel.
1457 [bzt] style-queue fails to apply a bunch of patches for no reason
1458 https://bugs.webkit.org/show_bug.cgi?id=31942
1460 By passing --non-interactive to check-style, we convince check-style
1461 to pass --force to svn-apply, which lets it apply more patches.
1463 * Scripts/modules/commands/queues.py:
1465 2009-11-27 Adam Barth <abarth@webkit.org>
1467 Reviewed by Eric Seidel.
1469 [bzt] Support --status-host in style-queue
1470 https://bugs.webkit.org/show_bug.cgi?id=31941
1472 * Scripts/modules/commands/queues.py:
1473 * Scripts/modules/statusbot.py:
1475 2009-11-27 Adam Barth <abarth@webkit.org>
1477 Reviewed by Eric Seidel.
1479 style-queue should only process each patch once
1480 https://bugs.webkit.org/show_bug.cgi?id=31939
1482 Before processing a patch, the try-queues now ask the web service
1483 whether they have already processed the patch. This is an initial cut
1484 of this functionality. I expect we're make it richer over time.
1486 * Scripts/bugzilla-tool:
1487 * Scripts/modules/commands/queues.py:
1488 * Scripts/modules/patchcollection.py:
1490 2009-11-27 Adam Barth <abarth@webkit.org>
1492 Reviewed by Eric Seidel.
1494 PatchStatus does not return status
1495 https://bugs.webkit.org/show_bug.cgi?id=31938
1497 We need to parse attachment_id as an int. Otherwise, we can't find
1498 anything in the datastore.
1500 * CommitQueueStatus/queue_status.py:
1502 2009-11-27 Adam Barth <abarth@webkit.org>
1504 Reviewed by Eric Seidel.
1506 Make commit-queue status not throw an exception where there is not
1508 https://bugs.webkit.org/show_bug.cgi?id=31936
1510 We need to actually fetch the results of the query to see what's in the
1513 * CommitQueueStatus/queue_status.py:
1515 2009-11-27 Adam Barth <abarth@webkit.org>
1517 Reviewed by Eric Seidel.
1519 [bzt] unit test ApplyPatches and ApplyAttachment
1520 https://bugs.webkit.org/show_bug.cgi?id=31935
1522 * Scripts/modules/commands/download.py:
1523 * Scripts/modules/commands/download_unittest.py:
1525 2009-11-27 Adam Barth <abarth@webkit.org>
1527 Reviewed by Eric Seidel.
1529 [bzt] Unit test download commands
1530 https://bugs.webkit.org/show_bug.cgi?id=31923
1532 Adds download_unittest and fixes a bug found while testing.
1534 * Scripts/modules/commands/commandtest.py:
1535 * Scripts/modules/commands/download.py:
1536 Fixed a bug where we'd throw an error because [].append returns
1538 * Scripts/modules/commands/download_unittest.py: Added.
1539 * Scripts/modules/mock_bugzillatool.py:
1540 * Scripts/run-webkit-unittests:
1542 2009-11-27 Adam Barth <abarth@webkit.org>
1544 Unreviewed "build" fix found while writing unit tests.
1546 * Scripts/modules/commands/download.py:
1548 2009-11-27 Adam Barth <abarth@webkit.org>
1550 Reviewed by Eric Seidel.
1552 [bzt] Kill WebKitLandingScripts
1553 https://bugs.webkit.org/show_bug.cgi?id=31904
1555 Step 6: Kill the rest.
1557 * Scripts/modules/buildsteps.py:
1558 * Scripts/modules/commands/download.py:
1559 * Scripts/modules/commands/queries.py:
1560 * Scripts/modules/commands/upload.py:
1561 * Scripts/modules/landingsequence.py:
1562 * Scripts/modules/scm.py:
1563 * Scripts/modules/webkitlandingscripts.py: Removed.
1565 2009-11-27 Adam Barth <abarth@webkit.org>
1567 Reviewed by Eric Seidel.
1569 [bzt] Unit test upload commands
1570 https://bugs.webkit.org/show_bug.cgi?id=31903
1572 Adds unit tests for all but two of the upload commands. The two
1573 remaining ones are more difficult. I'll return to them later. The
1574 goal of these tests is just to run the commands. We can test more
1575 detailed behavior later.
1577 * Scripts/modules/commands/commandtest.py:
1578 * Scripts/modules/commands/upload.py:
1579 * Scripts/modules/commands/upload_unittest.py:
1580 * Scripts/modules/mock.py: Added.
1581 * Scripts/modules/mock_bugzillatool.py:
1583 2009-11-26 Adam Barth <abarth@webkit.org>
1585 Reviewed by Eric Seidel.
1587 [bzt] Kill WebKitLandingScripts
1588 https://bugs.webkit.org/show_bug.cgi?id=31904
1590 Step 5: Kill run_and_throw_if_fail.
1592 * Scripts/modules/buildsteps.py:
1593 * Scripts/modules/processutils.py: Added.
1594 * Scripts/modules/webkitlandingscripts.py:
1596 2009-11-26 Adam Barth <abarth@webkit.org>
1598 Reviewed by Eric Seidel.
1600 [bzt] Kill WebKitLandingScripts
1601 https://bugs.webkit.org/show_bug.cgi?id=31904
1603 Step 4: Kill run_webkit_script.
1605 * Scripts/modules/buildsteps.py:
1606 * Scripts/modules/commands/download.py:
1607 * Scripts/modules/webkitlandingscripts.py:
1609 2009-11-26 Adam Barth <abarth@webkit.org>
1611 Reviewed by Eric Seidel.
1613 [bzt] Kill WebKitLandingScripts
1614 https://bugs.webkit.org/show_bug.cgi?id=31904
1616 Step 3: Kill build_webkit.
1618 * Scripts/modules/buildsteps.py:
1619 * Scripts/modules/landingsequence.py:
1620 * Scripts/modules/webkitlandingscripts.py:
1622 2009-11-26 Adam Barth <abarth@webkit.org>
1624 Reviewed by Eric Seidel.
1626 [bzt] Kill WebKitLandingScripts
1627 https://bugs.webkit.org/show_bug.cgi?id=31904
1629 Step 2: Kill ensure_builders_are_green.
1631 * Scripts/modules/buildsteps.py:
1632 * Scripts/modules/commands/download.py:
1633 * Scripts/modules/landingsequence.py:
1634 * Scripts/modules/webkitlandingscripts.py:
1636 2009-11-26 Adam Barth <abarth@webkit.org>
1638 Reviewed by Eric Seidel.
1640 [bzt] Kill WebKitLandingScripts
1641 https://bugs.webkit.org/show_bug.cgi?id=31904
1643 Step 1: Kill prepare_clean_working_directory and run_webkit_tests.
1645 * Scripts/bugzilla-tool:
1646 * Scripts/modules/buildsteps.py: Added.
1647 * Scripts/modules/commands/download.py:
1648 * Scripts/modules/landingsequence.py:
1649 * Scripts/modules/webkitlandingscripts.py:
1651 2009-11-26 Zoltan Horvath <zoltan@webkit.org>
1653 Reviewed by Adam Barth.
1655 Remove directory prefixes from linux commands
1657 SCM unittests can cause errors on some systems if we use absolute reference to
1658 the commands, so directory prefixes have been removed.
1660 * Scripts/modules/scm_unittest.py:
1662 2009-11-21 Holger Hans Peter Freyther <zecke@selfish.org>
1664 Reviewed by Kenneth Rohde Christiansen.
1666 Link DumpRenderTree to the Qt Ui Tools
1667 https://bugs.webkit.org/show_bug.cgi?id=31203
1669 Implement QWebPage::createPlugin using the Qt Ui Tools
1670 to be able to create classes like QProgressBar from within
1671 the <object></object> tags This is required for the
1672 new automatic test of Qt Plugins.
1674 * DumpRenderTree/qt/DumpRenderTree.cpp:
1675 (WebCore::WebPage::createPlugin):
1676 * DumpRenderTree/qt/DumpRenderTree.h:
1677 * DumpRenderTree/qt/DumpRenderTree.pro:
1679 2009-11-25 Yuzo Fujishima <yuzo@google.com>
1681 Reviewed by Eric Seidel.
1683 Update pywebsocket to 0.4.2
1685 Update pywebsocket to 0.4.2
1686 https://bugs.webkit.org/show_bug.cgi?id=31861
1688 * pywebsocket/example/echo_client.py:
1689 * pywebsocket/example/echo_wsh.py:
1690 * pywebsocket/mod_pywebsocket/__init__.py:
1691 * pywebsocket/mod_pywebsocket/dispatch.py:
1692 * pywebsocket/mod_pywebsocket/msgutil.py:
1693 * pywebsocket/mod_pywebsocket/standalone.py:
1694 * pywebsocket/setup.py:
1695 * pywebsocket/test/test_dispatch.py:
1696 * pywebsocket/test/test_msgutil.py:
1698 2009-11-25 Adam Barth <abarth@webkit.org>
1700 Reviewed by Eric Seidel.
1702 Add unit test for mark-fixed
1703 https://bugs.webkit.org/show_bug.cgi?id=31896
1705 * Scripts/modules/commands/commandtest.py: Added.
1706 * Scripts/modules/commands/queries_unittest.py:
1707 * Scripts/modules/commands/upload_unittest.py: Added.
1708 * Scripts/modules/mock_bugzillatool.py:
1709 * Scripts/run-webkit-unittests:
1711 2009-11-25 Adam Barth <abarth@webkit.org>
1713 Reviewed by Eric Seidel.
1715 bugzilla-tool should have a mark-fixed command
1716 https://bugs.webkit.org/show_bug.cgi?id=31853
1718 Pretty simple stuff.
1720 * Scripts/modules/commands/upload.py:
1722 2009-11-25 Eric Seidel <eric@webkit.org>
1724 Reviewed by Adam Barth.
1726 'bugzilla-tool help' should only show common commands like how 'git help' does
1727 https://bugs.webkit.org/show_bug.cgi?id=31772
1729 I also took this opportunity to make 'help' a real Command.
1730 Making 'help' a real command required adding Command.tool (which we've wanted to do for a while).
1732 * Scripts/bugzilla-tool:
1733 - change should_show_command_help to should_show_in_main_help
1734 * Scripts/modules/commands/download.py:
1735 - Mark commands as being shown in main help or not.
1736 - show_in_main_help = False is not required (default is false),
1737 but it seemed to make the commands more self-documenting.
1738 * Scripts/modules/commands/queries.py: ditto
1739 * Scripts/modules/commands/queues.py: ditto
1740 * Scripts/modules/commands/upload.py: ditto
1741 * Scripts/modules/multicommandtool.py:
1742 - Make Command hold a pointer to tool in self.tool. Most Command
1743 subclasses do not take advantage of this yet, but it was required
1744 for HelpCommand to be able to reach the tool from _help_epilog().
1745 - Move MultiCommandTool._standalone_help_for_command to Command.standalone_help
1746 - Move MultiCommandTool._help_epilog to Command._help_epilog
1747 - Move "help" logic into HelpCommand.execute()
1748 - Change should_show_command_help to should_show_in_main_help and add a default implementation.
1749 * Scripts/modules/multicommandtool_unittest.py:
1750 - Test hiding of Commands in --help, and that all commands are shown in 'help --all-commands'
1752 2009-11-25 Brian Weinstein <bweinstein@apple.com>
1754 Reviewed by Dan Bernstein.
1758 The buildbots are failing on Windows because when they were upgraded
1759 to 4.0.4, Apple Application Support was not in their path. Add it to
1760 the path to fix the buildots.
1762 * Scripts/webkitdirs.pm:
1764 2009-11-25 Csaba Osztrogonác <ossy@webkit.org>
1766 Reviewed by David Kilzer.
1768 run-webkit-tests doesn't accept directories/files with --skipped=only parameter
1769 https://bugs.webkit.org/show_bug.cgi?id=31799
1771 * Scripts/run-webkit-tests: Fixed.
1773 2009-11-25 Zoltan Horvath <zoltan@webkit.org>
1775 Reviewed by Eric Seidel.
1777 Change run_command to give back stderr by default
1778 https://bugs.webkit.org/show_bug.cgi?id=31734
1780 Change run_command to give back stderr by default.
1781 Set run_commands's 'svn-create-patch' calling to put only the stdout into the patches.
1782 Change the related unittest call.
1784 * Scripts/modules/scm.py:
1785 * Scripts/modules/scm_unittest.py:
1787 2009-11-25 Eric Seidel <eric@webkit.org>
1789 Reviewed by Adam Barth.
1791 Centralize required argument parsing in Command
1792 https://bugs.webkit.org/show_bug.cgi?id=31872
1794 * Scripts/modules/commands/download.py: remove custom required arg message.
1795 * Scripts/modules/commands/upload.py: ditto.
1796 * Scripts/modules/multicommandtool.py:
1797 - Add _parse_required_arguments.
1798 - Pass program name off to OptionParser.
1799 - Add name() for access to tool name.
1800 - Add check_arguments_and_execute and make it return a return code.
1801 - Replace a couple uses of + with %.
1802 * Scripts/modules/multicommandtool_unittest.py: test _parse_required_arguments
1804 2009-11-25 Eric Seidel <eric@webkit.org>
1806 Reviewed by Adam Barth.
1808 Abstract out capturing stdout/stderr into a new OutputCapture class for re-use among the various unit tests.
1809 https://bugs.webkit.org/show_bug.cgi?id=31870
1811 * Scripts/modules/commands/queries_unittest.py: Use the new class.
1812 * Scripts/modules/multicommandtool_unittest.py: Ditto.
1813 * Scripts/modules/outputcapture.py: Added.
1815 2009-11-24 Dmitry Titov <dimich@chromium.org>
1817 Reviewed by Eric Seidel.
1819 Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit
1820 https://bugs.webkit.org/show_bug.cgi?id=31444
1822 * Scripts/build-webkit:
1824 2009-11-24 Chris Marrin <cmarrin@apple.com>
1826 Reviewed by Simon Fraser.
1828 Changes the way 3D_RENDERING and ACCELERATED_COMPOSITING related tests are excluded
1829 https://bugs.webkit.org/show_bug.cgi?id=27314
1831 Now the script allows the directories with these tests to be included on all
1832 platforms but Mac, where they behave the same as always. For all other platforms
1833 the tests need to be excluded using the Skipped files, which is currently done
1834 for all platforms (including win since we're not turned on yet)
1836 * Scripts/webkitdirs.pm:
1838 2009-11-24 Eric Seidel <eric@webkit.org>
1840 Reviewed by Adam Barth.
1842 queries_unittest.py should test command output
1843 https://bugs.webkit.org/show_bug.cgi?id=31845
1845 * Scripts/modules/commands/queries_unittest.py:
1846 - Capture stdout and stderr and compare with expected strings.
1848 2009-11-24 Simon Fraser <simon.fraser@apple.com>
1852 Fix spelling error ("depenedencies").
1854 * Scripts/build-webkit:
1856 2009-11-24 Mark Rowe <mrowe@apple.com>
1858 Land the configuration that includes the two debug GTK Linux builders.
1860 * BuildSlaveSupport/build.webkit.org-config/config.json:
1862 2009-11-24 David Kilzer <ddkilzer@apple.com>
1864 <http://webkit.org/b/31840> bisect-builds broke after r50080
1866 Reviewed by Dan Bernstein.
1868 * Scripts/bisect-builds:
1869 (mountAndRunNightly): Switched back to using backticks to run
1870 the hdiutil command since exec() will terminate the existing
1871 script, which is not what we want. Store the output of
1872 File::Spec->devnull() in a variable for use in the hdiutil
1875 2009-11-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1877 Reviewed by Kenneth Rohde Christiansen.
1879 Include "config.h" to meet Coding Style Guidelines
1880 https://bugs.webkit.org/show_bug.cgi?id=31792
1882 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
1883 * DumpRenderTree/qt/jsobjects.cpp:
1884 * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
1886 2009-11-23 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1888 Reviewed by Oliver Hunt.
1890 Implement new required function to pass test we used to pass. This
1891 change is required since r51294.
1893 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1894 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
1896 2009-11-23 Jakub Wieczorek <faw217@gmail.com>
1898 Reviewed by Kenneth Rohde Christiansen.
1900 [Qt] DRT: dumpBackForwardList() does not work properly with non-file URLs.
1901 https://bugs.webkit.org/show_bug.cgi?id=31775
1903 LayoutTestController::dumpBackForwardList() should work with local URLs
1904 as well as with normal URLs (in http tests for instance).
1905 Currently it does not output the latter properly.
1907 Unskip a bunch of passing http/navigation tests.
1909 * DumpRenderTree/qt/DumpRenderTree.cpp:
1910 (WebCore::dumpHistoryItem):
1912 2009-11-22 Chris Fleizach <cfleizach@apple.com>
1914 Reviewed by Oliver Hunt.
1916 ARIA: support aria-flowto
1917 https://bugs.webkit.org/show_bug.cgi?id=31762
1919 * DumpRenderTree/AccessibilityUIElement.cpp:
1920 (ariaFlowToElementAtIndexCallback):
1921 (AccessibilityUIElement::getJSClass):
1922 * DumpRenderTree/AccessibilityUIElement.h:
1923 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
1924 (AccessibilityUIElement::ariaFlowToElementAtIndex):
1925 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1926 (AccessibilityUIElement::ariaFlowToElementAtIndex):
1927 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1928 (AccessibilityUIElement::ariaFlowToElementAtIndex):
1930 2009-11-22 Antonio Gomes <tonikitoo@webkit.org>
1932 Reviewed by Kenneth Christiansen.
1934 [Qt] fast/history/back-forward-reset-after-error-handling.html failing due to WorkQueue not being un-frozen
1935 https://bugs.webkit.org/show_bug.cgi?id=31638
1937 Unfreeze WorkQueue after each test execution.
1939 * DumpRenderTree/qt/DumpRenderTree.cpp:
1940 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1942 2009-11-22 Jakub Wieczorek <faw217@gmail.com>
1944 Reviewed by Adam Barth.
1946 [Qt] DumpRenderTree should explicitly ignore any SSL certificate errors
1947 for localhost and 127.0.0.1.
1948 https://bugs.webkit.org/show_bug.cgi?id=31783
1950 Unskip the http/tests/ssl/verify-ssl-enabled.php test, which is passing now.
1952 * DumpRenderTree/qt/DumpRenderTree.cpp:
1953 (WebCore::NetworkAccessManager::NetworkAccessManager):
1954 (WebCore::NetworkAccessManager::sslErrorsEncountered):
1955 (WebCore::WebPage::WebPage):
1956 * DumpRenderTree/qt/DumpRenderTree.h:
1958 2009-11-22 Chris Evans <cevans@chromium.org>
1960 Reviewed by Adam Barth.
1962 Disable access to file:/// directory listings
1963 https://bugs.webkit.org/show_bug.cgi?id=31329
1965 Implemented setAllowUniversalAccessFromFileURLs to support testing of
1968 * DumpRenderTree/LayoutTestController.cpp:
1969 (setAllowUniversalAccessFromFileURLsCallback):
1970 (LayoutTestController::staticFunctions):
1971 * DumpRenderTree/LayoutTestController.h:
1972 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1973 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
1974 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1975 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
1976 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1977 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
1978 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1979 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
1981 2009-11-22 Jakub Wieczorek <faw217@gmail.com>
1983 Reviewed by Kenneth Rohde Christiansen.
1985 [Qt] Fix the timeout of fast/frames/frame-navigation.html
1986 https://bugs.webkit.org/show_bug.cgi?id=31638
1988 The test is timeouting, because it uses the WorkQueue to load a document in one
1989 of the child frames and once the loading is finished, the DRT does not dump the
1990 tree. This is because it waits for the QWebFrame::loadFinished() signal from
1991 the main frame, while it should connect to QWebPage::loadFinished().
1993 * DumpRenderTree/qt/DumpRenderTree.cpp:
1994 (WebCore::DumpRenderTree::DumpRenderTree):
1996 2009-11-21 Eric Seidel <eric@webkit.org>
1998 Reviewed by Adam Barth.
2000 bugzilla-tool --help spews way too much text
2001 https://bugs.webkit.org/show_bug.cgi?id=31771
2003 * Scripts/bugzilla-tool:
2004 - Remove self.cached_scm initialization hack.
2005 * Scripts/modules/buildbot.py:
2006 - Make default_host accessible to callers.
2007 * Scripts/modules/commands/download.py:
2008 - Phrase help for all commands consistently and remove spurious help text punctuation.
2009 * Scripts/modules/commands/queries.py: Ditto.
2010 * Scripts/modules/commands/queues.py: Ditto.
2011 * Scripts/modules/commands/upload.py: Ditto.
2012 * Scripts/modules/multicommandtool.py:
2013 - Add HelpPrintingOptionParser.format_epilog to replace
2014 NonWrappingEpilogIndentedHelpFormatter and allow us to lazily initialize
2015 per-command help (thus removing the need for the cached_scm hack in BugzillaTool).
2016 - Make --help only show a list of commands like "svn help" and "git help" do --
2017 previously --help was listing all commands and options.
2018 - Sort list of commands alphabetically.
2020 2009-11-21 Eric Seidel <eric@webkit.org>
2022 No review. Fixing a typo from the previous patch for bug 31767.
2024 AbstractQueue.run_bugzilla_tool throws an exception
2025 https://bugs.webkit.org/show_bug.cgi?id=31769
2027 * Scripts/modules/commands/queues.py:
2029 2009-11-21 Eric Seidel <eric@webkit.org>
2031 Reviewed by Adam Barth.
2033 commit-queue fails to run with "permissions error" due to bad bugzilla-tool path
2034 https://bugs.webkit.org/show_bug.cgi?id=31767
2036 What we really want to test is BugzillaTool.path() instead of TrivialTool.path().
2037 Since we don't have a good way to test BugzillaTool pieces, I've
2038 left out a test for now.
2040 * Scripts/bugzilla-tool:
2041 - Add a path() implementation to expose bugzilla-tool's __file__ path to commit-queue.
2042 * Scripts/modules/commands/queues.py:
2043 - Use tool.path() instead of __file__.
2044 * Scripts/modules/multicommandtool.py:
2045 - Add a new path() method to MultiComandTool.
2046 * Scripts/modules/multicommandtool_unittest.py:
2047 - Provide a path() method. Little point in testing this mock implementation.
2049 2009-11-21 Adam Barth <abarth@webkit.org>
2051 Unreviewed "build" fix. Turns out I was testing the wrong copy of
2054 * Scripts/modules/commands/download.py:
2056 2009-11-21 Adam Barth <abarth@webkit.org>
2058 Reviewed by Eric Seidel.
2060 Convert check-style to use LandingSequence
2061 https://bugs.webkit.org/show_bug.cgi?id=31763
2063 Instead of manipulating the working copy by hand, we should use the
2064 LandingSequence in CheckStyle. This will make this code eaiser to
2067 * Scripts/modules/commands/download.py:
2069 2009-11-20 Adam Barth <abarth@webkit.org>
2071 Reviewed by Eric Seidel.
2073 Unit test query commands
2074 https://bugs.webkit.org/show_bug.cgi?id=31755
2076 These tests are pretty rough, but hopefully they'll grow.
2078 * Scripts/modules/commands/queries_unittest.py: Added.
2079 * Scripts/modules/mock_bugzillatool.py: Added.
2080 * Scripts/run-webkit-unittests:
2082 2009-11-20 Eric Seidel <eric@webkit.org>
2084 Reviewed by Adam Barth.
2086 Fix a bunch of unit test regressions from our recent bugzilla-toll hacking
2087 https://bugs.webkit.org/show_bug.cgi?id=31758
2089 * Scripts/modules/multicommandtool.py:
2090 - Allow passing of explicit commands to MultiCommandTool.__init__
2091 * Scripts/modules/multicommandtool_unittest.py:
2092 - Use new Command.name naming system.
2093 - Test Command auto-discovery.
2094 * Scripts/modules/workqueue.py:
2095 - bug_id no longer exists, use patch['bug_id'] instead.
2096 * Scripts/modules/workqueue_unittest.py:
2097 - WorkQueues require names now.
2098 - should_proceed_with_work_item must return a patch object.
2100 2009-11-20 Chris Fleizach <cfleizach@apple.com>
2102 Reviewed by Beth Dakin.
2104 WAI-ARIA: add support for aria-owns
2105 https://bugs.webkit.org/show_bug.cgi?id=31702
2107 * DumpRenderTree/AccessibilityUIElement.cpp:
2108 (ariaOwnsElementAtIndexCallback):
2109 (AccessibilityUIElement::getJSClass):
2110 * DumpRenderTree/AccessibilityUIElement.h:
2111 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2112 (AccessibilityUIElement::ariaOwnsElementAtIndex):
2113 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2114 (AccessibilityUIElement::ariaOwnsElementAtIndex):
2115 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2116 (AccessibilityUIElement::ariaOwnsElementAtIndex):
2118 2009-11-20 Eric Seidel <eric@webkit.org>
2120 Reviewed by Adam Barth.
2122 Fix exception thrown when running the commit-queue.
2124 * Scripts/modules/statusbot.py: patch is optional.
2125 * Scripts/modules/workqueue.py: WorkQUeue requires a name.
2127 2009-11-20 Eric Seidel <eric@webkit.org>
2129 Reviewed by Adam Barth.
2131 Teach the StatusBot how to support more than just the commit-queue
2132 https://bugs.webkit.org/show_bug.cgi?id=31754
2134 * Scripts/modules/workqueue.py: Another typo.
2136 2009-11-20 Eric Seidel <eric@webkit.org>
2138 Reviewed by Adam Barth.
2140 Teach the StatusBot how to support more than just the commit-queue
2141 https://bugs.webkit.org/show_bug.cgi?id=31754
2143 * Scripts/modules/commands/queues.py: Fix silly typo.
2145 2009-11-20 Eric Seidel <eric@webkit.org>
2147 Reviewed by Adam Barth.
2149 Teach the StatusBot how to support more than just the commit-queue
2150 https://bugs.webkit.org/show_bug.cgi?id=31754
2152 * CommitQueueStatus/index.yaml:
2153 - Add indices required for the new queries.
2154 * CommitQueueStatus/queue_status.py:
2155 - Add a patch-status page and move update_status to update-status.
2156 - Only display "commit-queue" status records for the commit-queue.
2157 - Add support for a queue_name property on status records.
2158 - Fix _int_from_request to actually work.
2159 * CommitQueueStatus/update_status.html:
2160 - Add support for a queue_name on status records.
2161 - Remove unused list of bug ids.
2162 * Scripts/modules/commands/queues.py
2163 - Make the queues pass the patch instead of the bug_id to StatusBot.
2164 * Scripts/modules/statusbot.py:
2165 - Support passing the queue_name to the status updates.
2166 - Support fetching patch status with patch_status().
2167 * Scripts/modules/workqueue.py:
2168 - Pass the patch to the StatusBot instead of the bug_id.
2169 - Let WorkQueues have a name.
2171 2009-11-20 Adam Barth <abarth@webkit.org>
2173 Reviewed by Eric Seidel.
2175 Move bugzilla-tool commands into their own file
2176 https://bugs.webkit.org/show_bug.cgi?id=31752
2178 This will let us write unit tests.
2180 * Scripts/bugzilla-tool:
2181 * Scripts/modules/commands/__init__.py: Added.
2182 * Scripts/modules/commands/download.py: Added.
2183 * Scripts/modules/commands/queries.py: Added.
2184 * Scripts/modules/commands/queues.py: Added.
2185 * Scripts/modules/commands/upload.py: Added.
2186 * Scripts/modules/grammar.py: Added.
2188 2009-11-20 Adam Barth <abarth@webkit.org>
2190 Reviewed by Eric Seidel.
2192 BuildQueue should check if the tree is currently buildable
2193 https://bugs.webkit.org/show_bug.cgi?id=31744
2195 * Scripts/bugzilla-tool:
2196 * Scripts/modules/landingsequence.py:
2197 * Scripts/modules/webkitlandingscripts.py:
2199 2009-11-20 Adam Barth <abarth@webkit.org>
2201 Reviewed by Eric Seidel.
2203 Move prepare_clean_working_directory into the LandingSequence
2204 https://bugs.webkit.org/show_bug.cgi?id=31743
2206 * Scripts/bugzilla-tool:
2207 * Scripts/modules/landingsequence.py:
2209 2009-11-20 Yael Aharon <yael.aharon@nokia.com>
2211 Reviewed by Kenneth Rohde Christiansen.
2213 NPN_ReloadPlugins does not reload the page even if reloadPages is true.
2214 https://bugs.webkit.org/show_bug.cgi?id=30460
2216 Added code for calling NPN_ReloadPlugins with reloadPages true and false.
2218 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2221 2009-11-20 Adam Barth <abarth@webkit.org>
2223 Reviewed by Eric Seidel.
2225 Pass the port information to the child process
2226 https://bugs.webkit.org/show_bug.cgi?id=31736
2228 We need to do this so the child process knows what to build!
2230 * Scripts/bugzilla-tool:
2231 * Scripts/modules/landingsequence.py:
2232 * Scripts/modules/webkitport.py:
2233 * Scripts/modules/webkitport_unittest.py:
2235 2009-11-20 Adam Barth <abarth@webkit.org>
2237 Reviewed by Eric Seidel.
2239 Support Qt port in build-queue
2240 https://bugs.webkit.org/show_bug.cgi?id=31733
2242 * Scripts/bugzilla-tool:
2244 2009-11-20 Adam Barth <abarth@webkit.org>
2246 Reviewed by Eric Seidel.
2248 Implement a build-queue
2249 https://bugs.webkit.org/show_bug.cgi?id=31725
2251 Currently this just builds the first 10 patches in the review queue.
2252 We'll want to do something smarter soon.
2254 * Scripts/bugzilla-tool:
2256 2009-11-20 Adam Barth <abarth@webkit.org>
2258 Reviewed by Eric Seidel.
2260 Make commit-queue and style-queue show up in help
2261 https://bugs.webkit.org/show_bug.cgi?id=31724
2263 We need to store their names on their class to make these commands
2264 properly register themselves with MultiCommandTool.
2266 * Scripts/bugzilla-tool:
2268 2009-11-20 Adam Barth <abarth@webkit.org>
2270 Reviewed by Eric Seidel.
2272 Implement bugzilla-tool build-attachment
2273 https://bugs.webkit.org/show_bug.cgi?id=31722
2275 This command builds an attachment from bugzilla. It leaves the built
2276 patch in the working copy.
2278 * Scripts/bugzilla-tool:
2279 * Scripts/modules/landingsequence.py:
2280 * Scripts/modules/webkitlandingscripts.py:
2282 2009-11-20 Alejandro G. Castro <alex@igalia.com>
2284 Reviewed by Xan Lopez.
2286 [GTK] DRT release event does not create the state correctly
2287 https://bugs.webkit.org/show_bug.cgi?id=31717
2289 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
2291 2009-11-20 Eric Seidel <eric@webkit.org>
2293 Reviewed by Adam Barth.
2295 MultiCommandTool should find Command objects automatically instead of with a manual list
2296 https://bugs.webkit.org/show_bug.cgi?id=31710
2298 * Scripts/bugzilla-tool:
2299 * Scripts/modules/multicommandtool.py:
2300 - Use some wild python-fu to crawl all the known subclasses of Command.
2302 2009-11-20 Adam Barth <abarth@webkit.org>
2304 Unreviewed "build" fix. Added missing import.
2306 * Scripts/bugzilla-tool:
2308 2009-11-20 Adam Barth <abarth@webkit.org>
2310 Unreviewed "build" fix. I failed to update LandingSequence.test
2313 * Scripts/modules/landingsequence.py:
2315 2009-11-20 Adam Barth <abarth@webkit.org>
2317 Reviewed by Eric Seidel.
2319 Create LandingSequence as the all-sing, all-dance landing class
2320 https://bugs.webkit.org/show_bug.cgi?id=31709
2322 Client can inherit from this class to carefully control exactly which
2323 steps they wish to have happen in the landing sequence.
2325 * Scripts/bugzilla-tool:
2326 * Scripts/modules/landingsequence.py: Added.
2327 * Scripts/modules/webkitlandingscripts.py: Added.
2329 2009-11-19 Adam Barth <abarth@webkit.org>
2331 Reviewed by Eric Seidel.
2333 Abstract AbstractPatchProcessingCommand from AbstractPatchLandingCommand
2334 https://bugs.webkit.org/show_bug.cgi?id=31707
2336 This is to help when we implement build-attachment.
2338 * Scripts/bugzilla-tool:
2340 2009-11-19 Adam Barth <abarth@webkit.org>
2342 Reviewed by Eric Seidel.
2344 Support Qt port in bugzilla-tool
2345 https://bugs.webkit.org/show_bug.cgi?id=31701
2347 Now we support building with Qt!
2349 * Scripts/bugzilla-tool:
2350 * Scripts/modules/webkitport.py: Added.
2351 * Scripts/modules/webkitport_unittest.py: Added.
2352 * Scripts/run-webkit-unittests:
2354 2009-11-19 Zoltan Horvath <zoltan@webkit.org>
2356 Reviewed by Adam Barth.
2358 Remove inserting stderr into patch in bugzilla-tool
2359 https://bugs.webkit.org/show_bug.cgi?id=29914
2361 Modify SCM python module's run_command function to avoid return of stderr
2362 by default, so stderr won't be inserted into the patches.
2363 Modify the related unit test.
2365 * Scripts/modules/scm.py:
2366 * Scripts/modules/scm_unittest.py:
2368 2009-11-19 Eric Seidel <eric@webkit.org>
2370 Reviewed by Adam Barth.
2372 bugzilla-tool needs per-command help
2373 https://bugs.webkit.org/show_bug.cgi?id=31697
2375 Added support for "bugzilla-tool help command-name"
2376 and a unit test to make sure it works.
2378 * Scripts/modules/multicommandtool.py:
2379 * Scripts/modules/multicommandtool_unittest.py:
2381 2009-11-19 Eric Seidel <eric@webkit.org>
2383 Reviewed by Adam Barth.
2385 Move MultiCommandTool and Command into a separate file and add some basic unit tests
2386 https://bugs.webkit.org/show_bug.cgi?id=31695
2388 * Scripts/bugzilla-tool:
2389 * Scripts/modules/multicommandtool.py: Added.
2390 * Scripts/modules/multicommandtool_unittest.py: Added.
2391 * Scripts/run-webkit-unittests:
2393 2009-11-19 Eric Seidel <eric@webkit.org>
2395 No review, just adding a FIXME.
2397 Split out command parsing and help printing from BugzillaTool
2398 https://bugs.webkit.org/show_bug.cgi?id=31688
2400 * Scripts/bugzilla-tool: Add an extra comment about current design failures.
2402 2009-11-19 Eric Seidel <eric@webkit.org>
2404 Reviewed by Adam Barth.
2406 Split out command parsing and help printing from BugzillaTool
2407 https://bugs.webkit.org/show_bug.cgi?id=31688
2409 * Scripts/bugzilla-tool:
2410 - Add new MultiCommandTool class to contain option parsing and help printing logic.
2411 - Rename private methods to use _ pattern.
2412 - MultiCommandTool has two abstract methods should_show_command_help and should_execute_command.
2415 2009-11-19 Eric Seidel <eric@webkit.org>
2417 Reviewed by Adam Barth.
2419 Re-factor help printing to use modern python idioms
2420 https://bugs.webkit.org/show_bug.cgi?id=31685
2422 * Scripts/bugzilla-tool:
2424 2009-11-19 Eric Seidel <eric@webkit.org>
2426 Reviewed by Darin Adler.
2428 commit-queue empty queue logs twice
2429 https://bugs.webkit.org/show_bug.cgi?id=31679
2431 * Scripts/bugzilla-tool:
2433 2009-11-19 Eric Seidel <eric@webkit.org>
2435 Reviewed by Darin Adler.
2437 bugzilla-tool's reviewer/committer rejection message should be clearer
2438 https://bugs.webkit.org/show_bug.cgi?id=31126
2440 Add more explanatory prose to bugzilla-tool's flag permission rejection message.
2442 * Scripts/modules/bugzilla.py:
2444 2009-11-19 Eric Z. Ayers <zundel@google.com>
2446 Reviewed by Pavel Feldman.
2448 Forces a WM_PAINT event on calling layoutTestController.display()
2449 in order to enable the timeline-paint.html test on Windows.
2450 ::UpdateWindow() does not force an event becaue the window is
2453 https://bugs.webkit.org/show_bug.cgi?id=31402
2455 * DumpRenderTree/win/DumpRenderTree.cpp:
2458 2009-11-19 Michelangelo De Simone <michelangelo@webkit.org>
2462 Added myself to committers list.
2464 * Scripts/modules/committers.py:
2466 2009-11-19 Adam Barth <abarth@webkit.org>
2468 Reviewed by Eric Seidel.
2470 Bugzilla-tool command classes should match command names
2471 https://bugs.webkit.org/show_bug.cgi?id=31666
2473 I renamed all the commands except CommitMessageForCurrentDiff because
2474 the new name would conflict with an existing class.
2476 * Scripts/bugzilla-tool:
2478 2009-11-19 Pavel Feldman <pfeldman@chromium.org>
2480 Reviewed by Gustavo Noronha Silva.
2482 Web Inspector: Implement "show inspector" in WebKit GTK
2483 API and enable console tests.
2485 https://bugs.webkit.org/show_bug.cgi?id=31669
2487 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2488 (LayoutTestController::showWebInspector):
2490 2009-11-19 Kenneth Rohde Christiansen <kenneth@webkit.org>
2492 Reviewed by Simon Hausmann.
2494 Minor refactoring + more documentation.
2496 * DumpRenderTree/qt/DumpRenderTree.cpp:
2497 (WebCore::clearHistory):
2498 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
2500 2009-11-19 Fumitoshi Ukai <ukai@chromium.org>
2502 Reviewed by Eric Seidel.
2504 Ignore websocket tests when --no-http is specified.
2505 https://bugs.webkit.org/show_bug.cgi?id=31662
2507 * Scripts/run-webkit-tests:
2509 2009-11-18 Adam Barth <abarth@webkit.org>
2511 Reviewed by Eric Seidel.
2513 Normalize ' and " in bugzilla-tool
2514 https://bugs.webkit.org/show_bug.cgi?id=31655
2516 We decided " is better than ' and we should be consistent.
2518 * Scripts/bugzilla-tool:
2520 2009-11-18 Laszlo Gombos <laszlo.1.gombos@nokia.com>
2522 Reviewed by Kenneth Rohde Christiansen.
2524 [Qt] Remove support for Qt v4.3 or older versions
2525 https://bugs.webkit.org/show_bug.cgi?id=29469
2527 * DumpRenderTree/qt/DumpRenderTree.pro:
2528 * DumpRenderTree/qt/ImageDiff.pro:
2530 2009-11-18 Shinichiro Hamaji <hamaji@chromium.org>
2532 Reviewed by Eric Seidel.
2534 GitTest.test_create_binary_patch fails if /tmp is symlink
2535 https://bugs.webkit.org/show_bug.cgi?id=31536
2537 * Scripts/modules/scm_unittest.py:
2539 2009-11-18 Yaar Schnitman <yaar@chromium.org>
2541 Reviewed by Darin Adler.
2543 Configuration for Chromium Build Slaves.
2545 https://bugs.webkit.org/show_bug.cgi?id=31442
2547 * BuildSlaveSupport/build.webkit.org-config/config.json:
2548 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2550 2009-11-18 Eric Seidel <eric@webkit.org>
2552 Reviewed by Darin Adler.
2554 workqueue.py results in totally broken commit-queue UI
2555 https://bugs.webkit.org/show_bug.cgi?id=31645
2557 * Scripts/bugzilla-tool:
2558 - Remove unneeded use of PatchCollection.
2559 - Grab a new copy of the cq'd patches every run of the queue.
2561 2009-11-18 Sam Weinig <sam@webkit.org>
2563 Reviewed by Anders Carlsson.
2565 Make the Mac Geolocation API async.
2567 Update DRT to use the new async Mac Geolocation API.
2569 * DumpRenderTree/mac/UIDelegate.mm:
2570 (-[UIDelegate webView:decidePolicyForGeolocationRequestFromOrigin:frame:listener:]):
2572 2009-11-18 Laszlo Gombos <laszlo.1.gombos@nokia.com>
2574 Reviewed by Kenneth Rohde Christiansen.
2576 Add and option to toggle HTML5 datalist support to build-webkit
2577 https://bugs.webkit.org/show_bug.cgi?id=31599
2579 * Scripts/build-webkit:
2581 2009-11-18 Kevin Watters <kevinwatters@gmail.com>
2583 Reviewed by Kevin Ollivier.
2585 Enable wx plugin support using the Windows implementation as a base.
2587 https://bugs.webkit.org/show_bug.cgi?id=31636
2589 * wx/build/settings.py:
2591 2009-11-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
2593 Reviewed by Simon Hausmann.
2595 Change the initialization order so that the controllers
2596 will be created before exporting them to the JS DOM window.
2598 * DumpRenderTree/qt/DumpRenderTree.cpp:
2599 (WebCore::DumpRenderTree::DumpRenderTree):
2601 2009-11-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
2603 Reviewed by Simon Hausmann.
2605 Fix a code copy and paste error. m_page should be page.
2607 * DumpRenderTree/qt/DumpRenderTree.cpp:
2608 (WebCore::DumpRenderTree::createWindow):
2610 2009-11-17 Mark Rowe <mrowe@apple.com>
2612 Reviewed by Alexey Proskuryakov.
2614 <http://webkit.org/b/31603> WebSocket server is confused if WebKit tests run from within /tmp on Mac OS X
2616 * pywebsocket/mod_pywebsocket/dispatch.py: Use os.path.realpath as it returns the canonical path of a file.
2617 This prevents symlinks from confusing the descendant check.
2619 2009-11-17 Mark Rowe <mrowe@apple.com>
2621 Reviewed by Alexey Proskuryakov.
2623 <http://webkit.org/b/31602> Failing to start the WebSocket server shouldn’t terminate entire test run
2625 If the WebSocket server fails to start have DRT load an error page in place of tests that require the
2626 server to be up rather than having run-webkit-tests abort immediately.
2628 * Scripts/run-webkit-tests:
2630 2009-11-17 Eric Seidel <eric@webkit.org>
2632 Reviewed by Darin Adler.
2634 commit-queue is failing to set reviewer in ChangeLogs
2635 https://bugs.webkit.org/show_bug.cgi?id=31592
2637 * Scripts/bugzilla-tool: Clarify the "applying" log message.
2638 * Scripts/modules/bugzilla.py:
2639 - Add a new _validate_committer_and_reviewer function as a
2640 temporary solution until we can make a real Attachment object
2641 which knows how to fill in its committer/reviewer fields automatically.
2643 2009-11-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
2645 Unreviewed buildbot fix.
2647 Revert part of earlier patch and add comment, as it
2648 was causing timeouts on the buildbot.
2650 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2651 (LayoutTestController::notifyDone):
2653 2009-11-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
2655 Reviewed by Oliver Hunt.
2657 Make the timeout 15 sec as for the other DRT's and make
2658 it print out the same output when a test timeout.
2660 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2661 (LayoutTestController::waitUntilDone):
2662 (LayoutTestController::notifyDone):
2663 (LayoutTestController::timerEvent):
2665 2009-11-17 Joseph Pecoraro <joepeck@webkit.org>
2667 Reviewed by Timothy Hatcher.
2669 Fixed typos in comments.
2671 * Scripts/modules/committers.py:
2673 2009-11-17 Pavel Feldman <pfeldman@chromium.org>
2675 Reviewed by Timothy Hatcher.
2677 Web Inspector: Make DRT show web inspector for tests in inspector/ folder.
2678 - Updated DRT to show/close inspector for all tests under /inspector
2679 - Introduced LayoutTestController::setTimelineProfilingEnabled and
2680 WebInspector::setTimelineProfilingEnabled beside setJavaScriptProfilingEnabled
2681 - Removed reload on each inspector test
2682 - Renamed fast/inspector to fast/inspector-support in order not to trigger
2683 inspector for those.
2684 - Reimplemented timeline tests in order to get rid of reload there.
2685 - Moved tests that don't require harness into the fast group.
2687 https://bugs.webkit.org/show_bug.cgi?id=31472
2689 * DumpRenderTree/LayoutTestController.cpp:
2690 (setTimelineProfilingEnabledCallback):
2691 (closeWebInspectorCallback):
2692 (LayoutTestController::staticFunctions):
2693 * DumpRenderTree/LayoutTestController.h:
2694 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2695 (shouldOpenWebInspector):
2697 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2698 (LayoutTestController::setTimelineProfilingEnabled):
2699 * DumpRenderTree/mac/DumpRenderTree.mm:
2700 (shouldOpenWebInspector):
2702 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2703 (LayoutTestController::setTimelineProfilingEnabled):
2704 * DumpRenderTree/win/DumpRenderTree.cpp:
2705 (shouldOpenWebInspector):
2707 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2708 (LayoutTestController::setTimelineProfilingEnabled):
2710 2009-11-17 Oliver Hunt <oliver@apple.com>
2712 Reviewed by Maciej Stachowiak.
2714 Incorrect use of JavaScriptCore API in DumpRenderTree
2715 https://bugs.webkit.org/show_bug.cgi?id=31577
2717 Return undefined rather than a literal null.
2719 * DumpRenderTree/AccessibilityUIElement.cpp:
2720 (setSelectedTextRangeCallback):
2721 (incrementCallback):
2722 (decrementCallback):
2725 2009-11-16 Chris Fleizach <cfleizach@apple.com>
2727 Reviewed by Beth Dakin.
2729 AX: aria-labelledby duplicates some of its WAI-ARIA label
2730 https://bugs.webkit.org/show_bug.cgi?id=31565
2732 * DumpRenderTree/AccessibilityUIElement.cpp:
2733 (titleUIElementCallback):
2734 (getIsValidCallback):
2735 (AccessibilityUIElement::getJSClass):
2737 2009-11-16 Kenneth Rohde Christiansen <kenneth@webkit.org>
2739 Reviewed by Simon Hausmann.
2741 r50942 broke output from created windows. Make the
2742 m_enableTextOutput a member of the DRT and not the
2745 * DumpRenderTree/qt/DumpRenderTree.cpp:
2746 (WebCore::WebPage::WebPage):
2747 (WebCore::WebPage::javaScriptAlert):
2748 (WebCore::WebPage::javaScriptConsoleMessage):
2749 (WebCore::WebPage::javaScriptConfirm):
2750 (WebCore::WebPage::javaScriptPrompt):
2751 (WebCore::WebPage::acceptNavigationRequest):
2752 (WebCore::DumpRenderTree::DumpRenderTree):
2753 (WebCore::DumpRenderTree::open):
2754 (WebCore::DumpRenderTree::createWindow):
2755 * DumpRenderTree/qt/DumpRenderTree.h:
2756 (WebCore::DumpRenderTree::setTextOutputEnabled):
2757 (WebCore::DumpRenderTree::isTextOutputEnabled):
2758 (WebCore::WebPage::shouldInterruptJavaScript):
2759 (WebCore::WebPage::isTextOutputEnabled):
2760 (WebCore::WebPage::setViewGeometry):
2762 2009-11-16 Kenneth Rohde Christiansen <kenneth@webkit.org>
2764 Reviewed by Gustavo Noronha Silva.
2766 Moved DumpRenderTree/gtk/TestNetscapePlugin to DumpRenderTree/unix/TestNetscapePlugin
2767 as the implementation is being used by at least Qt and Gtk+.
2769 Update buildsystems as well.
2771 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
2772 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h:
2773 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h:
2774 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h:
2775 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
2778 2009-11-16 Yuzo Fujishima <yuzo@google.com>
2780 Reviewed by Alexey Proskuryakov.
2782 Disable wss until all platforms support pyOpenSSL
2784 https://bugs.webkit.org/show_bug.cgi?id=31479
2786 * Scripts/run-webkit-tests:
2788 2009-11-14 Antonio Gomes <tonikitoo@webkit.org>
2790 Reviewed by Kenneth Christiansen.
2792 [Qt] Implement load error pages support for Qt's DRT.
2793 https://bugs.webkit.org/show_bug.cgi?id=31509
2795 For now, it will not be a default feature, and layout tests
2796 that want to make use of this have to explicitily call
2797 'handleErrorPages();' for the test source.
2799 Any of the other DumpRenderTree's (mac, win and gtk)
2800 support handling error pages. Qt's will be the first.
2802 * DumpRenderTree/qt/DumpRenderTree.cpp:
2803 (WebCore::WebPage::supportsExtension):
2804 (WebCore::WebPage::extension):
2805 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2806 (LayoutTestController::reset):
2807 * DumpRenderTree/qt/LayoutTestControllerQt.h:
2808 (LayoutTestController::shouldHandleErrorPages):
2809 (LayoutTestController::handleErrorPages):
2811 2009-11-16 Eric Seidel <eric@webkit.org>
2813 Reviewed by Adam Barth.
2815 Rename the --commit-queue flag on land-* now that the commit-queue needs no special treatment
2816 https://bugs.webkit.org/show_bug.cgi?id=31549
2818 Renamed --commit-queue to --non-interactive in most places
2819 and remove the code in land-patches which is no longer needed.
2821 * Scripts/bugzilla-tool:
2823 2009-11-16 Eric Seidel <eric@webkit.org>
2825 Reviewed by Adam Barth.
2827 The commit-queue should use land-attachment
2828 https://bugs.webkit.org/show_bug.cgi?id=31548
2830 * Scripts/bugzilla-tool:
2832 2009-11-16 Adam Barth <abarth@webkit.org>
2834 Reviewed by Eric Seidel.
2836 Convert CommitQueue over to PatchCollection
2837 https://bugs.webkit.org/show_bug.cgi?id=31547
2839 Also fixes a bug in workqueue and adds a test!
2841 * Scripts/bugzilla-tool:
2842 * Scripts/modules/workqueue.py:
2843 * Scripts/modules/workqueue_unittest.py:
2845 2009-11-16 Adam Barth <abarth@webkit.org>
2847 Reviewed by Eric Seidel.
2849 Move StyleQueue over to using PatchCollection
2850 https://bugs.webkit.org/show_bug.cgi?id=31544
2852 That's what the class it's for.
2854 * Scripts/bugzilla-tool:
2855 * Scripts/modules/patchcollection.py:
2856 * Scripts/modules/patchcollection_unittest.py:
2858 2009-11-16 Eric Seidel <eric@webkit.org>
2860 Reviewed by Adam Barth.
2862 bugzilla-tool needs a land-attachment command
2863 https://bugs.webkit.org/show_bug.cgi?id=31546
2865 * Scripts/bugzilla-tool:
2866 - Move all the logic into AbstractLandingCommand and
2867 add a new LandAttachment command subclass.
2868 - Split out _collect_patches_by_bug logging from _fetch_list_of_patches_to_land.
2870 2009-11-16 Eric Seidel <eric@webkit.org>
2872 Reviewed by Adam Barth.
2874 Move more patch-landing code into WebKitLandingScripts in preparation for land-attachment
2875 https://bugs.webkit.org/show_bug.cgi?id=31543
2877 Just moving code and updating the one caller to use WebKitLandingScripts instead of 'self'.
2879 * Scripts/bugzilla-tool:
2881 2009-11-16 Eric Seidel <eric@webkit.org>
2883 Reviewed by Adam Barth.
2885 Disable the style queue from posting to the commit queue status page.
2887 * Scripts/bugzilla-tool:
2889 2009-11-16 Adam Barth <abarth@webkit.org>
2891 Reviewed by Eric Seidel.
2893 Implement PatchCollection
2894 https://bugs.webkit.org/show_bug.cgi?id=31541
2896 This class holds a set of patches and lets clients iterate through
2897 them. Optionally, clients can install a filter.
2899 * Scripts/modules/patchcollection.py: Added.
2900 * Scripts/modules/patchcollection_unittest.py: Added.
2901 * Scripts/run-webkit-unittests:
2903 2009-11-16 Eric Seidel <eric@webkit.org>
2905 Reviewed by Adam Barth.
2907 bugzilla-tool land-patches will close bugs with patches r=?
2908 https://bugs.webkit.org/show_bug.cgi?id=28230
2910 The commit-queue shouldn't close patches with outstanding reviews on them,
2911 even if many reviewers seem to be against multi-patch bugs.
2913 * Scripts/bugzilla-tool:
2915 2009-11-16 Eric Seidel <eric@webkit.org>
2917 Reviewed by Adam Barth.
2919 bugzilla-tool check-style should work with attachment ids instead of bug ids
2920 https://bugs.webkit.org/show_bug.cgi?id=31540
2922 * Scripts/bugzilla-tool:
2924 2009-11-16 Eric Seidel <eric@webkit.org>
2926 Reviewed by Adam Barth.
2928 WorkQueue is the only place that should know about special exit codes
2929 https://bugs.webkit.org/show_bug.cgi?id=31534
2931 Move LandPatchesFromBugs.handled_error to WorkQueue.exit_after_handled_error
2932 and add tests for handling exit codes.
2933 I also cleaned up workqueue_unittest.py more.
2935 * Scripts/bugzilla-tool:
2936 * Scripts/modules/workqueue.py:
2937 * Scripts/modules/workqueue_unittest.py:
2939 2009-11-16 Eric Seidel <eric@webkit.org>
2941 Reviewed by Adam Barth.
2943 Re-factor workqueue_unittest to allow for more than one test.
2944 https://bugs.webkit.org/show_bug.cgi?id=31535
2946 * Scripts/modules/workqueue_unittest.py:
2948 2009-11-16 Eric Seidel <eric@webkit.org>
2950 Reviewed by Adam Barth.
2952 land-patches needs to be re-factored into smaller chunks
2953 https://bugs.webkit.org/show_bug.cgi?id=31532
2955 * Scripts/bugzilla-tool: fix a couple obvious typos.
2957 2009-11-16 Eric Seidel <eric@webkit.org>
2959 Reviewed by Adam Barth.
2961 land-patches needs to be re-factored into smaller chunks
2962 https://bugs.webkit.org/show_bug.cgi?id=31532
2964 The next patch will move these methods into WebKitLandingScripts.
2966 * Scripts/bugzilla-tool:
2967 - Split out _land_patch and _close_bug_if_no_active_patches.
2969 2009-11-16 Adam Barth <abarth@webkit.org>
2971 Reviewed by Eric Seidel.
2973 Fix silly copy-and-paste code. I am a terrible coder.
2975 * Scripts/modules/bugzilla.py:
2977 2009-11-16 Adam Barth <abarth@webkit.org>
2979 Reviewed by Eric Seidel.
2981 Implement a StyleQueue
2982 https://bugs.webkit.org/show_bug.cgi?id=31537
2984 The first iteration of the style queue only produces output locally.
2985 There is also a limit of 10 patches because it's not that useful to
2986 iterate through the entire review queue at this point. We can remove
2989 * Scripts/bugzilla-tool:
2990 * Scripts/modules/bugzilla.py:
2992 2009-11-16 Adam Barth <abarth@webkit.org>
2994 Reviewed by Eric Seidel.
2997 https://bugs.webkit.org/show_bug.cgi?id=31531
2999 Adds basic unit testing for WorkQueue. Just runs through one cycle.
3001 * Scripts/bugzilla-tool:
3002 * Scripts/modules/statusbot.py:
3003 * Scripts/modules/workqueue.py:
3004 * Scripts/modules/workqueue_unittest.py: Added.
3005 * Scripts/run-webkit-unittests:
3007 2009-11-16 Eric Seidel <eric@webkit.org>
3009 Reviewed by Adam Barth.
3011 bugzilla-tool land-diff should know how to parse bug ids out of ChangeLogs
3012 https://bugs.webkit.org/show_bug.cgi?id=31530
3014 * Scripts/bugzilla-tool:
3016 2009-11-16 Eric Seidel <eric@webkit.org>
3018 Reviewed by Adam Barth.
3020 bugzilla-tool needs apply-attachment
3021 https://bugs.webkit.org/show_bug.cgi?id=31528
3023 * Scripts/bugzilla-tool:
3024 - Add ApplyAttachment command.
3025 - Abstract applying code into WebKitApplyingScripts.
3026 - Rename setup_for_landing to prepare_clean_working_directory and make local_commit checking optional.
3027 * Scripts/modules/bugzilla.py:
3028 - Add fetch_attachment and bug_id_for_attachment_id.
3029 * Scripts/modules/bugzilla_unittest.py:
3030 - Add test for new parsing.
3031 - Fix previous parsing test which broke with Adam's check-style patch (bug 31515).
3033 2009-11-16 Eric Seidel <eric@webkit.org>
3035 Reviewed by Adam Barth.
3037 Document check-style's use of force_clean.
3039 * Scripts/bugzilla-tool:
3040 * Scripts/modules/scm.py:
3042 2009-11-16 Adam Barth <abarth@webkit.org>
3044 Reviewed by Eric Seidel.
3046 Move WorkQueue to its own file
3047 https://bugs.webkit.org/show_bug.cgi?id=31529
3049 WorkQueue and WorkQueueDelegate are separate concerns from
3050 bugzilla-tool. Also added a missing include to logging.py.
3052 * Scripts/bugzilla-tool:
3053 * Scripts/modules/logging.py:
3054 * Scripts/modules/workqueue.py:
3056 2009-11-16 Adam Barth <abarth@webkit.org>
3058 Reviewed by Eric Seidel.
3060 Move OutputTee to logging.py.
3062 * Scripts/bugzilla-tool:
3063 * Scripts/modules/logging.py:
3065 2009-11-15 Adam Barth <abarth@webkit.org>
3067 Reviewed by Eric Seidel.
3069 Refactor bugzilla-tool to allow for multiple queues
3070 https://bugs.webkit.org/show_bug.cgi?id=31513
3072 Divide the commit queue class into three class to make creating
3073 additional queues easier.
3075 * Scripts/bugzilla-tool:
3077 2009-11-15 Shinichiro Hamaji <hamaji@chromium.org>
3079 Reviewed by Eric Seidel.
3081 svn-apply may not handle git patches created by bugzilla-tool
3082 https://bugs.webkit.org/show_bug.cgi?id=31457
3084 * Scripts/modules/scm.py:
3085 * Scripts/modules/scm_unittest.py:
3087 2009-11-15 Shinichiro Hamaji <hamaji@chromium.org>
3089 Reviewed by Eric Seidel.
3091 bugzilla-tool should post git binary diff
3092 https://bugs.webkit.org/show_bug.cgi?id=31458
3094 Add --binary option to Git.create_patch.
3096 * Scripts/modules/scm.py:
3097 * Scripts/modules/scm_unittest.py:
3099 2009-11-15 Adam Barth <abarth@webkit.org>
3101 Reviewed by Darin Adler.
3103 Add bugzilla-tool check-style
3104 https://bugs.webkit.org/show_bug.cgi?id=31515
3106 * Scripts/bugzilla-tool:
3107 * Scripts/modules/bugzilla.py:
3109 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
3111 Reviewed by Simon Hausmann.
3113 Make the Qt Linux only --valgrind feature, suppress errors
3114 defined in the SuppressedValgrindErrors file.
3116 * Scripts/run-webkit-tests:
3118 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
3120 Reviewed by Simon Hausmann.
3122 Set the locale to C and not to the current one in use on the system.
3124 * DumpRenderTree/qt/DumpRenderTree.cpp:
3125 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
3127 2009-11-13 Adam Roben <aroben@apple.com>
3130 http/tests/security/isolatedWorld/didClearWindowObject.html
3132 Fixes <http://webkit.org/b/31124> Tell the WebFrameLoadDelegate when
3133 window objects in isolated worlds are cleared
3135 Reviewed by Dave Hyatt.
3137 * DumpRenderTree/mac/DumpRenderTreeMac.h: Declared worldIDForWorld.
3139 * DumpRenderTree/mac/FrameLoadDelegate.mm:
3140 (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]):
3141 Added. Moved code here from -webView:didClearWindowObject:forFrame:.
3142 (-[FrameLoadDelegate didClearWindowObjectForFrame:inIsolatedWorld:]):
3143 Added. Sets a __worldID property on the global object whose value is
3144 the ID of this world.
3145 (-[FrameLoadDelegate webView:didClearWindowObjectForFrame:inScriptWorld:]):
3146 Respond to this new delegate callback by calling through to one of the
3148 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3149 (worldMap): Added. Returns a HashMap containing all the worlds we've
3151 (worldIDForWorld): Added. Returns the ID for this world, or 0 if we
3152 haven't kept track of this world.
3153 (LayoutTestController::evaluateScriptInIsolatedWorld): Use worldMap()
3154 instead of declaring our own.
3156 * DumpRenderTree/win/DumpRenderTreeWin.h: Declared worldIDForWorld.
3158 * DumpRenderTree/win/FrameLoadDelegate.cpp:
3159 (FrameLoadDelegate::didClearWindowObject): Moved code from hear to
3160 didClearWindowObjectForFrameInStandardWorld.
3161 (FrameLoadDelegate::didClearWindowObjectForFrameInScriptWorld):
3162 Respond to this new delegate callback by calling through to one of the
3164 (FrameLoadDelegate::didClearWindowObjectForFrameInIsolatedWorld):
3165 Added. Sets a __worldID property on the gobal object whose value is
3166 the ID of this world.
3167 (FrameLoadDelegate::didClearWindowObjectForFrameInStandardWorld):
3168 Added. Moved code here from didClearWindowObject.
3170 * DumpRenderTree/win/FrameLoadDelegate.h: Added the
3171 didClearWindowObjectForFrame* functions.
3173 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3174 (worldMap): Added. Returns a HashMap containing all the worlds we've
3176 (worldIDForWorld): Added. Returns the ID of this world, or 0 if we
3177 haven't kept track of this world.
3178 (LayoutTestController::evaluateScriptInIsolatedWorld): Use worldMap()
3179 instead of declaring our own.
3181 2009-11-13 Adam Roben <aroben@apple.com>
3183 Finish replacing worldIDs with world objects
3185 The only remaining use of worldIDs was in a method only used by DRT
3186 for the isolated worlds tests.
3188 Fixes <http://webkit.org/b/31414> Replace worldIDs with world objects
3190 Reviewed by Mark Rowe.
3192 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3193 (LayoutTestController::evaluateScriptInIsolatedWorld):
3194 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3195 (LayoutTestController::evaluateScriptInIsolatedWorld):
3196 Updated for changes to WebFrame. Now holds the map of worldID -> world
3197 at this level instead of making WebKit do it.
3199 2009-11-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
3201 Reviewed by Simon Hausmann.
3203 [Qt] Ensure the DRT does not output anything until first test is run
3205 * DumpRenderTree/qt/DumpRenderTree.cpp:
3206 * DumpRenderTree/qt/DumpRenderTree.h:
3208 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
3210 Reviewed by Tor Arne Vestbø.
3212 Clear the undo stack in before each new test run.
3214 Locally fixes 3 incorrect layouts, 9 timeouts and 7 crashes.
3216 * DumpRenderTree/qt/DumpRenderTree.cpp:
3217 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
3219 2009-11-13 Andras Becsi <becsi.andras@stud.u-szeged.hu>
3221 Reviewed by Kenneth Rohde Christiansen.
3223 [Qt] Add WebKitUsesPageCachePreferenceKey overriding support to DRT's LayoutTestController.
3225 * DumpRenderTree/qt/DumpRenderTree.cpp:
3226 (WebCore::WebPage::resetSettings):
3227 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3228 (LayoutTestController::overridePreference):
3230 2009-11-13 Eric Seidel <eric@webkit.org>
3232 Reviewed by Adam Barth.
3234 Update committers.py based on svn records
3235 https://bugs.webkit.org/show_bug.cgi?id=31366
3237 This list was generated using validate-committer-lists from
3238 https://bugs.webkit.org/show_bug.cgi?id=30970
3239 and makes committers.py current for committers who have
3240 committed in the last 3 years.
3242 * Scripts/modules/committers.py:
3244 2009-11-12 Anantanarayanan G Iyengar <ananta@chromium.org>
3246 Reviewed by Adam Barth.
3248 The document-open.html test was flaky at times. The test invokes the layout test plugin
3249 which in its destroy stream handler opens a new document. This basically tears down the
3250 stream and the associated plugin instance. The pluginLog function in the layout test
3251 plugin attempts to retrieve the window script object on a torn down plugin instance
3252 which crashed consistently on windows in the debugger. The functions which issue
3253 these logs already have a valid window script object. We now have variants of the pluginLog
3254 function which take in a window script object with and without variable arguments.
3256 https://bugs.webkit.org/show_bug.cgi?id=31067
3258 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3259 (pluginLogWithWindowObject):
3260 (pluginLogWithWindowObjectVariableArgs):
3262 (notifyTestCompletion):
3266 2009-11-12 Joanmarie Diggs <joanmarie.diggs@gmail.com>
3268 Reviewed by Gustavo Noronha Silva.
3270 https://bugs.webkit.org/show_bug.cgi?id=30997
3271 [Gtk] Implemment AtkDocument
3273 Added testing support.
3275 * DumpRenderTree/AccessibilityUIElement.cpp:
3276 * DumpRenderTree/AccessibilityUIElement.h:
3277 (getDocumentEncodingCallback):
3278 (getDocumentURICallback):
3279 (AccessibilityUIElement::getJSClass):
3280 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
3281 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3282 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3283 (AccessibilityUIElement::documentEncoding):
3284 (AccessibilityUIElement::documentURI):
3286 2009-11-12 Adam Roben <aroben@apple.com>
3288 Replace worldIDs with world objects
3290 Part of <http://webkit.org/b/31414> Implement new SPI for dealing with
3291 user scripts/stylesheets and isolated worlds
3293 Reviewed by Sam Weinig.
3295 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3296 (LayoutTestController::addUserScript):
3297 (LayoutTestController::addUserStyleSheet):
3298 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3299 (LayoutTestController::addUserScript):
3300 (LayoutTestController::addUserStyleSheet):
3301 Changed these functions to create a new WebJSWorld each time they're
3302 called and to pass that world to WebKit.
3304 2009-11-11 Chris Fleizach <cfleizach@apple.com>
3306 Reviewed by Oliver Hunt.
3308 need to implement aria tree roles
3309 https://bugs.webkit.org/show_bug.cgi?id=31284
3311 * DumpRenderTree/AccessibilityUIElement.cpp:
3312 (disclosedRowAtIndexCallback):
3313 (selectedRowAtIndexCallback):
3315 (isAttributeSettableCallback):
3316 (isActionSupportedCallback):
3317 (disclosedByRowCallback):
3318 (hierarchicalLevelCallback):
3319 (AccessibilityUIElement::getJSClass):
3320 * DumpRenderTree/AccessibilityUIElement.h:
3321 (AccessibilityUIElement::isEqual):
3322 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
3323 (AccessibilityUIElement::hierarchicalLevel):
3324 (AccessibilityUIElement::disclosedRowAtIndex):
3325 (AccessibilityUIElement::selectedRowAtIndex):
3326 (AccessibilityUIElement::disclosedByRow):
3327 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3328 (AccessibilityUIElement::getChildAtIndex):
3329 (AccessibilityUIElement::disclosedRowAtIndex):
3330 (AccessibilityUIElement::selectedRowAtIndex):
3331 (AccessibilityUIElement::titleUIElement):
3332 (AccessibilityUIElement::parentElement):
3333 (AccessibilityUIElement::disclosedByRow):
3334 (AccessibilityUIElement::hierarchicalLevel):
3335 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3336 (AccessibilityUIElement::hierarchicalLevel):
3337 (AccessibilityUIElement::disclosedRowAtIndex):
3338 (AccessibilityUIElement::selectedRowAtIndex):
3339 (AccessibilityUIElement::disclosedByRow):
3341 2009-11-11 Shinichiro Hamaji <hamaji@chromium.org>
3343 Reviewed by Darin Adler.
3345 svn-apply can not handle git binary diffs
3346 https://bugs.webkit.org/show_bug.cgi?id=26830
3348 Support "literal" type git binary diffs.
3350 * Scripts/VCSUtils.pm:
3351 * Scripts/modules/scm_unittest.py:
3352 * Scripts/svn-apply:
3354 2009-11-11 Dmitry Titov <dimich@chromium.org>
3356 Not reviewed, removing duplicate entry for myself in committers.py.
3358 * Scripts/modules/committers.py:
3360 2009-11-11 Alexey Proskuryakov <ap@apple.com>
3362 Reviewed by Darin Adler and Mark Rowe.
3364 https://bugs.webkit.org/show_bug.cgi?id=31200
3365 Tests in http/tests/security/mixedContent start to fail when new tests are added
3367 * DumpRenderTree/mac/DumpRenderTree.mm: (dumpRenderTree): Added a workaround for Tiger bug.
3369 2009-11-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3371 Reviewed by Jan Alonzo.
3373 Create, and display a window for the inspector, for inspector
3376 Need to also show/hide the inspector window to avoid having
3377 problems with code assuming it is realized
3378 https://bugs.webkit.org/show_bug.cgi?id=31347
3380 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3381 (webInspectorShowWindow):
3382 (webInspectorCloseWindow):
3383 (webInspectorInspectWebView):
3386 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
3388 Unreviewed Qt buildbot fix.
3390 My previous fix was wrong, so revert that change and fix it by
3391 returning when the document of the frame has no document element.
3392 Idea is borrowed from mac and win DRT.
3394 * DumpRenderTree/qt/DumpRenderTree.cpp:
3395 (WebCore::DumpRenderTree::dumpFramesAsText):
3397 2009-11-11 Eric Seidel <eric@webkit.org>
3399 Reviewed byg Kenneth Rohde Christiansen.
3401 Update Kenneth's committer record to include the email he
3402 uses on lists.webkit.org.
3404 * Scripts/modules/committers.py:
3406 2009-11-11 Eric Seidel <eric@webkit.org>
3408 Reviewed by Gustavo Noronha Silva.
3410 Several committers use separate email addresses for bugzilla and svn.webkit.org
3411 https://bugs.webkit.org/show_bug.cgi?id=31364
3413 Update records for existing committers to include email addresses
3414 used in svn.webkit.org and lists.webkit.org.
3415 Most committers use the same email address in all 3 places, but some use
3416 separate addresses. committers.py needs record of each of these addresses.
3418 * Scripts/modules/committers.py:
3420 2009-11-11 Eric Seidel <eric@webkit.org>
3422 No review, adding second email address for an existing committer.
3424 Add Yong Li's second bugzilla account to his committer record.
3425 See: https://bugs.webkit.org/show_bug.cgi?id=27371#c27
3427 * Scripts/modules/committers.py:
3429 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
3431 Reviewed by Simon Hausmann.
3433 If the frame has no innerText don't append it, and
3434 do not add a newline which breaks some cross platform
3437 * DumpRenderTree/qt/DumpRenderTree.cpp:
3438 (WebCore::DumpRenderTree::dumpFramesAsText):
3440 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
3442 Reviewed by Simon Hausmann.
3444 Implement missing functionality in the Gtk/Qt TestNetscapePlugin.
3446 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
3447 (webkit_test_plugin_new_instance):
3448 (webkit_test_plugin_destroy_instance):
3449 (webkit_test_plugin_destroy_stream):
3451 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
3453 Reviewed by Mark Rowe.
3455 Implement the functionality needed by plugins/window-open.html
3457 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
3458 (webkit_test_plugin_new_instance):
3459 (webkit_test_plugin_set_window):
3461 2009-11-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
3463 Reviewed by Simon Hausmann.
3465 [Qt] Force -graphicssystem raster and -style windows when running DRT
3467 * DumpRenderTree/qt/main.cpp:
3468 * Scripts/run-webkit-tests:
3470 2009-11-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
3472 Reviewed by Simon Hausmann.
3474 Compute correct library paths for Qt
3476 * Scripts/webkitdirs.pm:
3478 2009-11-10 Mark Rowe <mrowe@apple.com>
3480 Reviewed by Sam Weinig.
3482 <http://webkit.org/b/31200> Tests in http/tests/security/mixedContent start to fail when new tests are added
3484 The first request to an HTTPS URL results in didFailProvisionalLoadWithError being called with an error
3485 about the validity of the self-signed certificates used in the regression tests. We would then add the
3486 host to the ignore list for SSL certificate errors and retry the request. If this happened during a test
3487 that had enabled frame load delegate logging this would result in extra log messages being generated,
3488 causing the test to fail.
3490 We address this by explicitly ignoring SSL certificate errors for localhost and 127.0.0.1 before running any
3493 * DumpRenderTree/mac/DumpRenderTree.mm:
3495 * DumpRenderTree/mac/FrameLoadDelegate.mm:
3496 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3498 2009-11-10 Andras Becsi <becsi.andras@stud.u-szeged.hu>
3500 Reviewed by Kenneth Rohde Christiansen.
3502 [Qt] Remove obsolete scrollbar policy settings from DRT constructor.
3504 * DumpRenderTree/qt/DumpRenderTree.cpp:
3505 (WebCore::DumpRenderTree::DumpRenderTree):
3507 2009-11-10 Philippe Normand <pnormand@igalia.com>
3509 Reviewed by Jan Alonzo.
3511 [GTK] Remove WebSocket configuration from WebKitWebSettings
3512 https://bugs.webkit.org/show_bug.cgi?id=31244
3514 Follow-up of r50724. Don't set the enable-web-socket property
3517 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3518 (resetDefaultsToConsistentValues):
3520 2009-11-10 Oliver Hunt <oliver@apple.com>
3522 Reviewed by Maciej Stachowiak.
3524 Rename 3D Canvas related classes to use WebGL prefix
3525 https://bugs.webkit.org/show_bug.cgi?id=29095
3527 Checkin new version of do-webcore-rename used to do the WebGL type rename,
3528 and upate webkitdirs script to new method of testing for WebGL.
3530 * Scripts/do-webcore-rename:
3531 * Scripts/webkitdirs.pm:
3533 2009-11-09 Oliver Hunt <oliver@apple.com>
3535 Reviewed by Geoff Garen.
3537 Make do-webcore-rename work with git.
3539 * Scripts/do-webcore-rename:
3541 2009-11-09 Simon Hausmann <simon.hausmann@nokia.com>
3543 Adding Kenneth to the reviewers list.
3545 * Scripts/modules/committers.py:
3547 2009-11-09 Martin Robinson <martin.james.robinson@gmail.com>
3549 Reviewed by Jan Alonzo.
3551 [GTK] Expose Page::tabKeyCyclesThroughElements in the API
3552 https://bugs.webkit.org/show_bug.cgi?id=30482
3554 LayoutTestControllerGtk now uses the exposed
3555 Page::tabKeyCyclesThroughElements API
3557 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3558 (LayoutTestController::setTabKeyCyclesThroughElements):
3560 2009-11-08 Shu Chang <Chang.Shu@nokia.com>
3562 Reviewed by Holger Freyther.
3564 [Qt] Added support for key code 8 (backspace) in EventSenderQt.
3565 This helps to pass the test case below. Also replaced hardcoded
3566 code numbers with defined constants.
3567 https://bugs.webkit.org/show_bug.cgi?id=31185
3569 Test: editing/undo/undo-deleteWord.html
3571 * DumpRenderTree/qt/EventSenderQt.cpp:
3572 (EventSender::keyDown):
3574 2009-11-07 Antonio Gomes <tonikitoo@webkit.org>
3576 Reviewed by Holger Freyther.
3578 [Qt] [DRT] Fix wrong logic in LayoutTestController processWork
3579 https://bugs.webkit.org/show_bug.cgi?id=31164
3581 Fixed wrong logic to assume WorkQueue is done in QT's DRT.
3583 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3584 (LayoutTestController::processWork):
3586 2009-11-05 Antonio Gomes <tonikitoo@webkit.org>
3588 Reviewed by Holger Freyther.
3590 [Qt][DRT] Replace queueScript by queueNonLoadingScript and queueLoadingScript method
3591 https://bugs.webkit.org/show_bug.cgi?id=31158
3593 By invoking a script queue'd by queueScript(), 'true' was beeing returned
3594 always, which from WorkQueue prospective means that a load has been started
3595 and the queue processing should stop and wait for the load to finish.
3596 Spinning it off into a loading and a non-loading variants was the solution
3597 adopted by Mac's DRT to work around this problem. The former keeps returning
3598 'true' while the later executes the script synchronously and returns 'false'
3599 making it possible to the WorkQueue to proceed right away.
3601 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3602 (LayoutTestController::processWork):
3603 (LayoutTestController::queueLoadingScript):
3604 (LayoutTestController::queueNonLoadingScript):
3605 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3606 * DumpRenderTree/qt/WorkQueueItem.h:
3607 (LoadingScriptItem::LoadingScriptItem):
3608 (LoadingScriptItem::invoke):
3609 (NonLoadingScriptItem::NonLoadingScriptItem):
3610 (NonLoadingScriptItem::invoke):
3612 2009-11-07 Mark Rowe <mrowe@apple.com>
3614 Rubber-stamped by Cameron Zwarich.
3616 Invoke prepare-ChangeLog via an absolute path rather than assuming it can be found in PATH.
3618 * Scripts/commit-log-editor:
3620 2009-11-07 Mark Rowe <mrowe@apple.com>
3622 Reviewed by Darin Adler.
3624 Fix <https://bugs.webkit.org/show_bug.cgi?id=28168>.
3625 commit-log-editor does not support all the email address configurations that prepare-Changelog supports
3627 Move logic for determining the name and email address to use in a ChangeLog entry from
3628 prepare-ChangeLog to VCSUtils so that commit-log-editor can use it. It wants to check
3629 whether the author of the patch matches committer, and therefore needs access to the
3630 email address that would be used in a ChangeLog entry.
3632 Based on a patch by Pierre d'Herbemont.
3634 * Scripts/VCSUtils.pm:
3635 * Scripts/commit-log-editor:
3636 * Scripts/prepare-ChangeLog:
3637 * Scripts/webkitdirs.pm:
3639 2009-11-06 Anantanarayanan G Iyengar <ananta@chromium.org>
3641 Reviewed by Adam Barth.
3643 Added functionality to the layout test plugin to invoke document.open and
3644 window.open with default arguments. The associated webkit bug is
3645 https://bugs.webkit.org/show_bug.cgi?id=31067, which affects Chromium. Basically
3646 window.open and document.open calls issued by NPAPI plugins via NPN_Invoke don't
3647 work in Chromium (V8) if there is no calling javascript context. To achieve this
3648 effect we invoke these functions in the layout test plugin in the NPP_SetWindow
3649 for the window.open test case and in NPP_DestroyStream for the document.open test case.
3651 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3655 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3656 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3659 (NPP_DestroyStream):
3660 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
3664 (NPP_DestroyStream):
3666 2009-11-06 Eric Seidel <eric@webkit.org>
3668 Reviewed by Adam Barth.
3670 bugzilla-tool crashed with exception
3671 https://bugs.webkit.org/show_bug.cgi?id=31092
3673 * Scripts/modules/bugzilla.py: Change a ',' to a '%' to fix the error.
3675 2009-11-04 Eric Seidel <eric@webkit.org>
3677 No review, just add a line which got left out of the patch uploaded for commit.
3679 commit-queue is crashing when trying to reject patches after unknown failures
3680 https://bugs.webkit.org/show_bug.cgi?id=31091
3682 * Scripts/bugzilla-tool: Set bug_log = None after closing to we don't re-close and crash.
3684 2009-11-04 Adam Roben <aroben@apple.com>
3686 Remove bogus else clause in bugzilla-tool
3688 Fixes <http://webkit.org/b/31125> REGRESSION (r47121): bugzilla-tool
3689 create-bug raises exception after entering bug description
3691 Reviewed by David Kilzer.
3693 * Scripts/bugzilla-tool:
3694 (CreateBug): else clauses are only hit if no exception is raised, so
3695 it makes no sense to try to re-raise the exception in an else clause.
3696 The exception will automatically be re-raised if it doesn't match any
3697 of the except clauses, so we don't have to do anything special here at
3698 all to get the desired behavior.
3700 2009-11-04 Eric Seidel <eric@webkit.org>
3702 Reviewed by David Kilzer.
3704 svn-apply's fixChangeLogPatch function seems broken
3705 https://bugs.webkit.org/show_bug.cgi?id=30683
3707 Update fixChangeLogPatch to be able to handle patches which
3708 don't start at line 1.
3709 Add unit tests for svn-apply to scm_unittest.py.
3711 * Scripts/VCSUtils.pm:
3712 * Scripts/modules/scm_unittest.py:
3714 2009-11-04 Chris Fleizach <cfleizach@apple.com>
3716 Reviewed by Beth Dakin.
3718 Need to implement ARIA role="combobox"
3719 https://bugs.webkit.org/show_bug.cgi?id=31096
3721 * DumpRenderTree/AccessibilityUIElement.cpp:
3723 (getIsExpandedCallback):
3724 (AccessibilityUIElement::getJSClass):
3725 * DumpRenderTree/AccessibilityUIElement.h:
3726 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
3727 (AccessibilityUIElement::isExpanded):
3728 (AccessibilityUIElement::showMenu):
3729 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3730 (AccessibilityUIElement::isExpanded):
3731 (AccessibilityUIElement::showMenu):
3732 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3733 (AccessibilityUIElement::isSelected):
3734 (AccessibilityUIElement::isExpanded):
3735 (AccessibilityUIElement::showMenu):
3737 2009-11-04 Eric Seidel <eric@webkit.org>
3739 Reviewed by Adam Barth.
3741 commit-queue is crashing when trying to reject patches after unknown failures
3742 https://bugs.webkit.org/show_bug.cgi?id=31091
3744 * Scripts/bugzilla-tool:
3745 - patch['id'] was a copy/paste mistake. This code has no 'patch' variable
3746 so we have to find out what the current patch is by asking bugzilla again.
3747 - Discovered that this code was also leaking file descriptors, so fixed that.
3749 2009-11-04 Adam Roben <aroben@apple.com>
3751 Make run-webkit-tests work for the Debug_Internal Windows
3754 In Debug_Internal, DumpRenderTree.exe and ImageDiff.exe have no _debug
3757 Fixes <http://webkit.org/b/31123>.
3759 Reviewed by Sam Weinig.
3761 * Scripts/run-webkit-tests: Don't add the _debug suffix in
3762 Debug_Internal, either.
3764 2009-11-04 Eric Seidel <eric@webkit.org>
3766 Reviewed by Adam Barth.
3768 committers.py needs a way to store non-bugzilla email addresses
3769 https://bugs.webkit.org/show_bug.cgi?id=31037
3771 Make Committer and Reviewer constructors take a single email or a list of emails.
3772 Change committer_by_bugzilla_email functions to committer_by_email to support lookup by any email.
3773 Expose reviewers(), used by validate-committer-lists on bug 30970.
3775 * Scripts/modules/committers.py:
3776 * Scripts/modules/committers_unittest.py: Added tests for the new code.
3778 2009-11-03 Yuzo Fujishima <yuzo@google.com>
3780 Reviewed by David Levin.
3782 Start/Stop Web Socket and Web Socket Secure servers for layout tests.
3783 https://bugs.webkit.org/show_bug.cgi?id=27491
3785 The test path determination logic is changed to handle websocket and websocket/ssl cases.
3786 The logic for non-http (and now also non-websocket) tests is moved toward the end of the if-elsif statement.
3788 Functions to start or stop Web Socket servers are added.
3790 * Scripts/run-webkit-tests:
3792 2009-11-03 Eric Seidel <eric@webkit.org>
3794 No review, just changing wording of log message.
3796 Change log string to say "failed" instead of "rejected"
3797 when a commit fails due to an out of date checkout.
3798 This makes grepping the commit-queue log for rejected patches easier.
3800 * Scripts/bugzilla-tool:
3802 2009-11-03 Eric Seidel <eric@webkit.org>
3804 No review, adding commonly known committers missing from the file.
3806 * Scripts/modules/committers.py: Add committers found by looking at SVN records.
3808 2009-11-03 Eric Seidel <eric@webkit.org>
3810 No review, just sort-order cleanup.
3812 * Scripts/modules/committers.py: Sort committers/reviewers alphabetically.
3814 2009-11-03 Stephen White <senorblanco@chromium.org>
3818 Add myself to committers.py.
3820 * Scripts/modules/committers.py:
3822 2009-11-03 Robin Dunn <robin@alldunn.com>
3824 Reviewed by Kevin Ollviier.
3826 Add packaging scripts for Debian-based Linux distros.
3828 https://bugs.webkit.org/show_bug.cgi?id=31075
3830 * wx/packaging/build-debian-installer.py: Added.
3831 * wx/packaging/debian: Added.
3833 2009-11-03 Dan Bernstein <mitz@apple.com>
3835 Reviewed by Anders Carlsson and Beth Dakin.
3837 https://bugs.webkit.org/show_bug.cgi?id=31070
3839 Added an 'ondestroy' parameter to the test plug-in. When the plug-in is
3840 destroyed, it executes the value of the 'ondestroy' parameter as a
3843 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3844 (pluginAllocate): Initialize onDestroy.
3845 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Define
3847 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3848 (NPP_New): Set onDestroy to the value of the 'ondestroy' parameter, if
3850 (NPP_Destroy): Execute the value of 'ondestroy' as a script.
3852 2009-11-02 Joanmarie Diggs <joanmarie.diggs@gmail.com>
3854 Reviewed by Xan Lopez.
3856 https://bugs.webkit.org/show_bug.cgi?id=31035
3857 [GTK] some accessibility tests hitting assertion in debug builds
3859 Get the correct Gtk+ object before attempting to turn it into an AtkObject.
3861 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
3862 (AccessibilityController::rootElement):
3864 2009-11-02 Chris Fleizach <cfleizach@apple.com>
3866 Reviewed by Beth Dakin.
3868 Support ARIA "tab" roles
3869 https://bugs.webkit.org/show_bug.cgi?id=30842
3871 * DumpRenderTree/AccessibilityUIElement.cpp:
3872 * DumpRenderTree/AccessibilityUIElement.h:
3873 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
3874 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3875 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3877 2009-11-01 Eric Seidel <eric@webkit.org>
3879 Reviewed by David Levin.
3881 buildbots should use --exit-after-N-failures
3882 https://bugs.webkit.org/show_bug.cgi?id=30809
3884 Make the bots exit after 20 failures to prevent never-ending
3885 test runs where every test spends a minute crashing.
3887 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3889 2009-11-01 Laszlo Gombos <laszlo.1.gombos@nokia.com>
3891 Reviewed by Eric Seidel.
3893 Turn on warnings for QtWebKit for gcc
3894 https://bugs.webkit.org/show_bug.cgi?id=30958
3896 * DumpRenderTree/qt/main.cpp:
3897 (crashHandler): Mark function NO_RETURN
3899 2009-11-01 Jessie Berlin <jberlin@webkit.org>
3901 Adding myself to the committers list.
3903 * Scripts/modules/committers.py:
3905 2009-10-30 Jon Honeycutt <jhoneycutt@apple.com>
3907 Fix an issue that Adam noticed in DRT.
3909 Reviewed by Darin Adler.
3911 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3912 (AccessibilityUIElement::role):
3913 Get the length of the role text, and create a buffer dynamically.
3915 2009-10-30 Eric Seidel <eric@webkit.org>
3917 No review, rolling out r50105.
3918 http://trac.webkit.org/changeset/50105
3920 This commit was causing:
3921 https://bugs.webkit.org/show_bug.cgi?id=30869
3922 We'll re-implement the feature a different way.
3924 * Scripts/bugzilla-tool:
3926 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com>
3928 Test for MSAA: Accessibility of headings is not correct
3930 https://bugs.webkit.org/show_bug.cgi?id=30937
3932 Reviewed by Adam Roben.
3934 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3935 (AccessibilityUIElement::role):
3936 Allow the role returned to be a BSTR.
3937 (AccessibilityUIElement::description):
3938 Fix a copy/paste error.
3940 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com>
3942 Test for MSAA: Accessibility of links is wrong
3944 https://bugs.webkit.org/show_bug.cgi?id=30928
3946 Reviewed by Darin Adler.
3948 * DumpRenderTree/AccessibilityUIElement.cpp:
3949 (getAccessibilityValueCallback):
3950 Return the accessibility value.
3951 (AccessibilityUIElement::getJSClass):
3952 Added "accessibilityValue" value.
3954 * DumpRenderTree/AccessibilityUIElement.h:
3956 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
3957 (AccessibilityUIElement::accessibilityValue):
3960 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3961 (AccessibilityUIElement::accessibilityValue):
3964 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3965 (AccessibilityUIElement::accessibilityValue):
3966 Get the object's value, and return it as a JS string.
3968 2009-10-30 Kevin Ollivier <kevino@theolliviers.com>
3970 Fix typo in command name used by wx build system.
3972 * wx/build/build_utils.py:
3974 2009-10-30 Adam Barth <abarth@webkit.org>
3976 Reviewed by Darin Adler.
3978 Patch v1 is a dumb default name for patches
3979 https://bugs.webkit.org/show_bug.cgi?id=30952
3981 Let's use "Patch" instead.
3983 * Scripts/bugzilla-tool:
3985 2009-10-30 Andras Becsi <becsi.andras@stud.u-szeged.hu>
3987 Unreviewed trivial buildfix.
3989 [Qt] Buildfix for r50333.
3991 * DumpRenderTree/qt/DumpRenderTree.pro:
3993 2009-10-30 Antonio Gomes <tonikitoo@webkit.org>
3995 Reviewed by Holger Freyther.
3997 [Qt] Remove qt/WorkQueue.cpp|h in favor of platform independent WorkQueue
3998 https://bugs.webkit.org/show_bug.cgi?id=30953
4000 DumpRenderTree/WorkQueue and DumpRenderTree/qt/WorkQueue share mostly the
4001 same implementation. Some Q_ASSERTs differ from ASSERTs basically. Patch
4002 makes qt DRT to share this implementation (as gtk and mac ports do).
4004 * DumpRenderTree/qt/DumpRenderTree.pro:
4005 * DumpRenderTree/qt/WorkQueue.cpp: Removed.
4006 * DumpRenderTree/qt/WorkQueue.h: Removed.
4008 2009-10-30 Kenneth Rohde Christiansen <kenneth@webkit.org>
4010 Unreviewed potential buildbot fix.
4012 Second try: Reset page history before running each test.
4014 Apparently the QWebHistory::clear() keeps the current page
4015 in history which is not what we want, so we not additionally
4016 sets the history capacity to 0 (forces removing everything)
4017 and then sets it back to its original value.
4019 * DumpRenderTree/qt/DumpRenderTree.cpp:
4020 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
4022 2009-10-30 Kenneth Rohde Christiansen <kenneth@webkit.org>
4024 Unreviewed potential buildbot fix.
4026 Reset page history before running each test.
4028 * DumpRenderTree/qt/DumpRenderTree.cpp:
4029 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
4031 2009-10-30 Roland Steiner <rolandsteiner@chromium.org>
4033 Reviewed by Eric Seidel.
4035 Remove ENABLE_RUBY guards as discussed with Dave Hyatt and Maciej Stachowiak.
4037 Bug 28420 - Implement HTML5 <ruby> rendering
4038 (https://bugs.webkit.org/show_bug.cgi?id=28420)
4040 No new tests (no functional change).
4042 * Scripts/build-webkit:
4044 2009-10-29 Dan Bernstein <mitz@apple.com>
4046 Reviewed by Mark Rowe.
4048 Fix “Undefined subroutine” errors in svn-*apply by moving the removeEOL subroutine
4049 from the two scripts that define it but don’t use it to the script that uses it but doesn’t
4052 * Scripts/VCSUtils.pm:
4053 * Scripts/svn-apply:
4054 * Scripts/svn-unapply:
4056 2009-10-29 Xan Lopez <xlopez@igalia.com>
4058 Reviewed by Gustavo Noronha.
4060 Use the GTK+ main loop instead of rolling our own mini-version of
4063 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4066 (webViewLoadFinished):
4068 2009-10-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
4070 Reviewed by Oliver Hunt.
4072 Implement the Qt version of DRT dumpBackForwardList().
4074 * DumpRenderTree/qt/DumpRenderTree.cpp:
4075 (WebCore::dumpHistoryItem):
4076 (WebCore::DumpRenderTree::dumpBackForwardList):
4078 2009-10-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
4080 Reviewed by Adam Roben.
4082 Implement DRT functionality for Qt introduced in
4085 - Implemented pathToLocalResource which exposes the functionality of
4086 converting a given unix path to the correct location on Windows.
4087 - Implemented a way to remove machine-dependent information from paths
4088 in layout test results.
4090 * DumpRenderTree/qt/DumpRenderTree.cpp:
4091 (WebCore::urlSuitableForTestResult):
4092 (WebCore::WebPage::javaScriptConsoleMessage):
4093 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
4094 (LayoutTestController::pathToLocalResource):
4095 * DumpRenderTree/qt/LayoutTestControllerQt.h:
4097 2009-10-28 Roland Steiner <rolandsteiner@chromium.org>
4099 Adding myself to the committers list.
4101 * Scripts/modules/committers.py:
4103 2009-10-28 Chris Fleizach <cfleizach@apple.com>
4105 Adding myself to the committers list.
4107 * Scripts/modules/committers.py:
4109 2009-10-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
4111 Reviewed by Jan Alonzo.
4113 [GTK] API to start inspector for a WebView
4114 https://bugs.webkit.org/show_bug.cgi?id=22551
4116 Use the new inspector API to implement the LayoutTestController
4117 interfaces used to test the inspector.
4119 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4120 (webInspectorInspectWebView):
4122 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4123 (LayoutTestController::showWebInspector):
4124 (LayoutTestController::closeWebInspector):
4125 (LayoutTestController::evaluateInWebInspector):
4127 2009-10-28 Shinichiro Hamaji <hamaji@chromium.org>
4129 Reviewed by Eric Seidel.
4131 [Qt] WebFrame::counterValueForElementById must not be exposed
4132 https://bugs.webkit.org/show_bug.cgi?id=30882
4134 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
4135 (LayoutTestController::counterValueForElementById):
4137 2009-10-28 Kenneth Rohde Christiansen <kenneth@webkit.org>
4139 Rubberstamped by Oliver Hunt.
4143 "warning: ignoring return value of 'char* getcwd(char*, size_t)',
4144 declared with attribute warn_unused_result".
4146 by actually checking the result. In the case it is null, an
4147 error has occoured, so treat it as the other fatal errors.
4149 * DumpRenderTree/qt/DumpRenderTree.cpp:
4150 (WebCore::DumpRenderTree::initializeFonts):
4152 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org>
4154 Reviewed by Darin Adler.
4156 Provide a way to get counter values with layoutTestContoller
4157 https://bugs.webkit.org/show_bug.cgi?id=30555
4159 Define layoutTestContoller.counterValueForElementById.
4161 * DumpRenderTree/LayoutTestController.cpp:
4162 (counterValueForElementByIdCallback):
4163 (LayoutTestController::staticFunctions):
4164 * DumpRenderTree/LayoutTestController.h:
4165 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4166 (LayoutTestController::counterValueForElementById):
4168 2009-10-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
4170 Rubberstamped by Oliver Hunt.
4172 Change two methods to be internal for DRT use only.
4174 Part of [Qt] Review all new API in Qt 4.6
4175 https://bugs.webkit.org/show_bug.cgi?id=29843#c11
4177 * DumpRenderTree/qt/DumpRenderTree.cpp:
4178 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
4179 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
4180 (LayoutTestController::whiteListAccessFromOrigin):
4182 2009-10-27 Eric Seidel <eric@webkit.org>
4184 Reviewed by Adam Barth.
4186 REGRESSION: svn-apply exits(1) when applying a patch with a file add
4187 https://bugs.webkit.org/show_bug.cgi?id=30826
4189 * Scripts/svn-apply:
4190 - Add () around all system() calls.
4191 - Use the correct system() == 0 or die instead of system() or die
4192 - Add descriptive messages to all die statements.
4194 2009-10-27 Steve Block <steveblock@google.com>
4198 Adds steveblock@google.com to list of committers.
4200 * Scripts/modules/committers.py: Adds steveblock@google.com to list of committers.
4202 2009-10-27 Eric Seidel <eric@webkit.org>
4204 Reviewed by Adam Barth.
4206 svn-apply can exit(0) even on patch failure
4207 https://bugs.webkit.org/show_bug.cgi?id=29622
4209 * Scripts/svn-apply:
4210 - Add a bunch of "or die" statements, hopefully catching all
4211 possible cases where failure could still exit(0).
4213 2009-10-27 Eric Seidel <eric@webkit.org>
4215 Reviewed by Adam Barth.
4217 svn-* scripts should share code through VCSUtils.pm
4218 https://bugs.webkit.org/show_bug.cgi?id=30791
4220 Just moving code into a shared location.
4222 * Scripts/VCSUtils.pm:
4223 * Scripts/prepare-ChangeLog:
4224 * Scripts/resolve-ChangeLogs:
4225 * Scripts/svn-apply:
4226 * Scripts/svn-create-patch:
4227 * Scripts/svn-unapply:
4228 * Scripts/update-webkit:
4230 2009-10-27 Vadim Zeitlin <vadim@wxwidgets.org>
4232 Suppress a huge number of MSVC warnings when building wxWebKit.
4234 * wx/build/settings.py:
4236 2009-10-26 Eric Seidel <eric@webkit.org>
4238 No review, just adding Mike Belshe to the committers list.
4240 * Scripts/modules/committers.py:
4242 2009-10-26 Laszlo Gombos <laszlo.1.gombos@nokia.com>
4244 Reviewed by Darin Adler.
4246 Make .rc files compile on Windows without depending on MFC headers
4247 https://bugs.webkit.org/show_bug.cgi?id=30750
4249 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc: Use
4250 windows.h instead of afxres.h because it exists even when MFC is not
4251 installed, and is all that's needed here.
4253 * FindSafari/FindSafari.rc: Ditto
4255 2009-10-24 Eric Seidel <eric@webkit.org>
4257 Reviewed by Adam Barth.
4259 bugzilla-tool post-diff should know how to mark commit-queue=?
4260 https://bugs.webkit.org/show_bug.cgi?id=29202
4262 * Scripts/bugzilla-tool:
4263 - Add --commit-queue option to post-diff, post-commits and create-bug.
4264 * Scripts/modules/bugzilla.py:
4265 - Added support for --commit-queue to add_patch_to_bug and create_bug_with_patch.
4266 - Added _fill_attachment_form to share code between add_patch_to_bug and create_bug_with_patch.
4268 2009-10-23 Eric Seidel <eric@webkit.org>
4270 Reviewed by Adam Barth.
4272 bugzilla-tool commit-queue does not notice modifications to committers.py
4273 https://bugs.webkit.org/show_bug.cgi?id=30084
4275 * Scripts/bugzilla-tool:
4276 - Make commit-queue re-exec itself instead of using while(1).
4277 - Add a --is-relaunch parameter to commit-queue to bypass initialization on re-launch.
4278 - Add a _next_patch() method which calls exec() (and could eventually call update-webkit too).
4280 2009-10-22 Eric Seidel <eric@webkit.org>
4282 Reviewed by Adam Barth.
4284 commit-queue will get stuck on patches if land-patches terminates unexpectedly
4285 https://bugs.webkit.org/show_bug.cgi?id=30634
4287 * Scripts/bugzilla-tool:
4288 - Add a way for land-patches to exit(2) to indicate an error, but one it has handled.
4289 - Make commit-queue auto cq- any patch where land-patches exited anything other than '0' or '2'.
4291 2009-10-26 Yuzo Fujishima <yuzo@google.com>
4293 Reviewed by Eric Seidel.
4295 Upgrade pywebsocket to 0.4.1. This will make reusing LayoutTests/fast/js/resources easier, for example.
4297 https://bugs.webkit.org/show_bug.cgi?id=30763
4299 * pywebsocket/mod_pywebsocket/__init__.py:
4300 * pywebsocket/mod_pywebsocket/dispatch.py:
4301 * pywebsocket/mod_pywebsocket/headerparserhandler.py:
4302 * pywebsocket/mod_pywebsocket/standalone.py:
4303 * pywebsocket/setup.py:
4304 * pywebsocket/test/test_dispatch.py:
4306 2009-10-26 Carol Szabo <carol.szabo@nokia.com>
4308 Reviewed by David Levin.
4310 REGRESSION: 2 failures in run-webkit-unittests
4311 https://bugs.webkit.org/show_bug.cgi?id=30645
4313 * Scripts/modules/cpp_style_unittest.py:
4314 Fixed a few test scenarios which apparently lost some spaces from
4317 2009-10-26 Kevin Ollivier <kevino@theolliviers.com>
4319 wx build fix. Make sure isQt() doesn't return true if --wx was passed to build-webkit.
4321 * Scripts/webkitdirs.pm:
4323 2009-10-26 Csaba Osztrogonác <ossy@webkit.org>
4325 Reviewed by Darin Adler.
4327 Unification of using null device in perl scripts.
4328 https://bugs.webkit.org/show_bug.cgi?id=30572
4330 * Scripts/VCSUtils.pm:
4331 * Scripts/bisect-builds:
4332 * Scripts/resolve-ChangeLogs:
4333 * Scripts/run-iexploder-tests:
4335 * Scripts/run-mangleme-tests:
4336 * Scripts/run-webkit-tests:
4337 * Scripts/webkitdirs.pm:
4338 Using File::Spec->devnull() instead of hard coded /dev/null.
4340 2009-10-26 Eric Seidel <eric@webkit.org>
4342 Reviewed by Holger Freyther.
4344 Reviewers are missing from committers.py
4345 https://bugs.webkit.org/show_bug.cgi?id=30733
4347 * Scripts/modules/committers.py:
4349 2009-10-23 Eric Seidel <eric@webkit.org>
4351 No review, only adding Alice to the list of reviewers.
4353 * Scripts/modules/committers.py:
4355 2009-10-23 Eric Seidel <eric@webkit.org>
4357 Reviewed by Eric Carlson.
4359 fast/media/mq-transform-02.html failed on Leopard Commit Bot
4360 https://bugs.webkit.org/show_bug.cgi?id=30700
4362 * DumpRenderTree/mac/DumpRenderTree.mm:
4363 (resetDefaultsToConsistentValues): Update QuickTime version check.
4365 2009-10-23 Kevin Ollivier <kevino@theolliviers.com>
4367 wxMac 10.4 build fix, needs to link against WebKitSystemInterfaceTiger to get
4368 character measurement APIs that are private on Tiger.
4370 * wx/build/settings.py:
4372 2009-10-22 Gavin Barraclough <barraclough@apple.com>
4374 Reviewed by NOBODY (build fix).
4375 Build fix following bug #30696.
4377 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4378 (LayoutTestController::evaluateScriptInIsolatedWorld):
4380 2009-10-22 Gavin Barraclough <barraclough@apple.com>
4382 Reviewed by Sam Weinig & Geoff Garen.
4384 https://bugs.webkit.org/show_bug.cgi?id=30696
4385 Enable isolated-worlds tests on mac.
4387 Add private interface for DRT to invoke execution in a given world.
4389 * DumpRenderTree/LayoutTestController.cpp:
4390 (evaluateScriptInIsolatedWorldCallback):
4391 (LayoutTestController::staticFunctions):
4392 * DumpRenderTree/LayoutTestController.h:
4393 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4394 (LayoutTestController::evaluateScriptInIsolatedWorld):
4395 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4396 (LayoutTestController::evaluateScriptInIsolatedWorld):
4398 2009-10-21 Eric Seidel <eric@webkit.org>
4400 Reviewed by Adam Barth.
4402 bugzilla-tool's "patch failed to download an apply" error should give more information
4403 https://bugs.webkit.org/show_bug.cgi?id=30632
4405 * Scripts/modules/scm.py:
4406 - Use the common run_command method instead of custom POpen code.
4407 - Make run_command know how to take pipes as input.
4408 * Scripts/modules/scm_unittest.py:
4409 - Add new tests to cover change.
4410 - Also move test_error_handlers into new SCMClassTests so we don't run it 3 times.
4412 2009-10-21 Kent Tamura <tkent@chromium.org>
4414 Unreviewed. Adding myself to the committers list.
4416 * Scripts/modules/committers.py:
4418 2009-10-21 Robin Dunn <robin@alldunn.com>
4420 Reviewed by Kevin Ollivier.
4422 Update the Windows installer builder to work with Vista / Win 7 and with git.
4424 https://bugs.webkit.org/show_bug.cgi?id=30649
4426 * wx/build/build_utils.py:
4427 * wx/packaging/build-mac-installer.py:
4428 * wx/packaging/build-win-installer.py:
4429 * wx/packaging/wxWebKitInstaller.iss.in:
4431 2009-10-21 Alejandro G. Castro <alex@igalia.com>
4433 Reviewed by Gustavo Noronha.
4435 [GTK] Added conditional code to avoid using
4436 gdk_window_get_root_coords if we do not have a gtk+ release newer
4438 https://bugs.webkit.org/show_bug.cgi?id=30636
4440 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
4442 2009-10-21 Shu Chang <Chang.Shu@nokia.com>
4444 Reviewed by Eric Seidel.
4446 [Qt] Added dummy implementation for keepWebHistory()
4447 https://bugs.webkit.org/show_bug.cgi?id=30592
4449 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
4450 (LayoutTestController::keepWebHistory):
4451 * DumpRenderTree/qt/LayoutTestControllerQt.h:
4453 2009-10-21 Alejandro G. Castro <alex@igalia.com>
4455 Reviewed by Xan Lopez.
4457 [GTK] Fixed the double click condition, it is not double click if
4458 we move in just in one direction.
4459 https://bugs.webkit.org/show_bug.cgi?id=30636
4461 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
4463 2009-10-21 Alejandro G. Castro <alex@igalia.com>
4465 Reviewed by Xan Lopez.
4467 [GTK] Initialize the events completly before emitting them.
4468 https://bugs.webkit.org/show_bug.cgi?id=30633
4470 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
4472 2009-10-21 Kevin Ollivier <kevino@theolliviers.com>
4474 wx build fix. Fix for when linking using --as-needed with gcc.
4476 * wx/browser/wscript:
4478 2009-10-21 Kevin Ollivier <kevino@theolliviers.com>
4480 wxMac 10.4 build fix. Build and link against a version of libcurl new enough
4481 to support all the features used by CURL backend.
4483 * wx/build/settings.py:
4484 * wx/install-unix-extras:
4486 2009-10-20 Anton Muhin <antonm@chromium.org>
4488 Reviewed by Adam Barth.
4490 Add {ager,antonm,yurys}@chromium.org into committers.py
4491 https://bugs.webkit.org/show_bug.cgi?id=30560
4493 * Scripts/modules/committers.py:
4495 2009-10-20 Kenneth Rohde Christiansen <kenneth@webkit.org>
4497 Reviewed by Tor Arne Vestbø.
4499 Make the Netscape Test plugin available to the Qt launcher.
4501 * Scripts/run-launcher:
4503 2009-10-20 Fumitoshi Ukai <ukai@chromium.org>
4505 Reviewed by David Levin.
4507 Removed WebSocket runtime settings.
4508 https://bugs.webkit.org/show_bug.cgi?id=29896
4510 WebSocket runtime configuration is supported by chromium/v8 only.
4512 * DumpRenderTree/mac/DumpRenderTree.mm:
4513 (resetDefaultsToConsistentValues):
4514 * DumpRenderTree/win/DumpRenderTree.cpp:
4515 (resetDefaultsToConsistentValues):
4517 2009-10-19 Nate Chapin <japhet@chromium.org>
4519 Reviewed by Adam Barth.
4521 Add testFail() to test plugin so we can test our handling of a
4522 plugin invoke call returning false.
4524 https://bugs.webkit.org/show_bug.cgi?id=30239
4526 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add testFail().
4528 (testIdentifierToString): Always return true, since returning false will now cause an exception to be thrown.
4530 2009-10-19 Zan Dobersek <zandobersek@gmail.com>
4532 Reviewed by Gustavo Noronha.
4534 Enable DOM pasting when running layout tests.
4536 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4537 (resetDefaultsToConsistentValues):
4539 2009-10-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
4541 Reviewed by Simon Hausmann.
4543 Use the setPreferredContentsSize method instead
4544 of setFixedContentsSize, as the method has been renamed.
4546 * DumpRenderTree/qt/DumpRenderTree.cpp:
4547 (WebCore::DumpRenderTree::open):
4548 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
4549 (LayoutTestController::setFixedContentsSize):
4551 2009-10-16 Steve Falkenburg <sfalken@apple.com>
4553 Reviewed by Dan Bernstein.
4555 https://bugs.webkit.org/show_bug.cgi?id=30456
4556 Fixes for new Debug_All Windows build configuration.
4558 * DumpRenderTree/win/DumpRenderTree.cpp:
4559 (sharedCFURLCache): Use new DEBUG_ALL preprocessor define for library naming.
4560 * DumpRenderTree/win/DumpRenderTree.vcproj: Remove unused DEBUG_WEBKIT_HAS_SUFFIX.
4562 2009-10-16 Eric Seidel <eric@webkit.org>
4564 Reviewed by Adam Barth.
4566 commit-queue status bot should list which buildbot is blocking the queue
4567 https://bugs.webkit.org/show_bug.cgi?id=30452
4569 Add new methods and testing.
4571 * Scripts/bugzilla-tool:
4572 * Scripts/modules/buildbot.py:
4573 * Scripts/modules/buildbot_unittest.py:
4575 2009-10-16 Eric Seidel <eric@webkit.org>
4577 Reviewed by Adam Barth.
4579 run-webkit-tests fails when CWD is not inside a WebKit checkout
4580 https://bugs.webkit.org/show_bug.cgi?id=30451
4582 * Scripts/modules/scm.py: in_working_directory shouldn't throw exceptions on failure.
4583 * Scripts/modules/scm_unittest.py:
4584 - Remove use of original_path (we don't need to restore the CWD).
4585 - Don't use '.' to find the webkit checkout, use __file__ instead.
4587 2009-10-16 Steve Falkenburg <sfalken@apple.com>
4589 Reviewed by Adam Roben.
4591 Add a Debug_All configuration to build entire stack as debug.
4592 Change Debug_Internal to:
4593 - stop using _debug suffix for all WebKit/Safari binaries
4594 - not use _debug as a DLL naming suffix
4595 - use non-debug C runtime lib.
4597 * DumpRenderTree/DumpRenderTree.sln: Add Debug_All configuration.
4598 * DumpRenderTree/win/DumpRenderTree.vcproj: Add Debug_All configuration.
4599 * DumpRenderTree/win/ImageDiff.vcproj: Add Debug_All configuration.
4600 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4601 Add missing debug.vsprops inherited property sheet.
4602 Add Debug_All configuration.
4603 * FindSafari/FindSafari.vcproj: Renamed single configuration from "Release" to "all".
4604 * WinLauncher/WinLauncher.vcproj:
4605 Removed extraneous definitions inherited from vsprops.
4606 Add Debug_All configuration.
4608 2009-10-16 Carol Szabo <carol.szabo@nokia.com>
4610 Reviewed by David Levin.
4612 check-webkit-style is wrong about indent checking in namespaces
4613 in header files and a few other things
4614 https://bugs.webkit.org/show_bug.cgi?id=30362
4616 The few other things include:
4617 + check-webkit-style does not require spaces around the equal sign
4618 inside 'if' statements and around binary operators that take
4620 + check-webkit-style reports false errors for the / operator
4621 when part of a filename in the #include directive.
4623 * Scripts/modules/cpp_style.py:
4624 Improved indentation checking and space checking around
4625 binary operators. While the checks are still not perfect,
4626 they are clearly better than before.
4627 * Scripts/modules/cpp_style_unittest.py:
4628 Added test cases for the newly supported checks and modified old
4629 test cases to match the new guidelines
4631 2009-10-16 Kevin Ollivier <kevino@theolliviers.com>
4633 wxMSW build fix. Link to MSW library needed by PluginPackageWin.cpp.
4635 * wx/build/settings.py:
4637 2009-10-15 Yuzo Fujishima <yuzo@google.com>
4639 Reviewed by David Levin.
4641 Add mod_pywebsocket to test Web Sockets.
4642 http://code.google.com/p/pywebsocket/
4643 https://bugs.webkit.org/show_bug.cgi?id=27490
4645 * pywebsocket/COPYING: Added.
4646 * pywebsocket/MANIFEST.in: Added.
4647 * pywebsocket/README: Added.
4648 * pywebsocket/example/echo_client.py: Added.
4649 * pywebsocket/example/echo_wsh.py: Added.
4650 * pywebsocket/mod_pywebsocket/__init__.py: Added.
4651 * pywebsocket/mod_pywebsocket/dispatch.py: Added.
4652 * pywebsocket/mod_pywebsocket/handshake.py: Added.
4653 * pywebsocket/mod_pywebsocket/headerparserhandler.py: Added.
4654 * pywebsocket/mod_pywebsocket/msgutil.py: Added.
4655 * pywebsocket/mod_pywebsocket/standalone.py: Added.
4656 * pywebsocket/mod_pywebsocket/util.py: Added.
4657 * pywebsocket/setup.py: Added.
4658 * pywebsocket/test/config.py: Added.
4659 * pywebsocket/test/mock.py: Added.
4660 * pywebsocket/test/run_all.py: Added.
4661 * pywebsocket/test/test_dispatch.py: Added.
4662 * pywebsocket/test/test_handshake.py: Added.
4663 * pywebsocket/test/test_mock.py: Added.
4664 * pywebsocket/test/test_msgutil.py: Added.
4665 * pywebsocket/test/test_util.py: Added.
4666 * pywebsocket/test/testdata/handlers/blank_wsh.py: Added.
4667 * pywebsocket/test/testdata/handlers/origin_check_wsh.py: Added.
4668 * pywebsocket/test/testdata/handlers/sub/exception_in_transfer_wsh.py: Added.
4669 * pywebsocket/test/testdata/handlers/sub/no_wsh_at_the_end.py: Added.
4670 * pywebsocket/test/testdata/handlers/sub/non_callable_wsh.py: Added.
4671 * pywebsocket/test/testdata/handlers/sub/plain_wsh.py: Added.
4672 * pywebsocket/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py: Added.
4673 * pywebsocket/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py: Added.
4675 2009-10-15 James Robinson <jamesr@google.com>
4677 Reviewed by David Levin.
4679 Updates check-webkit-style to reflect that code inside a namespace should not be indented, even in a header file.
4681 https://bugs.webkit.org/show_bug.cgi?id=30426
4683 * Scripts/modules/cpp_style.py:
4684 * Scripts/modules/cpp_style_unittest.py:
4686 2009-10-15 Brian Weinstein <bweinstein@apple.com>
4688 Reviewed by Adam Roben.
4690 Fixes <http://webkit.org/b/30411>.
4691 REGRESSION(49485): pdevenv doesn't compile in parallel for non-chromium builds on Windows.
4693 Added a check for isChromium() in pdevenv, and pass /useenv if we are not
4698 2009-10-15 Robin Dunn <robin@alldunn.com>
4700 Reviewed by Kevin Ollivier.
4702 Add Mac package building scripts for wx.
4704 https://bugs.webkit.org/show_bug.cgi?id=30405
4706 * wx/build/build_utils.py:
4707 * wx/build/settings.py:
4708 * wx/packaging/build-mac-installer.py: Added.
4710 2009-10-15 Zan Dobersek <zandobersek@gmail.com>
4712 Reviewed by Gustavo Noronha.
4714 Enable Web Sockets support when running layout tests.
4716 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4717 (resetDefaultsToConsistentValues):
4719 2009-10-15 Xan Lopez <xlopez@igalia.com>
4721 Reviewed by Gustavo Noronha.
4723 Need to initialize event.button.button, since in most cases a
4724 button number is not passed as an argument.
4726 * DumpRenderTree/gtk/EventSender.cpp:
4727 (mouseDownCallback):
4730 2009-10-15 Kevin Ollivier <kevino@theolliviers.com>
4732 wx build fix. More SDK fixes for Mac, make sure we use the SDK corresponding to
4733 the OS if none was explicitly set.
4735 * wx/build/settings.py:
4737 2009-10-14 Pavel Feldman <pfeldman@chromium.org>
4739 Reviewed by Timothy Hatcher.
4741 Web Inspector: enable developers extras within inspector layout tests.
4743 https://bugs.webkit.org/show_bug.cgi?id=30014
4745 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4746 (LayoutTestController::showWebInspector):
4747 (LayoutTestController::closeWebInspector):
4748 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4749 (LayoutTestController::showWebInspector):
4750 (LayoutTestController::closeWebInspector):
4752 2009-10-14 José Millán Soto <jmillan@igalia.com>
4754 Reviewed by Jan Alonzo.
4756 GtkLauncher is using a deprecated signal
4757 https://bugs.webkit.org/show_bug.cgi?id=30364
4759 Modified GtkLauncher to use notify::title signal instead of
4760 deprecated title-changed signal
4762 * GtkLauncher/main.c:
4766 2009-10-14 Brady Eidson <beidson@apple.com>
4768 Reviewed by Sam Weinig.
4770 Don't set the history delegate on new windows that are opened during a test, as the history delegate:
4771 1 - Disables WebHistory
4772 2 - Doesn't make sense in that context anyway.
4774 * DumpRenderTree/win/DumpRenderTree.cpp:
4775 (createWebViewAndOffscreenWindow):
4777 2009-10-14 Kevin Ollivier <kevino@theolliviers.com>
4779 wxMac build fix. Ensure 10.4 compatibility for deps, and allow the user to specify
4780 the SDK to use since Python overrides any user-set value of MACOSX_DEPLOYMENT_TARGET.
4782 * wx/build/settings.py:
4783 * wx/install-unix-extras:
4785 2009-10-14 Brady Eidson <beidson@apple.com>
4787 Reviewed by Sam Weinig.
4789 WebKit Win API should provide a delegate interface for global history.
4790 https://bugs.webkit.org/show_bug.cgi?id=29905
4792 * DumpRenderTree/LayoutTestController.cpp:
4793 (LayoutTestController::LayoutTestController):
4794 * DumpRenderTree/LayoutTestController.h:
4795 (LayoutTestController::dumpHistoryDelegateCallbacks):
4796 (LayoutTestController::setDumpHistoryDelegateCallbacks):
4798 * DumpRenderTree/win/DumpRenderTree.cpp:
4799 (shouldLogHistoryDelegates):
4801 (createWebViewAndOffscreenWindow):
4803 * DumpRenderTree/win/DumpRenderTree.vcproj:
4805 Add the IWebHistoryDelegate to DRT Windows:
4806 * DumpRenderTree/win/HistoryDelegate.cpp: Added.
4808 (HistoryDelegate::HistoryDelegate):
4809 (HistoryDelegate::~HistoryDelegate):
4810 (HistoryDelegate::QueryInterface):
4811 (HistoryDelegate::AddRef):
4812 (HistoryDelegate::Release):
4813 (HistoryDelegate::didNavigateWithNavigationData):
4814 (HistoryDelegate::didPerformClientRedirectFromURL):
4815 (HistoryDelegate::didPerformServerRedirectFromURL):
4816 (HistoryDelegate::updateHistoryTitle):
4817 (HistoryDelegate::populateVisitedLinksForWebView):
4818 * DumpRenderTree/win/HistoryDelegate.h: Added.
4820 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4821 (LayoutTestController::removeAllVisitedLinks):
4823 2009-10-14 Shu Chang <Chang.Shu@nokia.com>
4825 Reviewed by Simon Hausmann.
4827 [Qt] Implement support for setPOSIXLocale on Qt.
4828 https://bugs.webkit.org/show_bug.cgi?id=30268
4830 * DumpRenderTree/qt/DumpRenderTree.cpp:
4831 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
4832 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
4833 (LayoutTestController::setPOSIXLocale):
4834 * DumpRenderTree/qt/LayoutTestControllerQt.h:
4836 2009-10-13 Stephanie Lewis <slewis@apple.com>
4838 Unreviewed, adding myself to reviewers list.
4840 * Scripts/modules/committers.py:
4842 2009-10-13 Stephanie Lewis <slewis@apple.com>
4844 Reviewed by Mark Rowe.
4846 Fix null assignment so root tests work again.
4848 * Scripts/webkitdirs.pm:
4850 2009-10-13 Andras Becsi <becsi.andras@stud.u-szeged.hu>
4852 Reviewed by Simon Hausmann.
4854 [Qt] Refactor LayoutTestController, EventSender, TextInputController and WorkQueueItem classes
4855 out of jsobjects into separate files to get a more structured DumpRenderTree implementation.
4856 This is done in preparation of implementing missing features in DRT.
4857 No functionality changes made yet.
4859 * DumpRenderTree/qt/DumpRenderTree.cpp:
4860 * DumpRenderTree/qt/DumpRenderTree.pro:
4861 * DumpRenderTree/qt/EventSenderQt.cpp: Added.
4862 (EventSender::EventSender):
4863 (EventSender::mouseDown):
4864 (EventSender::mouseUp):
4865 (EventSender::mouseMoveTo):
4866 (EventSender::leapForward):
4867 (EventSender::keyDown):
4868 (EventSender::contextClick):
4869 (EventSender::scheduleAsynchronousClick):
4870 (EventSender::frameUnderMouse):
4871 * DumpRenderTree/qt/EventSenderQt.h: Added.
4872 (EventSender::clearKillRing):
4873 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Added.
4874 (LayoutTestController::LayoutTestController):
4875 (LayoutTestController::reset):
4876 (LayoutTestController::processWork):
4877 (LayoutTestController::maybeDump):
4878 (LayoutTestController::waitUntilDone):
4879 (LayoutTestController::notifyDone):
4880 (LayoutTestController::windowCount):
4881 (LayoutTestController::clearBackForwardList):
4882 (LayoutTestController::dumpEditingCallbacks):
4883 (LayoutTestController::dumpResourceLoadCallbacks):
4884 (LayoutTestController::queueBackNavigation):
4885 (LayoutTestController::queueForwardNavigation):
4886 (LayoutTestController::queueLoad):
4887 (LayoutTestController::queueReload):
4888 (LayoutTestController::queueScript):
4889 (LayoutTestController::provisionalLoad):
4890 (LayoutTestController::timerEvent):
4891 (LayoutTestController::encodeHostName):
4892 (LayoutTestController::decodeHostName):
4893 (LayoutTestController::setJavaScriptProfilingEnabled):
4894 (LayoutTestController::setFixedContentsSize):
4895 (LayoutTestController::setPrivateBrowsingEnabled):
4896 (LayoutTestController::setPopupBlockingEnabled):
4897 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
4898 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
4899 (LayoutTestController::numberOfActiveAnimations):
4900 (LayoutTestController::disableImageLoading):
4901 (LayoutTestController::dispatchPendingLoadRequests):
4902 (LayoutTestController::setDatabaseQuota):
4903 (LayoutTestController::clearAllDatabases):
4904 (LayoutTestController::whiteListAccessFromOrigin):
4905 (LayoutTestController::waitForPolicyDelegate):
4906 (LayoutTestController::overridePreference):
4907 * DumpRenderTree/qt/LayoutTestControllerQt.h: Added.
4908 (LayoutTestController::isLoading):
4909 (LayoutTestController::setLoading):
4910 (LayoutTestController::shouldDumpAsText):
4911 (LayoutTestController::shouldDumpBackForwardList):
4912 (LayoutTestController::shouldDumpChildrenAsText):
4913 (LayoutTestController::shouldDumpDatabaseCallbacks):
4914 (LayoutTestController::shouldDumpStatusCallbacks):
4915 (LayoutTestController::shouldWaitUntilDone):
4916 (LayoutTestController::canOpenWindows):
4917 (LayoutTestController::shouldDumpTitleChanges):
4918 (LayoutTestController::waitForPolicy):
4919 (LayoutTestController::dumpAsText):
4920 (LayoutTestController::dumpChildFramesAsText):
4921 (LayoutTestController::dumpDatabaseCallbacks):
4922 (LayoutTestController::dumpStatusCallbacks):
4923 (LayoutTestController::setCanOpenWindows):
4924 (LayoutTestController::dumpBackForwardList):
4925 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
4926 (LayoutTestController::display):
4927 (LayoutTestController::dumpTitleChanges):
4928 (LayoutTestController::dumpSelectionRect):
4929 * DumpRenderTree/qt/TextInputControllerQt.cpp: Added.
4930 (TextInputController::TextInputController):
4931 (TextInputController::doCommand):
4932 * DumpRenderTree/qt/TextInputControllerQt.h: Added.
4933 * DumpRenderTree/qt/WorkQueue.cpp:
4934 * DumpRenderTree/qt/WorkQueue.h:
4935 * DumpRenderTree/qt/WorkQueueItem.h:
4936 * DumpRenderTree/qt/WorkQueueItemQt.cpp: Added.
4939 (ReloadItem::invoke):
4940 (ScriptItem::invoke):
4941 (BackForwardItem::invoke):
4942 * DumpRenderTree/qt/jsobjects.cpp: Move all the above classes into separate files
4943 * DumpRenderTree/qt/jsobjects.h:
4945 2009-10-13 Dmitry Titov <dimich@chromium.org>
4947 Not reviewed, adding myself to the list of reviewers.
4949 * Scripts/modules/committers.py:
4951 2009-10-13 Anders Carlsson <andersca@apple.com>
4953 Reviewed by Sam Weinig.
4955 <rdar://problem/6660507> Add "privacy mode" to Netscape Plug-in API
4957 Make the private browsing mode testable by the test plug-in.
4959 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4960 (pluginGetProperty):
4961 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
4962 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
4966 2009-10-13 Pavel Feldman <pfeldman@chromium.org>
4968 No review, just adding self to the list of reviewers.
4970 * Scripts/modules/committers.py:
4972 2009-10-12 Pavel Feldman <pfeldman@chromium.org>
4974 Reviewed by Adam Roben.
4976 Web Inspector: Use proper web view in inspector layout
4979 https://bugs.webkit.org/show_bug.cgi?id=30298
4981 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4982 (LayoutTestController::showWebInspector):
4983 (LayoutTestController::closeWebInspector):
4984 (LayoutTestController::evaluateInWebInspector):
4986 2009-10-12 Fumitoshi Ukai <ukai@chromium.org>
4988 Reviewed by Sam Weinig.
4990 Enable experimentalWebSocket in DumpRenderTree for LayoutTest.
4991 https://bugs.webkit.org/show_bug.cgi?id=29841
4993 * DumpRenderTree/mac/DumpRenderTree.mm:
4994 (resetDefaultsToConsistentValues):
4995 * DumpRenderTree/win/DumpRenderTree.cpp:
4996 (resetDefaultsToConsistentValues):
4998 2009-10-12 Yaar Schnitman <yaar@chromium.org>
5000 Reviewed by Dimitri Glazkov.
5002 Chromium Port - Windows
5003 https://bugs.webkit.org/show_bug.cgi?id=29969
5005 * Scripts/pdevenv: removed msvc's /useenv for chromium builds
5006 * Scripts/webkitdirs.pm:
5008 2009-10-12 Csaba Osztrogonac <ossy@webkit.org>
5010 Reviewed by Darin Adler.
5012 jsc scripts cleanup and Qt/GTK fix
5013 https://bugs.webkit.org/show_bug.cgi?id=30288
5015 Duplicated jscPath() moved to webkitdirs.pm.
5016 New jscProductDir() added to webkitdirs.pm instead of duplicated codes.
5017 Configuration added (release/debug) to path for Qt-port on Windows.
5019 * Scripts/run-javascriptcore-tests:
5021 * Scripts/run-sunspider:
5022 * Scripts/sunspider-compare-results:
5023 * Scripts/webkitdirs.pm:
5025 2009-10-11 Adam Barth <abarth@webkit.org>
5027 Unreviewed. Add Collin to committers.py.
5029 * Scripts/modules/committers.py:
5031 2009-10-11 Kevin Ollivier <kevino@theolliviers.com>
5033 wx build fix, add bindings to source/include dirs now that there are sources there.
5035 * wx/build/settings.py:
5037 2009-10-09 Mark Rowe <mrowe@apple.com>
5039 Reviewed by Brady Eidson.
5041 Enable plug-in halting in DumpRenderTree.
5043 We drop the plug-in halting delay to 1 second and opt in the delegate method to never halt plug-ins.
5044 This is sufficient to ensure that the crash covered by <rdar://problem/7290671> no longer occurs.
5046 * DumpRenderTree/mac/DumpRenderTree.mm:
5047 (resetDefaultsToConsistentValues):
5048 * DumpRenderTree/mac/UIDelegate.mm:
5049 (-[UIDelegate webView:shouldHaltPlugin:]):
5051 2009-10-08 Brady Eidson <beidson@apple.com>
5053 Reviewed by Dan Bernstein.
5055 Ask the History Delegate to populate the visited links hash.
5056 <rdar://problem/7285293> and https://webkit.org/b/29904
5058 Add the ability for LayoutTestController to clear all visited links.
5059 Also lets the History Delegate dump visited links, but only if this test specifically cleared them.
5061 * DumpRenderTree/LayoutTestController.cpp:
5062 (LayoutTestController::LayoutTestController):
5063 (removeAllVisitedLinksCallback):
5064 (LayoutTestController::staticFunctions):
5065 * DumpRenderTree/LayoutTestController.h:
5066 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5067 (LayoutTestController::removeAllVisitedLinks):
5069 * DumpRenderTree/mac/HistoryDelegate.mm:
5070 (-[HistoryDelegate populateVisitedLinksForWebView:]):
5072 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5073 (LayoutTestController::removeAllVisitedLinks):
5074 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5075 (LayoutTestController::removeAllVisitedLinks):
5076 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
5077 (LayoutTestController::removeAllVisitedLinks):
5080 2009-10-08 Daniel Bates <dbates@webkit.org>
5082 Reviewed by Adam Roben.
5084 https://bugs.webkit.org/show_bug.cgi?id=30175
5086 The Windows DRT equivalent of DoDragDrop (i.e. UIDelegate::doDragDrop) does not return
5087 the OLE drag-and-drop return value like the function it emulates. Currently,
5088 UIDelegate::doDragDrop returns a hard-coded S_OK. Hence, the caller cannot determine
5089 whether the drag-and-drop operation was successful or was cancelled.
5091 This patch fixes this issue by having UIDelegate::doDragDrop return the OLE drag-and-drop
5092 return value according to whether the drop operation was successful or not.
5094 * DumpRenderTree/win/EventSender.cpp:
5095 (doMouseUp): Added parameter oleDragAndDropReturnValue.
5096 (replaySavedEvents): Ditto.
5097 * DumpRenderTree/win/EventSender.h:
5098 * DumpRenderTree/win/UIDelegate.cpp:
5099 (UIDelegate::doDragDrop): Modified to return OLE drag-and-drop return value.
5101 2009-10-08 Alejandro G. Castro <alex@igalia.com>
5103 Reviewed by Xan Lopez.
5105 [GTK] Added support for a parameter setting the button that was
5106 pressed in the mouseDown function.
5107 https://bugs.webkit.org/show_bug.cgi?id=30220
5109 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
5111 2009-10-08 Alejandro G. Castro <alex@igalia.com>
5113 Reviewed by Xan Lopez.
5115 [GTK] Added a line to the bottom of the expected result to match
5116 the output of the test.
5117 https://bugs.webkit.org/show_bug.cgi?id=30220
5119 * LayoutTests/platform/gtk/editing/pasteboard/middle-click-onpaste-
5122 2009-10-08 Adam Roben <aroben@apple.com>
5124 Use QueryInterface to get IWebInspectorPrivate
5126 Fixes <http://webkit.org/b/30215> Make IWebInspectorPrivate be
5127 accessed in a more standard way
5129 Reviewed by John Sullivan and Tim Hatcher.
5131 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5132 (LayoutTestController::evaluateInWebInspector): Get the IWebInspector
5133 by calling IWebViewPrivate::inspector, then use QueryInterface to get
5134 to the IWebInspectorPrivate interface.
5136 2009-10-07 Adam Roben <aroben@apple.com>
5138 Implement DRT support for origin whitelisting
5140 Fixes <http://webkit.org/b/30185>.
5142 Reviewed by Eric Seidel.
5144 * DumpRenderTree/win/DumpRenderTree.cpp:
5145 (resetWebViewToConsistentStateBeforeTesting): Reset any origin
5146 whitelist, to match Mac DRT.
5147 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5148 (LayoutTestController::whiteListAccessFromOrigin): Call through to
5149 IWebViewPrivate::whiteListAccessFromOrigin.
5151 2009-10-07 Brady Eidson <beidson@apple.com>
5153 Reviewed by Darin Adler.
5155 Send title changes to the global history delegate.
5156 <rdar://problem/7285293> and https://webkit.org/b/29904
5158 * DumpRenderTree/mac/HistoryDelegate.mm:
5159 (-[HistoryDelegate webView:updateHistoryTitle:forURL:]):
5161 2009-10-07 Adam Barth <abarth@webkit.org>
5163 Unreviewed. Remove some folks from committers.py who were listed on
5164 the WebKit Team wiki page but who weren't actually listed as commit+.
5165 At some point, we should coorelate this list with the committers
5168 * Scripts/modules/committers.py:
5170 2009-10-07 Adam Barth <abarth@webkit.org>
5172 Unreviewed. Import a bunch of committers from the WebKit Team page on
5173 the wiki into committers.py.
5175 * Scripts/modules/committers.py:
5177 2009-10-07 Adam Barth <abarth@webkit.org>
5179 Unreviewed. Added Aaron Boodman to committers.py.
5181 * Scripts/modules/committers.py:
5183 2009-10-07 Evan Martin <evan@chromium.org>
5185 Reviewed by Darin Adler.
5187 Add API to LayoutTestController for re/setting the system locale.
5188 https://bugs.webkit.org/show_bug.cgi?id=18994
5190 * DumpRenderTree/LayoutTestController.cpp:
5191 (setLocaleCallback):
5192 (LayoutTestController::staticFunctions):
5193 (LayoutTestController::setLocale):
5194 * DumpRenderTree/LayoutTestController.h:
5196 2009-10-06 Shinichiro Hamaji <hamaji@chromium.org>
5198 Reviewed by Jan Alonzo.
5200 [Layout tests] [Gtk] Gtk DumpRenderTree should use WebKit test fonts
5201 https://bugs.webkit.org/show_bug.cgi?id=29689
5203 Build fix by adding -lfontconfig for DumpRenderTree.
5207 2009-10-07 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
5209 Reviewed by Simon Hausmann.
5211 Re-enable use-remote-links-to-tests for Qt. Disabled in r46416.
5213 * Scripts/run-webkit-tests:
5215 2009-10-07 Xan Lopez <xlopez@igalia.com>
5217 Reviewed by Gustavo Noronha.
5219 "delete" in EventSender is the backspace key, not the delete one.
5221 * DumpRenderTree/gtk/EventSender.cpp:
5224 2009-10-07 Xan Lopez <xlopez@igalia.com>
5226 Reviewed by Gustavo Noronha.
5228 getChildrenWithRange expects as last parameter the end index, not
5229 the length of the range. Correct this and clarify the variable
5230 names to reflect how the code works.
5232 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
5233 (AccessibilityUIElement::getChildrenWithRange):
5234 (AccessibilityUIElement::getChildAtIndex):
5236 2009-10-06 Mark Rowe <mrowe@apple.com>
5238 Reviewed by Simon Fraser.
5240 <http://webkit.org/b/30138> update-webkit-localizable-strings assumes that WebKitTools/Scripts is in the PATH
5242 * Scripts/update-webkit-localizable-strings: Use an explicit path to extract-localizable-strings based on the
5243 the fact we have already changed the working directory to the top of the open source tree.
5245 2009-10-06 Julie Parent <jparent@chromium.org>
5247 Unreviewed. Fixing the entry for myself in committers.py to use my bugzilla email,
5248 rather than my committer email.
5250 * Scripts/modules/committers.py:
5252 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
5254 Reviewed by Eric Seidel.
5256 [Qt] LayoutTestController: Reset m_dumpStatusCallbacks to false in reset().
5258 r49189 added support for the 'dumpStatusCallbacks' setting but didn't reset
5259 it after each layout test as it should do, making the DRT dump additional output
5260 for all of the subsequent layout tests.
5262 * DumpRenderTree/qt/jsobjects.cpp:
5263 (LayoutTestController::reset):
5265 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
5267 Reviewed by Simon Hausmann.
5269 [Qt] Implement layoutTestController.dumpStatusCallbacks() and unskip the
5270 fast/dom/assign-to-window-status.html test, which is passing as a result.
5272 https://bugs.webkit.org/show_bug.cgi?id=30127
5274 * DumpRenderTree/qt/DumpRenderTree.cpp:
5275 (WebCore::DumpRenderTree::DumpRenderTree):
5276 (WebCore::DumpRenderTree::statusBarMessage):
5277 * DumpRenderTree/qt/DumpRenderTree.h:
5278 * DumpRenderTree/qt/jsobjects.h:
5279 (LayoutTestController::shouldDumpStatusCallbacks):
5280 (LayoutTestController::dumpStatusCallbacks):
5282 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
5284 Reviewed by Simon Hausmann.
5286 [Qt] The implementation of EventSender::mouseUp() and EventSender::mouseDown()
5287 ignores the argument indicating which mouse button to trigger.
5288 https://bugs.webkit.org/show_bug.cgi?id=30048
5290 This affects the fast/events/mouse-click-events.html layout test.
5292 * DumpRenderTree/qt/jsobjects.cpp:
5293 (EventSender::mouseDown):
5294 (EventSender::mouseUp):
5295 * DumpRenderTree/qt/jsobjects.h:
5297 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
5299 Reviewed by Simon Hausmann.
5301 [Qt] Fix the EventSender::keyDown() implementation
5302 https://bugs.webkit.org/show_bug.cgi?id=30043
5304 It should post both a key press event and a key release event,
5305 just like other ports do.
5307 * DumpRenderTree/qt/jsobjects.cpp:
5308 (EventSender::keyDown):
5310 2009-10-05 Kevin Ollivier <kevino@theolliviers.com>
5312 wx build fix. Add jpeg to the list of libs to link against.
5314 * wx/build/settings.py:
5316 2009-10-05 Jakub Wieczorek <faw217@gmail.com>
5318 Reviewed by Simon Hausmann.
5320 [Qt] EventSender::keyDown() cannot send function-key events.
5321 https://bugs.webkit.org/show_bug.cgi?id=30044
5323 This affects the fast/events/keydown-function-keys.html layout test.
5325 * DumpRenderTree/qt/jsobjects.cpp:
5326 (EventSender::keyDown):
5328 2009-10-05 Vadim Zeitlin <vadim@wxwidgets.org>
5330 Added --wx-compiler-prefix waf option to allow building wxWebKit with
5331 wxWidgets built using "nmake COMPILER_PREFIX=something-non-default".
5333 * wx/build/settings.py:
5334 * wx/build/wxpresets.py:
5336 2009-10-05 Pavel Feldman <pfeldman@chromium.org>
5338 Reviewed by Timothy Hatcher.
5340 Web Inspector: add testing harness for Web Inspector.
5342 https://bugs.webkit.org/show_bug.cgi?id=30010
5344 * DumpRenderTree/LayoutTestController.cpp:
5345 (showWebInspectorCallback):
5346 (closeWebInspectorCallback):
5347 (evaluateInWebInspectorCallback):
5348 (LayoutTestController::staticFunctions):
5349 * DumpRenderTree/LayoutTestController.h:
5350 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5351 (LayoutTestController::showWebInspector):
5352 (LayoutTestController::closeWebInspector):
5353 (LayoutTestController::evaluateInWebInspector):
5354 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5355 (LayoutTestController::showWebInspector):
5356 (LayoutTestController::closeWebInspector):
5357 (LayoutTestController::evaluateInWebInspector):
5358 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5359 (LayoutTestController::showWebInspector):
5360 (LayoutTestController::closeWebInspector):
5361 (LayoutTestController::evaluateInWebInspector):
5362 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
5363 (LayoutTestController::showWebInspector):
5364 (LayoutTestController::closeWebInspector):
5365 (LayoutTestController::evaluateInWebInspector):
5367 2009-10-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
5369 Reviewed by Ariyha Hidayat.
5371 Pass arguments to system() as a string instead of array
5373 When passed as an array entries with a space fail to translate
5374 to two arguments to the child process, so instead of manually
5375 splitting all the entries in @buildArgs we pass the whole thing
5376 as a string instead.
5378 * Scripts/webkitdirs.pm:
5380 2009-10-04 Carol Szabo <carol.szabo@nokia.com>
5382 Reviewed by David Levin.
5384 check-webkit-style misses whitespace errors for operators:
5385 <<, >>, <<=, >>=, &=, |=, +=, -=, *=, /=, /, |, &&, ||.
5386 https://bugs.webkit.org/show_bug.cgi?id=30021
5388 * Scripts/modules/cpp_style.py:
5389 Added the operators mentioned above to the same list as == and !=.
5391 2009-10-02 Julie Parent <jparent@chromium.org>
5395 Adding myself and Ojan Vafai as committers, because we are committers.
5397 * Scripts/modules/committers.py:
5399 2009-10-02 Brian Weinstein <bweinstein@apple.com>
5401 Reviewed by Adam Roben.
5403 svn-create-patch should have an --ignore-changelogs to not add ChangeLogs to the diff,
5404 this will help the patch merging process when TryBots are used.
5406 * Scripts/svn-create-patch:
5408 2009-10-02 Jakub Wieczorek <faw217@gmail.com>
5410 Reviewed by Simon Hausmann.
5412 [Qt] Implement layoutTestController.overridePreference().
5413 https://bugs.webkit.org/show_bug.cgi?id=29970
5415 * DumpRenderTree/qt/DumpRenderTree.cpp:
5416 (WebCore::WebPage::WebPage):
5417 (WebCore::WebPage::resetSettings):
5418 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
5419 * DumpRenderTree/qt/jsobjects.cpp:
5420 (LayoutTestController::reset):
5421 (LayoutTestController::setPrivateBrowsingEnabled):
5422 (LayoutTestController::setPopupBlockingEnabled):
5423 (LayoutTestController::overridePreference):
5424 * DumpRenderTree/qt/jsobjects.h:
5426 2009-10-01 Chris Marrin <cmarrin@apple.com>
5428 Reviewed by Oliver Hunt.
5430 Turn on ENABLE_3D_CANVAS in TOT
5431 https://bugs.webkit.org/show_bug.cgi?id=29906
5433 * Scripts/build-webkit:
5435 2009-10-01 Kenneth Rohde Christiansen <kenneth@webkit.org>
5437 Rubberstamped by Simon Hausmann.
5439 Enable HTTP tests for Qt
5441 * Scripts/run-webkit-tests:
5443 2009-10-01 Yaar Schnitman <yaar@chromium.org>
5445 Reviewed by Dimitri Glazkov.
5447 build-webkit --chromium now also works on cygwin.
5449 https://bugs.webkit.org/show_bug.cgi?id=29973
5451 * Scripts/webkitdirs.pm:
5453 2009-10-01 Zoltan Horvath <zoltan@webkit.org>
5455 Reviewed by Simon Hausmann.
5457 [Qt] Don't use TCmalloc in DumpRenderTree
5458 https://bugs.webkit.org/show_bug.cgi?id=27029
5460 Add USE_SYSTEM_MALLOC macro to the DRT's profile to avoid using TCmalloc in Qt's DRT.
5462 * DumpRenderTree/qt/DumpRenderTree.pro:
5464 2009-10-01 Jakub Wieczorek <faw217@gmail.com>
5466 Reviewed by Simon Hausmann.
5468 [Qt] Implement eventSender.scheduleAsynchronousClick().
5470 https://bugs.webkit.org/show_bug.cgi?id=29931
5472 * DumpRenderTree/qt/jsobjects.cpp:
5473 (EventSender::scheduleAsynchronousClick):
5474 * DumpRenderTree/qt/jsobjects.h:
5476 2009-10-01 Jakub Wieczorek <faw217@gmail.com>
5478 Reviewed by Simon Hausmann.
5480 [Qt] Implement setPopupBlockingEnabled() in the LayoutTestController and remove
5481 fast/events/open-window-from-another-frame.html from the Skipped list.
5483 https://bugs.webkit.org/show_bug.cgi?id=29930
5485 * DumpRenderTree/qt/jsobjects.cpp:
5486 (LayoutTestController::setPopupBlockingEnabled):
5487 * DumpRenderTree/qt/jsobjects.h:
5489 2009-09-30 Cameron McCormack <cam@mcc.id.au>
5493 Added myself to the list of committers.
5495 * Scripts/modules/committers.py:
5497 2009-09-30 Eric Seidel <eric@webkit.org>
5499 No review, just adding Geoff to the list of reviewers.
5501 * Scripts/modules/committers.py:
5503 2009-09-30 Dan Bernstein <mitz@apple.com>
5505 Reviewed by Sam Weinig.
5507 Added the WebKit Layout Tests fonts that are referenced in
5508 LayoutTests/platform/win/css2.1/resources/Mac-compatible-font-fallback.css
5510 * DumpRenderTree/fonts/WebKit Layout Tests 2.ttf: Added.
5511 * DumpRenderTree/fonts/WebKit Layout Tests.ttf: Added.
5513 2009-09-30 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
5515 Reviewed by David Kilzer.
5517 Make sunspider scripts work on Windows platform.
5518 https://bugs.webkit.org/show_bug.cgi?id=29656
5520 * Scripts/run-sunspider: Perl scripts invoked with same Perl interpreter.
5521 * Scripts/sunspider-compare-results: Perl scripts invoked with same Perl interpreter.
5522 * Scripts/webkitdirs.pm: currentPerlPath() added.
5524 2009-09-29 Brady Eidson <beidson@apple.com>
5526 Rubberstamped by Dan Bernstein.
5528 Fix license and some sorting in new files.
5530 * DumpRenderTree/mac/HistoryDelegate.h:
5531 * DumpRenderTree/mac/HistoryDelegate.mm:
5533 2009-09-29 Yaar Schnitman <yaar@chromium.org>
5535 Reviewed by David Kilzer.
5537 Fixed how error codes are handled.
5538 https://bugs.webkit.org/show_bug.cgi?id=29898
5540 * Scripts/update-webkit:
5541 * Scripts/update-webkit-chromium:
5543 2009-09-29 Brady Eidson <beidson@apple.com>
5545 Reviewed by John Sullivan.
5547 Updated way-out-of-date sorting throughout the dump methods/flags.
5549 * DumpRenderTree/LayoutTestController.cpp:
5550 (LayoutTestController::LayoutTestController):
5551 (dumpAsPDFCallback):
5552 (dumpAsTextCallback):
5553 (dumpFrameLoadCallbacksCallback):
5554 (dumpResourceLoadCallbacksCallback):
5555 (LayoutTestController::staticFunctions):
5557 * DumpRenderTree/LayoutTestController.h:
5558 (LayoutTestController::dumpAsText):
5559 (LayoutTestController::setDumpAsText):
5560 (LayoutTestController::dumpFrameLoadCallbacks):
5561 (LayoutTestController::setDumpFrameLoadCallbacks):
5562 (LayoutTestController::dumpSelectionRect):
5563 (LayoutTestController::setDumpSelectionRect):
5564 (LayoutTestController::dumpSourceAsWebArchive):
5565 (LayoutTestController::setDumpSourceAsWebArchive):
5566 (LayoutTestController::dumpStatusCallbacks):
5567 (LayoutTestController::setDumpStatusCallbacks):
5568 (LayoutTestController::dumpTitleChanges):
5569 (LayoutTestController::setDumpTitleChanges):
5570 (LayoutTestController::dumpWillCacheResponse):
5571 (LayoutTestController::setDumpWillCacheResponse):
5573 2009-09-29 Brady Eidson <beidson@apple.com>
5575 Reviewed by John Sullivan.
5577 WebKit Mac API should provide a delegate interface for global history.
5578 <rdar://problem/7042773> and https://webkit.org/b/29904
5580 Adding the dumping of global history delegate callbacks.
5582 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5584 Automatically dump history delegate callbacks for tests with "globalhistory/" in their URL:
5585 * DumpRenderTree/mac/DumpRenderTree.mm:
5586 (createWebViewAndOffscreenWindow):
5587 (allocateGlobalControllers):
5588 (shouldLogFrameLoadDelegates):
5589 (shouldLogHistoryDelegates):
5592 Dump history delegate callbacks:
5593 * DumpRenderTree/mac/HistoryDelegate.h: Added.
5594 * DumpRenderTree/mac/HistoryDelegate.mm: Added.
5595 (-[HistoryDelegate webView:didNavigateWithNavigationData:inFrame:]):
5596 (-[HistoryDelegate webView:didPerformClientRedirectFromURL:toURL:inFrame:]):
5597 (-[HistoryDelegate webView:didPerformServerRedirectFromURL:toURL:inFrame:]):
5599 2009-09-29 Daniel Bates <dbates@webkit.org>
5601 Reviewed by Adam Roben.
5603 https://bugs.webkit.org/show_bug.cgi?id=28902
5605 Fixes an issue where the drop effect returned by Window Dump Render Tree
5606 was always DROPEFFECT_NONE (since it was hard coded to do so).
5608 This patch corrects this issue by determining the actual drop effect
5609 performed by the corresponding drag-and-drop operation so that we can
5612 * DumpRenderTree/win/DraggingInfo.h: Added field m_dropEffect to store performed drop effect.
5613 (DraggingInfo::DraggingInfo):
5614 (DraggingInfo::performedDropEffect): Added method.
5615 (DraggingInfo::setPerformedDropEffect): Added method.
5616 * DumpRenderTree/win/EventSender.cpp:
5617 (doMouseUp): Calls method DraggingInfo::setPerformedDropEffect with performed drop effect.
5618 Moved delete draggingInfo to UIDelegate::doDragDrop.
5619 * DumpRenderTree/win/UIDelegate.cpp:
5620 (UIDelegate::doDragDrop): Sets performedDropEffect to DraggingInfo::performedDropEffect().
5622 2009-09-29 Dan Bernstein <mitz@apple.com>
5624 Reviewed by Adam Roben.
5626 Remove copying of unnecessary or nonexistent files from the ImageDiff
5629 * DumpRenderTree/win/ImageDiff.vcproj:
5631 2009-09-29 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
5633 Reviewed by David Kilzer.
5635 [Qt] Make build-webkit script work on Windows
5636 https://bugs.webkit.org/show_bug.cgi?id=29802
5638 * Scripts/run-webkit-tests:
5639 * Scripts/webkitdirs.pm:
5640 - Removed unnecessary -p switch for mkdir on Windows.
5641 - Use canonical path, which uses slashes or backslashes depends on platform.
5642 - isWindows() only test for Windows and not for Cyqwin.
5644 2009-09-29 Andras Becsi <becsi.andras@stud.u-szeged.hu>
5646 Reviewed by Simon Hausmann.
5648 Fix time measurement in build-webkit after refactoring done in r48853.
5650 * Scripts/build-webkit:
5652 2009-09-29 Andras Becsi <becsi.andras@stud.u-szeged.hu>
5654 Reviewed by Tor Arne Vestbø.
5656 [Qt] Default font size reconciliation to 16px/13px to match other platform's de-facto standard.
5657 This fixes https://bugs.webkit.org/show_bug.cgi?id=19674.
5659 * DumpRenderTree/qt/DumpRenderTree.cpp:
5660 (WebCore::WebPage::WebPage):
5662 2009-09-29 Jakub Wieczorek <faw217@gmail.com>
5664 Reviewed by Simon Hausmann.
5666 [Qt] Implement eventSender.contextClick().
5667 https://bugs.webkit.org/show_bug.cgi?id=29821
5669 * DumpRenderTree/qt/jsobjects.cpp:
5670 (EventSender::contextClick):
5671 * DumpRenderTree/qt/jsobjects.h:
5673 2009-09-28 Fumitoshi Ukai <ukai@chromium.org>
5675 Reviewed by Eric Seidel.
5677 Add experimentalWebSocketsEnabled in WebPreferences.
5678 https://bugs.webkit.org/show_bug.cgi?id=28941
5680 * DumpRenderTree/mac/DumpRenderTree.mm:
5681 (resetDefaultsToConsistentValues):
5682 * DumpRenderTree/win/DumpRenderTree.cpp:
5683 (resetDefaultsToConsistentValues):
5685 2009-09-28 Yaar Schnitman <yaar@chromium.org>
5687 Reviewed by David Kilzer.
5689 Integrated chromium port building into webkit tools update-webkit and
5692 https://bugs.webkit.org/show_bug.cgi?id=29749
5694 * Scripts/build-webkit: When --chromium is specified, will build
5695 the chromium port (currently only Mac is supported).
5696 * Scripts/update-webkit: When --chromium is specified, delegates to
5697 update-webkit-chromium.
5698 * Scripts/webkitdirs.pm: Added chromium specific defs.
5699 * Scripts/update-webkit-chromium: Uses gclient and gyp to fetch
5700 chromium port's dependencies and update its project files.
5702 2009-09-28 Fumitoshi Ukai <ukai@chromium.org>
5706 Add myself to list of committers.
5708 * Scripts/modules/committers.py:
5710 2009-09-27 Jakub Wieczorek <faw217@gmail.com>
5712 Reviewed by Darin Adler.
5714 run-webkit-tests: Do not strip the metrics when there is no expected result for a test.
5715 https://bugs.webkit.org/show_bug.cgi?id=29771
5717 * Scripts/run-webkit-tests:
5719 2009-09-27 Jakub Wieczorek <faw217@gmail.com>
5721 Reviewed by Simon Hausmann.
5723 [Qt] Implement layoutTestController.waitForPolicyDelegate.
5724 https://bugs.webkit.org/show_bug.cgi?id=25037
5726 * DumpRenderTree/qt/DumpRenderTree.cpp:
5727 (WebCore::WebPage::acceptNavigationRequest):
5728 * DumpRenderTree/qt/DumpRenderTree.pro:
5729 * DumpRenderTree/qt/jsobjects.cpp:
5730 (LayoutTestController::reset):
5731 (LayoutTestController::notifyDone):
5732 (LayoutTestController::waitForPolicyDelegate):
5733 * DumpRenderTree/qt/jsobjects.h:
5734 (LayoutTestController::waitForPolicy):
5736 2009-09-26 David Kilzer <ddkilzer@apple.com>
5738 <http://webkit.org/b/29764> mark-bug-fixed: add -o|--open switch
5740 Reviewed by Eric Seidel.
5742 The -o|--open switch uses the open(1) command on Mac OS X to
5743 open the bug URL in the default web browser. If there are
5744 similar mechanisms on other platforms, they may be added later.
5746 * Scripts/mark-bug-fixed:
5747 (MarkBugFixed.__init__): Added -o|--open switch to list of parse
5749 (MarkBugFixed._determine_bug_id_and_svn_revision): Moved logging
5750 code into main() and extracted prompting code into
5751 _prompt_user_for_correctness().
5752 (MarkBugFixed._open_bug_in_web_browser): Added.
5753 (MarkBugFixed._prompt_user_for_correctness): Added.
5754 (MarkBugFixed.main): Added logging code from
5755 _determine_bug_id_and_svn_revision(). Added code to call
5756 _open_bug_in_web_browser() if the switch is set. Added code to
5757 call _prompt_user_for_correctness() when needed.
5758 * Scripts/modules/bugzilla.py:
5759 (Bugzilla.short_bug_url_for_bug_id): Added.
5761 2009-09-26 David Kilzer <ddkilzer@apple.com>
5763 svn-unapply and svn-apply don't work when used outside multiple svn working directories
5765 <http://webkit.org/b/29744>
5766 <rdar://problem/7252905>
5768 Reviewed by Eric Seidel.
5770 Some users have a workflow where svn-create-patch, svn-apply and
5771 svn-unapply are used outside of multiple svn working
5772 directories. Instead of aborting the scripts in these cases,
5773 print a warning and assume that Subversion is being used.
5775 * Scripts/VCSUtils.pm:
5776 (determineVCSRoot): Call warn() instead of die() if both isGit()
5777 and isSVN() initially return false. Set $VCSUtils::isSVN to 1
5778 to enforce the assumption about Subversion, then return
5780 * Scripts/svn-apply: Switch to using isGit() and isSVN() from
5781 VCSUtils.pm. They both already cache their values and checking
5782 here is redundant since determineVCSRoot() is called later.
5784 2009-09-26 Zan Dobersek <zandobersek@gmail.com>
5786 Reviewed by Gustavo Noronha.
5788 [Layout tests] [Gtk] Gtk DumpRenderTree should use WebKit test fonts
5789 https://bugs.webkit.org/show_bug.cgi?id=29689
5791 Load test fonts through FontConfig before each test.
5792 This ensures a more proper rendering of the tests.
5794 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5798 * DumpRenderTree/gtk/fonts.conf: Copied from WebKitTools/DumpRenderTree/qt/fonts.conf.
5801 2009-09-25 David Kilzer <ddkilzer@apple.com>
5803 <http://webkit.org/b/29718> mark-bug-fixed: add -u|--update-only switch
5805 Reviewed by Eric Seidel.
5807 * Scripts/mark-bug-fixed:
5808 (MarkBugFixed.__init__): Added -u|--update-only switch to list
5810 (MarkBugFixed.main): When -u|--update-only is specified, add a
5811 comment to the bug without marking it Resolved/Fixed.
5813 2009-09-25 Darin Adler <darin@apple.com>
5815 Reviewed by Geoffrey Garen.
5817 * Scripts/prepare-ChangeLog: Leave files from the script-tests directory
5818 out, just as we do for the resources directory.
5820 2009-09-25 Adam Barth <abarth@webkit.org>
5822 Unreviewed. Added Tony to committers.py because he's a
5825 * Scripts/modules/committers.py:
5827 2009-09-25 Eric Seidel <eric@webkit.org>
5829 Reviewed by Simon Fraser.
5831 REGRESSION: media/video-pause-empty-events.html is occasionally timing out on bots
5832 https://bugs.webkit.org/show_bug.cgi?id=28624
5834 Disable hardware compositing on Leopard for versions of QuickTime 7.6.4 and older.
5836 * DumpRenderTree/mac/DumpRenderTree.mm:
5837 (resetDefaultsToConsistentValues):
5839 2009-09-25 Eric Seidel <eric@webkit.org>
5841 Reviewed by Adam Barth.
5843 commit-queue should auto-retry patches which fail to commit due to out of date files
5844 https://bugs.webkit.org/show_bug.cgi?id=28316
5846 * Scripts/bugzilla-tool:
5847 - Handle new CheckoutNeedsUpdate exception.
5848 * Scripts/modules/logging_unittest.py:
5849 - Call the ScriptError constructor correctly (this test had regressed).
5850 * Scripts/modules/scm.py:
5851 - Added the ability to define custom error handlers for run_command
5852 and added a commit_error_handler which throws CheckoutNeedsUpdate
5853 instead of ScriptError.
5854 - Re-ordered ScriptError constructor arguments to make ScriptError("message text") usage possible.
5855 * Scripts/modules/scm_unittest.py:
5856 - Added tests of new error handlers.
5858 2009-09-25 Eric Seidel <eric@webkit.org>
5860 Reviewed by Adam Barth.
5862 commit-queue should give better feedback when failing a patch
5863 https://bugs.webkit.org/show_bug.cgi?id=29316
5865 * Scripts/bugzilla-tool:
5866 - Update ScriptError uses to the new constructor format.
5867 - Move CommitQueue._run_command to WebKitLandingScripts.run_command_with_teed_output
5868 so that we can print to both stdout as well as an output buffer for error reporting.
5869 - Update run_and_throw_if_fail to use teed output so that it can report the "output" as part of ScriptError.
5870 - Use e.message_with_output() when failing a patch (this is the real fix here).
5871 I also removed use of "This patch will require manual commit." as that's not always true.
5872 - Add missing word "bug" from log message.
5873 * Scripts/modules/scm.py:
5874 - Make ScriptError save a bunch more data so that error messages can be nicer.
5875 - Update ScriptError callers.
5877 2009-09-24 John Gregg <johnnyg@google.com>
5879 Reviewed by Eric Seidel.
5881 Enable switch for notifications (experimental) in Page Settings
5882 https://bugs.webkit.org/show_bug.cgi?id=28930
5884 Now that desktop notifications are controlled by run-time switch,
5885 set that switch to true for DumpRenderTree.
5887 * DumpRenderTree/mac/DumpRenderTree.mm:
5888 (resetDefaultsToConsistentValues):
5889 * DumpRenderTree/win/DumpRenderTree.cpp:
5890 (resetDefaultsToConsistentValues):
5891 * DumpRenderTree/win/UIDelegate.cpp:
5892 (UIDelegate::QueryInterface):
5894 2009-09-24 Kevin Ollivier <kevino@theolliviers.com>
5896 wx build fix. SnowLeopard fixes for Mac dependencies.
5898 * wx/build/build_utils.py:
5899 * wx/build/settings.py:
5900 * wx/install-unix-extras:
5902 2009-09-24 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
5904 Reviewed by Oliver Hunt.
5906 Add support for DRT to send mouse wheel events.
5908 https://bugs.webkit.org/show_bug.cgi?id=29348
5909 [Gtk] Scrollwheel on horizontal scrollbars should slide horizontally
5911 * DumpRenderTree/gtk/EventSender.cpp:
5912 (mouseWheelToCallback):
5914 2009-09-17 Eric Seidel <eric@webkit.org>
5916 Reviewed by David Levin.
5918 commit-queue needs web-based status reporting
5919 https://bugs.webkit.org/show_bug.cgi?id=29307
5921 Add a first-pass web-based status for the commit-queue.
5922 The bot is currently reachable at:
5923 http://webkit-commit-queue.appspot.com/
5925 * CommitQueueStatus/app.yaml: Added.
5926 - Application description file required by App Engine.
5927 * CommitQueueStatus/filters/__init__.py: Added.
5928 - Required by python to treat 'filters' as a module.
5929 * CommitQueueStatus/filters/webkit_extras.py: Added.
5930 - Support for turning 'bug 123' and 'patch 123' into links.
5931 This lets us use plain text strings in our logs yet display nice HTML (help prevent XSS attacks on the page).
5932 * CommitQueueStatus/index.html: Added.
5933 * CommitQueueStatus/index.yaml: Added.
5934 - Some auto-generated file from app engine.
5935 * CommitQueueStatus/queue_status.py: Added.
5936 - The core logic of this bot. We could eventually split this file out into pieces.
5937 * CommitQueueStatus/stylesheets/main.css: Added.
5938 - Some basic lame-o CSS to make the page look less awful.
5939 * CommitQueueStatus/update_status.html: Added.
5940 - The form that the commit-queue (or a human) can use to update the status.
5941 * Scripts/bugzilla-tool:
5942 - Add some very basic update_status calls.
5943 * Scripts/modules/statusbot.py: Added.
5944 - Knows how to post to the CommitQueueStatus web application.
5946 2009-09-24 David Kilzer <ddkilzer@apple.com>
5948 <http://webkit.org/b/29712> mark-bug-fixed: add -m|--comment switch
5950 Reviewed by Adam Roben.
5952 * Scripts/mark-bug-fixed:
5953 (MarkBugFixed.__init__): Added -m|--comment switch to list of
5955 (MarkBugFixed.main): When specified, prepend comment from
5956 -m|--comment command-line switch to the bug comment.
5958 2009-09-24 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
5960 Reviewed by Jan Alonzo.
5962 [GTK] DRT must display window instead of just realizing, to enable synthesizing events correctly
5963 https://bugs.webkit.org/show_bug.cgi?id=29693
5965 Show the window, to be able to synthesize events correctly.
5967 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5971 2009-09-24 Oliver Hunt <oliver@apple.com>
5973 Reviewed by NOBODY(rollout)
5975 Roll out r48712 as it is incorrect.
5977 * DumpRenderTree/mac/ObjCController.m:
5978 (+[ObjCController isSelectorExcludedFromWebScript:]):
5979 (+[ObjCController webScriptNameForSelector:]):
5981 2009-09-24 Benjamin Poulain <benjamin.poulain@nokia.com>
5983 Reviewed by Eric Seidel.
5985 https://bugs.webkit.org/show_bug.cgi?id=29005
5986 The indices of RuntimeArray should be enumerated like for a regular array.
5988 * DumpRenderTree/mac/ObjCController.m:
5989 (+[ObjCController isSelectorExcludedFromWebScript:]):
5990 (+[ObjCController webScriptNameForSelector:]):
5991 (-[ObjCController arrayOfString]):
5993 2009-09-23 David Kilzer <ddkilzer@apple.com>
5995 <http://webkit.org/b/28910> Move bugzilla-tool mark-fixed to standalone mark-bug-fixed tool
5997 Reviewed by Darin Adler.
5999 Also fixed a bug where specifying a revision on the command-line
6000 as 'r12345' would fail. See <http://webkit.org/b/29699>.
6002 * Scripts/bugzilla-tool: Updated module import statements.
6003 (parse_bug_id): Removed. Moved to bugzilla.py.
6004 (bug_comment_from_svn_revision): Removed. Moved to comments.py.
6005 (bug_comment_from_commit_text): Removed. Moved to comments.py.
6006 (MarkBugFixed): Removed. Code moved to mark-bug-fixed.
6007 (BugzillaTool.__init__): Removed mark-fixed subcommand.
6008 * Scripts/mark-bug-fixed: Added.
6009 * Scripts/modules/bugzilla.py:
6010 (parse_bug_id): Added. Moved from bugzilla-tool.
6011 * Scripts/modules/comments.py: Added.
6012 (bug_comment_from_svn_revision): Added. Moved from bugzilla-tool.
6013 (bug_comment_from_commit_text): Added. Moved from bugzilla-tool.
6015 2009-09-23 Marshall Culpepper <mculpepper@appcelerator.com>
6017 Reviewed by Eric Seidel.
6019 jpeg.lib is now libjpeg.lib in DRT Cairo dependencies. return
6020 "false" in non-implemented stub for setAlwaysAcceptCookies.
6021 https://bugs.webkit.org/show_bug.cgi?id=29661
6023 * DumpRenderTree/win/DumpRenderTree.vcproj:
6024 * DumpRenderTree/win/DumpRenderTree.cpp:
6026 2009-09-23 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
6028 Reviewed by Xan Lopez.
6030 [GTK] need to dump number of pending unload handlers
6031 https://bugs.webkit.org/show_bug.cgi?id=29685
6033 Implement dumping of the number of pending unload handlers.
6035 The following tests will pass:
6037 fast/loader/unload-form-about-blank.html
6038 fast/loader/unload-form-post-about-blank.html
6039 fast/loader/unload-form-post.html
6040 fast/loader/unload-form.html
6041 fast/loader/unload-hyperlink.html
6042 fast/loader/unload-javascript-url.html
6043 fast/loader/unload-reload.html
6044 fast/loader/unload-window-location.html
6046 * DumpRenderTree/gtk/DumpRenderTree.cpp:
6047 (getFrameNameSuitableForTestResult):
6048 (webViewLoadFinished):
6050 2009-09-22 Shinichiro Hamaji <hamaji@chromium.org>
6052 Reviewed by Eric Seidel.
6054 js tests should move into jstests subdirectory instead of resources/
6055 https://bugs.webkit.org/show_bug.cgi?id=25880
6057 Remove support of resources directory.
6059 * Scripts/make-script-test-wrappers:
6061 2009-09-22 Eric Seidel <eric@webkit.org>
6063 No review, only fixing typo (missing space character).
6065 Fix typo from https://bugs.webkit.org/show_bug.cgi?id=29220
6067 * Scripts/run-webkit-tests:
6069 2009-09-22 Eric Seidel <eric@webkit.org>
6071 Reviewed by Darin Adler.
6073 run-webkit-tests needs a --repeat-each=N option (AAABBBCCC instead of ABCABCABC)
6074 https://bugs.webkit.org/show_bug.cgi?id=29220
6076 * Scripts/run-webkit-tests:
6078 2009-09-22 Eric Seidel <eric@webkit.org>
6080 Reviewed by David Kilzer.
6082 svn-apply can't handle single-line binary file additions
6083 https://bugs.webkit.org/show_bug.cgi?id=29100
6085 Fixed the regexp and added a unit test.
6087 * Scripts/modules/scm_unittest.py:
6088 * Scripts/svn-apply:
6090 2009-09-11 Eric Seidel <eric@webkit.org>
6092 Reviewed by David Kilzer.
6094 post-diff and post-commits should be able to find bug urls in ChangeLogs.
6095 https://bugs.webkit.org/show_bug.cgi?id=29206
6097 * Scripts/bugzilla-tool:
6098 - Share common options by adding a PostDiffAsPatchToBug.posting_options() method.
6099 - Rename --no-comment to --add-log-as-comment and reverse behavior.
6100 Comments tend to just be noise. I'll eventually remove this argument if no one uses it.
6101 - Split out code into helper functions to try and make execute() more legible.
6102 - Make post-diff find the bug url in the ChangeLogs if not passed as an argument.
6103 - Fallback to bug urls in commit diffs, instead of just in commit messages,
6104 meaning post-commits will now find bug urls in ChangeLogs.
6106 2009-09-21 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
6108 Reviewed by Maciej Stachowiak.
6110 --parse-only parameter wasn't passed to SunSpider/sunspider script.
6111 https://bugs.webkit.org/show_bug.cgi?id=29611
6113 * Scripts/run-sunspider: Missing parameter passing added.
6115 2009-09-20 David Kilzer <ddkilzer@apple.com>
6117 <http://webkit.org/b/29521> run-webkit-tests: use require instead eval to load DumpRenderTreeSupport module
6119 Reviewed by Mark Rowe.
6121 The require statement is like the use statement, except that it
6122 is run during script execution instead of during the 'BEGIN'
6123 phase. This makes it possible to change @INC before the require
6124 statement is run. See 'require' and 'use' in the perlfunc(1)
6125 manpage and 'BEGIN' in perlmod(1) manpage.
6127 * Scripts/run-webkit-tests: Replace eval statement with require
6130 2009-09-18 Kevin Ollivier <kevino@theolliviers.com>
6132 wx build fixes. Fix the config name under git and allow users to specify
6133 their own waf install for experimenting with new versions.
6135 * Scripts/webkitdirs.pm:
6136 * wx/build/settings.py:
6138 2009-09-18 Alex Milowski <alex@milowski.com>
6140 Reviewed by Maciej Stachowiak.
6142 Added checkWebCoreMathMLSupport and hasMathMLSupport to support
6143 checking for whether MathML tests should be run
6145 * Scripts/run-webkit-tests:
6146 * Scripts/webkitdirs.pm:
6148 2009-08-28 Darin Adler <darin@apple.com>
6150 Reviewed by Mark Rowe.
6152 Break more of run-webkit-tests into separate functions
6153 https://bugs.webkit.org/show_bug.cgi?id=29497
6155 Some small steps toward improving run-webkit-tests. My goal is to
6156 refactor much more of the script into functions. Later we can add
6157 parallel test running to the tool. But better structure may help
6158 even if someone decides to translate this into another scripting
6161 * Scripts/run-webkit-tests: Break more pieces of the script into
6162 seprate functions. Added readSkippedFiles, findTestsToRun, and
6163 printResults functions. Removed custom code to skip results.html
6164 and instead just put it into the ignoredFiles hash. Fixed some
6165 indentation. Sorted function declarations, global variables,
6166 and options at the top of the file alphabetically so they're not
6167 in a semi-random order.
6169 2009-09-17 Kevin Ollivier <kevino@theolliviers.com>
6171 wx build fix, add missing dependency.
6173 * wx/browser/wscript:
6175 2009-09-16 Mark Rowe <mrowe@apple.com>
6177 Split the SnowLeopard build across a few machines.
6179 * BuildSlaveSupport/build.webkit.org-config/config.json:
6181 2009-09-16 Kevin Ollivier <kevino@theolliviers.com>
6183 wx build fix to support monolithic builds on Windows.
6185 * wx/build/wxpresets.py:
6187 2009-09-16 Kevin Ollivier <kevino@theolliviers.com>
6189 wx build fix, improve debug support and 2.9 support on MSW.
6191 * wx/build/settings.py:
6192 * wx/build/wxpresets.py:
6194 2009-09-16 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
6196 Blind try at fixing new test failure on Windows.
6198 * DumpRenderTree/win/FrameLoadDelegate.cpp:
6199 (FrameLoadDelegate::didReceiveTitle):
6201 2009-09-15 Alex Milowski <alex@milowski.com>
6203 Reviewed by Tor Arne Vestbø.
6207 * Scripts/build-webkit:
6209 2009-09-15 Kevin Ollivier <kevino@theolliviers.com>
6211 wx build fix. Allow waf build to support Python < 2.6.
6213 * wx/build/waf_extensions.py:
6215 2009-09-14 Chris Marrin <cmarrin@apple.com>
6217 Reviewed by Oliver Hunt.
6219 Add LayoutTests infrastructure to enable and disable webgl tests.
6220 https://bugs.webkit.org/show_bug.cgi?id=29254
6222 * Scripts/run-webkit-tests:
6223 * Scripts/webkitdirs.pm:
6225 2009-09-14 Simon Fraser <simon.fraser@apple.com>
6227 Reviewed by Darin Adler.
6229 Add --iterations option to run-webkit-tests to repeat the tests N times
6230 https://bugs.webkit.org/show_bug.cgi?id=29263
6232 When run with --iterations N, run-webkit-tests will repeat the tests N times.
6234 * Scripts/run-webkit-tests:
6236 2009-09-14 Brady Eidson <beidson@apple.com>
6238 Not reviewed, maybe should've been:
6240 Cleaning up more Windows-specific fallout from the fix for:
6241 <rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160
6243 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
6244 (ResourceLoadDelegate::didReceiveAuthenticationChallenge): Correct printf() formatter,
6245 and call the correct method to get the Sender.
6247 2009-09-14 Jon Honeycutt <jhoneycutt@apple.com>
6253 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
6254 (AccessibilityController::setLogScrollingStartEvents):
6256 2009-09-11 Jon Honeycutt <jhoneycutt@apple.com>
6259 <rdar://problem/7197644> WebKit should broadcast an MSAA event when
6260 jumping to a named anchor
6262 https://bugs.webkit.org/show_bug.cgi?id=28899
6264 Reviewed by Adam Roben.
6266 * DumpRenderTree/AccessibilityController.cpp:
6267 (logScrollingStartEventsCallback):
6268 Turn on logging of scrolling start events.
6269 (AccessibilityController::getJSClass):
6270 Add a "logScrollingStartEvents" to the AccessibilityController's JS
6272 (AccessibilityController::resetToConsistentState):
6273 Turn off logging of scrolling start events.
6275 * DumpRenderTree/AccessibilityController.h:
6276 Declare setLogScrollingStartEvents(). Add a member for the scrolling
6279 * DumpRenderTree/mac/AccessibilityControllerMac.cpp:
6280 (AccessibilityController::setLogScrollingStartEvents):
6283 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
6284 (AccessibilityController::AccessibilityController):
6285 Initialize the handle to 0.
6287 Renamed from logFocusEventProc; now logs scrolling start events, too.
6288 Removed the assertion that the event is a focus event. Added a switch
6289 to print a message for focus, scrolling start, and other, unknown
6291 (AccessibilityController::setLogFocusEvents):
6292 Changed to use logEventProc.
6293 (AccessibilityController::setLogScrollingStartEvents):
6294 If turning logging off, unhook the scrolling start event hook, and clear
6295 the member holding the handle. If turning on, query for the root
6296 accessible, so that accessibility is enabled for the WebView, and call
6297 SetWinEventHook to setup an event hook using logEventProc as the
6300 2009-09-14 Brady Eidson <beidson@apple.com>
6304 * DumpRenderTree/LayoutTestController.cpp:
6305 (setAuthenticationPasswordCallback):
6306 (setAuthenticationUsernameCallback):
6308 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
6309 (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
6311 2009-09-14 Brady Eidson <beidson@apple.com>
6313 Reviewed by Alexey Proskuryakov.
6315 Safari 4 cannot be used to update firmware on Linksys routers.
6316 <rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160
6318 Add the ability for DRT to handle authentication challenges.
6320 * DumpRenderTree/LayoutTestController.cpp:
6321 (setAuthenticationPasswordCallback):
6322 (setAuthenticationUsernameCallback):
6323 (setHandlesAuthenticationChallengesCallback):
6324 (LayoutTestController::staticFunctions):
6326 * DumpRenderTree/LayoutTestController.h:
6327 (LayoutTestController::handlesAuthenticationChallenges):
6328 (LayoutTestController::setHandlesAuthenticationChallenges):
6329 (LayoutTestController::authenticationUsername):
6330 (LayoutTestController::setAuthenticationUsername):
6331 (LayoutTestController::authenticationPassword):
6332 (LayoutTestController::setAuthenticationPassword):
6334 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
6335 (-[ResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
6337 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
6338 (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
6339 * DumpRenderTree/win/ResourceLoadDelegate.h:
6341 2009-09-12 Mark Rowe <mrowe@apple.com>
6343 Reviewed by Dan Bernstein.
6345 Test for <rdar://problem/6954546> and <rdar://problem/7090444>.
6347 Add a flag on the test plug-in that asks it to clear the document during the call to NPP_New.
6348 This is the trigger for both <rdar://problem/6954546> and <rdar://problem/7090444>.
6350 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
6353 2009-09-14 Kevin Ollivier <kevino@theolliviers.com>
6355 wx build fix for non-wxPython builds and a fix for errors when updating swig.py.
6357 * wx/build/build_utils.py:
6358 * wx/build/settings.py:
6360 2009-09-14 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
6362 Reviewed by Tor Arne Vestbø.
6364 [Qt] Build fix for windows build.
6366 * Scripts/bisect-builds: Add missing paranthesis for tmpdir function.
6368 2009-09-13 Kevin Ollivier <kevino@theolliviers.com>
6370 Fix typo accidently landed in last commit.
6372 * wx/build/settings.py:
6374 2009-09-13 Kevin Ollivier <kevino@theolliviers.com>
6376 wx build fix, error out if using the wrong Python.
6378 * wx/build/settings.py:
6380 2009-09-13 Xan Lopez <xlopez@igalia.com>
6382 Build fix for GTK+ < 2.14.
6384 Do not use gtk_widget_get_window, access the window directly
6387 * DumpRenderTree/gtk/EventSender.cpp:
6388 (contextClickCallback):
6389 (mouseDownCallback):
6391 (mouseMoveToCallback):
6394 2009-09-13 Martin Robinson <martin.james.robinson@gmail.com>
6396 Reviewed by Xan Lopez and Jan Alonzo.
6398 [GTK] EventSender does not set 'window' property on synthesized GDK events
6399 https://bugs.webkit.org/show_bug.cgi?id=29169
6401 Set the window property on synthesized GDK events in the GTK+ EventSender.
6403 * DumpRenderTree/gtk/EventSender.cpp:
6404 (contextClickCallback):
6405 (mouseDownCallback):
6407 (mouseMoveToCallback):
6410 2009-09-12 Drew Wilson <atwilson@google.com>
6412 Reviewed by Mark Rowe.
6414 run-webkit-tests has a timeout value that is too low
6415 https://bugs.webkit.org/show_bug.cgi?id=29223
6417 * Scripts/run-webkit-tests:
6418 Changed timeout value to 20 seconds to avoid timing out too early.
6420 2009-09-11 Kevin Ollivier <kevino@theolliviers.com>
6422 wx build fix. Mark dependencies as mandatory and declare which MSVC versions and
6423 architectures are supported for building wxWebKit.
6425 * wx/build/settings.py:
6427 2009-09-11 Eric Seidel <eric@webkit.org>
6429 Reviewed by David Levin.
6431 bugzilla-tool rollout threw exception under svn
6432 https://bugs.webkit.org/show_bug.cgi?id=29211
6434 * Scripts/modules/scm.py: add missing return, and convert number arguments to strings.
6435 * Scripts/modules/scm_unittest.py: add testing for this fix.
6437 2009-09-11 Brian Weinstein <bweinstein@apple.com>
6439 Add myself to the committers list.
6441 * Scripts/modules/committers.py:
6443 2009-09-11 Eric Seidel <eric@webkit.org>
6445 Reviewed by Adam Barth.
6447 bugzilla-tool land-patches should only fail-fast in --commit-queue mode
6448 https://bugs.webkit.org/show_bug.cgi?id=29201
6450 * Scripts/bugzilla-tool:
6452 2009-09-11 Adam Roben <aroben@apple.com>
6454 Make commit-log-editor move common prefixes to the top of the log
6456 Fies <http://webkit.org/b/29190> commit-log-editor should move common
6457 prefixes to the top of the commit log
6459 Reviewed by Darin Adler.
6461 * Scripts/commit-log-editor: Find and remove the longest common prefix
6462 ending in a double newline from each ChangeLog entry, then put that
6463 common prefix at the top of the commit log.
6464 (removeLongestCommonPrefixEndingInDoubleNewline): Added. Finds,
6465 removes, and returns the longest common prefix ending in a double
6466 newline from a hash of strings
6468 2009-09-11 Eric Seidel <eric@webkit.org>
6470 Fix obvious typo in previous commit, no review.
6472 bugzilla-tool should automate rollouts
6473 https://bugs.webkit.org/show_bug.cgi?id=26715
6475 * Scripts/bugzilla-tool: add back missing "scm" argument.
6477 2009-09-11 Eric Seidel <eric@webkit.org>
6479 Reviewed by Adam Barth.
6481 bugzilla-tool should automate rollouts
6482 https://bugs.webkit.org/show_bug.cgi?id=26715
6484 bugzilla-tool rollout will do the rollout locally and leave the diff for you to verify and commit.
6485 The --complete-rollout option will automatically land and update the bug.
6486 Eventually --complete-rollout will be default, but that will require more testing.
6488 This first pass is good enough for others to try and file bugs about.
6490 * Scripts/bugzilla-tool:
6491 - Move modified_changelogs into scm.py.
6492 - Move svn_revision_from_commit_text logic into scm.py.
6493 - Add RolloutCommit command.
6494 * Scripts/modules/bugzilla.py:
6495 - Add reopen_bug command used by RolloutCommit.
6496 * Scripts/modules/scm.py:
6497 - Add functions to support RolloutCommit.
6498 - Abstract find_uuid into value_from_svn_info so it can be re-used for _repository_url (needed by svn merge).
6499 - Add a str() call so that svn_commit_log can take a numeric argument.
6500 - Remove a bunch of very slow code from last_svn_commit_log and used the built-in 'BASE' alias instead.
6501 - Made dry_run commits return something that svn_revision_from_commit_text can parse.
6502 * Scripts/modules/scm_unittest.py:
6503 - Add read_from_path for easy file reading.
6504 - Put test4 on a new line to make reverts work w/o conflict.
6505 - Add an "svn update" call so that the checkout revision matches the server revision.
6506 - Add tests for svn_revision_from_commit_text.
6507 - Add a simple test for apply_reverse_diff.
6508 - Add a new self.scm member and use it in the new tests (eventually other tests can use it too).
6509 - Add test for svn_commit_log to make sure my 'BASE' change above worked as expected.
6511 2009-09-11 Adam Roben <aroben@apple.com>
6513 Get user script/stylesheet tests running on Windows
6515 Fixes <http://webkit.org/b/29181> User script/stylesheet tests are
6518 Reviewed by John Sullivan.
6520 * DumpRenderTree/win/DumpRenderTree.vcproj: Link all configurations
6521 against comsuppw.lib so we can use _bstr_t.
6523 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Fixed #include
6524 order, added #include of comutil.h for _bstr_t.
6526 (bstrT): Helper function to convert a JSStringRef to a _bstr_t.
6527 (LayoutTestController::addUserScript):
6528 (LayoutTestController::addUserStyleSheet):
6529 Implemented. Implementations were based on those in
6530 LayoutTestControllerMac.mm.
6532 2009-09-10 David Kilzer <ddkilzer@apple.com>
6534 <http://webkit.org/b/29147> run-webkit-tests: make -h show help
6536 Reviewed by Mark Rowe.
6538 * Scripts/run-webkit-tests: Updated to make -h switch show help.
6540 2009-09-10 Fumitoshi Ukai <ukai@chromium.org>
6542 Reviewed by Alexey Proskuryakov.
6544 Add WebCore/websockets directory in wx build system.
6545 https://bugs.webkit.org/show_bug.cgi?id=28038
6547 * wx/build/settings.py:
6549 2009-09-10 Martin Robinson <martin.james.robinson@gmail.com>
6551 [GTK] EventSender does not properly convert some keyDown strings
6552 https://bugs.webkit.org/show_bug.cgi?id=29119
6554 Add more keyDown string to character code conversions for GTK+ EventSender.
6556 * DumpRenderTree/gtk/EventSender.cpp:
6559 2009-09-09 Steve Block <steveblock@google.com>
6561 Reviewed by Maciej Stachowiak.
6563 Geolocation Coordinates::toString() prints bogus values for unspecified properties.
6564 https://bugs.webkit.org/show_bug.cgi?id=29080
6566 * Scripts/make-script-test-wrappers: Modified. Adds asynchronous Geolocation tests to exclusion list.
6568 2009-09-09 Eric Seidel <eric@webkit.org>
6570 Reviewed by Eric Carlson.
6572 reviewer/committer lookups are backwards
6573 https://bugs.webkit.org/show_bug.cgi?id=29113
6575 I also moved Eric Carlson from the committer list to the reviewer list now that he is one.
6577 * Scripts/modules/bugzilla.py:
6578 * Scripts/modules/committers.py:
6580 2009-09-09 Cameron McCormack <cam@mcc.id.au>
6582 Reviewed by Eric Seidel.
6584 svn-unapply doesn't revert directories correctly
6585 https://bugs.webkit.org/show_bug.cgi?id=29065
6587 * Scripts/svn-unapply: Make svnStatus consistently return status
6588 lines including a newline.
6589 * Scripts/svn-apply: Keep svnStatus in sync with the one in
6590 svn-unapply, in lieu of moving it to a common file.
6592 2009-09-09 Cameron McCormack <cam@mcc.id.au>
6594 Reviewed by Eric Seidel.
6596 svn-apply doesn't handle changes to files copied to new directories properly
6597 https://bugs.webkit.org/show_bug.cgi?id=29059
6599 * Scripts/svn-apply: Don't treat "--- revision 0" patches as being
6600 additions if we know that we've just copied a file to this name.
6602 2009-09-09 Eric Seidel <eric@webkit.org>
6604 Reviewed by David Levin.
6606 commit-queue hangs if a builder has never built
6607 https://bugs.webkit.org/show_bug.cgi?id=29091
6609 * Scripts/modules/buildbot.py:
6610 * Scripts/modules/buildbot_unittest.py:
6612 2009-09-09 Zan Dobersek <zandobersek@gmail.com>
6614 Reviewed by Gustavo Noronha.
6616 [GTK] DumpRenderTree needs eventSender object and implementation
6617 https://bugs.webkit.org/show_bug.cgi?id=25990
6619 Implements most of the EventSender object's functionality for
6620 the DumpRenderTree tool. Implementation still lacks support
6621 for drag and drop tests and forward leaps.
6623 Based on work by Holger Hans Peter Freyther.
6625 * DumpRenderTree/gtk/DumpRenderTree.cpp:
6626 (runTest): Focus on the view before loading a new test.
6627 (webViewWindowObjectCleared):
6628 * DumpRenderTree/gtk/EventSender.cpp: Added.
6629 (getDragModeCallback):
6630 (setDragModeCallback):
6631 (leapForwardCallback):
6632 (contextClickCallback):
6634 (mouseDownCallback):
6636 (mouseMoveToCallback):
6637 (beginDragWithFilesCallback):
6638 (replaySavedEvents):
6640 (textZoomInCallback):
6641 (textZoomOutCallback):
6642 (zoomPageInCallback):
6643 (zoomPageOutCallback):
6646 * DumpRenderTree/gtk/EventSender.h: Added.
6647 * GNUmakefile.am: Add build rules for EventSender.
6649 2009-09-09 Daniel Bates <dbates@webkit.org>
6651 Reviewed by Adam Roben.
6653 https://bugs.webkit.org/show_bug.cgi?id=28953
6655 Added pre- and post- build events so that on build failure, the file
6656 buildfailed is written to the directory $(WebKitOutputDir).
6658 * WinLauncher/WinLauncher.vcproj:
6660 2009-09-09 Kenneth Rohde Christiansen <kenneth@webkit.org>
6664 Add myself to list of committers.
6666 * Scripts/modules/committers.py:
6668 2009-09-08 Eric Seidel <eric@webkit.org>
6670 Reviewed by David Levin.
6672 commit-queue gets stuck if a non-committer sets commit-queue+ or review+
6673 https://bugs.webkit.org/show_bug.cgi?id=28605
6674 https://bugs.webkit.org/show_bug.cgi?id=28916
6676 * Scripts/bugzilla-tool:
6677 - Fix comment and adjust reject_patch_from_commit_queue call to pass "manual commit"
6678 comment now that it's used for rejecting patches for invalid committers too.
6679 - Pass reject_invalid_patches=True for commit-queue calls, normally we just ignore patches with invalid reviewers, the commit-queue rejects them.
6680 - Make the commit queue print patches count instead of bugs count, this also fixes https://bugs.webkit.org/show_bug.cgi?id=28916.
6681 * Scripts/modules/bugzilla.py:
6682 - Make _parse_attachment_element not validate reviewer/committer.
6683 - Share flag parsing code in _parse_attachment_flag.
6684 - Add _validate* methods for validating reviewers and committers and updating bugs when validation fails.
6685 - Add reject_invalid_patches argument so the commit-queue can update bugs on failed validation and other "read only" commands will not.
6686 - Add reject_patch_from_review_queue using a new _set_flag_on_attachment abstraction.
6687 * Scripts/modules/bugzilla_unittest.py:
6688 - Update this test to no longer expect committer/reviewer validation.
6689 * Scripts/modules/committers.py:
6690 - Return None on failed lookups instead of raising Exceptions.
6691 * Scripts/modules/committers_unittest.py:
6692 - Update tests to expect None returns instead of exceptions.
6694 2009-09-09 David Kilzer <ddkilzer@apple.com>
6696 <http://webkit.org/b/29061> Fix obvious copy-paste error in AccessibilityUIElement::clickPointY()
6698 Reviewed by Mark Rowe.
6700 No change to layout test results.
6702 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
6703 (AccessibilityUIElement::clickPointY): Changed to return y value
6706 2009-09-08 Dimitri Glazkov <dglazkov@chromium.org>
6708 Reviewed by Mark Rowe.
6710 Reduce dglazkov's boboiness by properly concatenating revision value.
6712 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Used substitution
6715 2009-09-08 Kevin Ollivier <kevino@theolliviers.com>
6717 wxWebKit Python extension build fix - get swig.py if it doesn't exist.
6719 * wx/build/build_utils.py:
6721 2009-09-08 Mark Rowe <mrowe@apple.com>
6723 Fix an incorrect variable name in UpdateChromiumSource.
6725 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
6727 2009-09-08 Mark Rowe <mrowe@apple.com>
6729 Don't check for leaks on the release SnowLeopard builder.
6731 * BuildSlaveSupport/build.webkit.org-config/config.json:
6733 2009-09-08 Mark Rowe <mrowe@apple.com>
6735 Add a SnowLeopard release builder.
6737 * BuildSlaveSupport/build.webkit.org-config/config.json:
6739 2009-09-08 David Levin <levin@chromium.org>
6741 Reviewed by Darin Adler.
6743 Remove end of line whitespace check from check-webkit-style.
6744 https://bugs.webkit.org/show_bug.cgi?id=29053
6746 * Scripts/modules/cpp_style.py:
6748 2009-09-08 Cameron McCormack <cam@mcc.id.au>
6750 Reviewed by Darin Adler.
6752 Fix DumpRenderTree build from clean tree on Tiger
6753 https://bugs.webkit.org/show_bug.cgi?id=28927
6755 * DumpRenderTree/mac/PerlSupport/Makefile: Ensure the
6756 DerivedSources/DumpRenderTree directory exists when
6759 2009-09-08 Kevin Ollivier <kevino@theolliviers.com>
6761 wx build fix after introduction of platform/mock directory.
6763 * wx/build/settings.py:
6765 2009-09-08 Yael Aharon <yael.aharon@nokia.com>
6769 Add myself to list of committers.
6771 * Scripts/modules/committers.py:
6773 2009-09-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
6777 Add myself to list of committers.
6779 * Scripts/modules/committers.py:
6781 2009-09-08 Cameron McCormack <cam@mcc.id.au>
6783 Reviewed by Darin Adler.
6785 prepare-ChangeLog too chatty on file additions
6786 https://bugs.webkit.org/show_bug.cgi?id=29019
6788 * Scripts/prepare-ChangeLog: Omit description of added properties
6789 on newly added files.
6791 2009-09-08 Steve Block <steveblock@google.com>
6793 Reviewed by Adam Barth.
6795 Adds a LayoutTestController method to set the permission state for Geolocation.
6796 This is required to use the mock Geolocation service for testing.
6797 https://bugs.webkit.org/show_bug.cgi?id=29027
6799 * DumpRenderTree/LayoutTestController.cpp: Modified.
6800 (setDatabaseQuotaCallback): Modified. Style fix.
6801 (setGeolocationPermissionCallback): Added. Sets the Geolocation permission state.
6802 (LayoutTestController::staticFunctions): Modified. Registers the above function on the LayoutTestController.
6803 * DumpRenderTree/LayoutTestController.h: Modified.
6804 (LayoutTestController::setGeolocationPermission): Added. Sets the Geolocation permission state.
6805 (LayoutTestController::isGeolocationPermissionSet): Added. Returns whether the Geolocation permission has been set.
6806 (LayoutTestController::geolocationPermission): Added. Returns the Geolocation permission state.
6807 * DumpRenderTree/mac/UIDelegate.mm: Modified.
6808 (-[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.
6810 2009-09-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
6812 Reviewed by Simon Hausmann.
6814 [Qt] QtWebKit single API to enable persistency
6815 https://bugs.webkit.org/show_bug.cgi?id=28682
6817 Use the new enablePersistentStorage API instead
6818 of enabling all persistent features one-by-one.
6820 * DumpRenderTree/qt/DumpRenderTree.cpp:
6821 (WebCore::WebPage::WebPage):
6822 (WebCore::DumpRenderTree::DumpRenderTree):
6824 2009-09-07 Andras Becsi <becsi.andras@stud.u-szeged.hu>
6826 Reviewed by Tor Arne Vestbø.
6828 Refactor --strict switch to --ignore-metrics and correct the
6829 implementation to make the feature usable on all platforms.
6830 https://bugs.webkit.org/show_bug.cgi?id=28907
6832 run-webkit-tests --ignore-metrics strips the font related metrics from
6833 the actual and expected data before comparing them.
6834 In this way the render trees can be checked for obvious differences but
6835 a successful test implies by no means that the layout is actually correct.
6837 * Scripts/run-webkit-tests:
6839 2009-09-07 Steve Block <steveblock@google.com>
6841 Reviewed by Adam Barth.
6843 Adds a mock Geolocation service. This will be used to provide predictable behavior of the
6844 Geolocation API for use in LayoutTests. Later changes will integrate the the mock
6845 Geolocation service with DumpRenderTree.
6846 https://bugs.webkit.org/show_bug.cgi?id=28264
6848 * DumpRenderTree/LayoutTestController.cpp: Modified.
6849 (setMockGeolocationPositionCallback): Added. Configures the mock Geolocation service.
6850 (setMockGeolocationErrorCallback): Added. Configures the mock Geolocation service.
6851 (LayoutTestController::staticFunctions): Added. Registers the above functions on the LayoutTestController.
6852 * DumpRenderTree/LayoutTestController.h: Modified.
6853 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Modified.
6854 (LayoutTestController::setMockGeolocationPosition): Added. Configures the mock Geolocation service.
6855 (LayoutTestController::setMockGeolocationError): Added. Configures the mock Geolocation service.
6857 2009-09-07 Drew Wilson <atwilson@google.com>
6859 Reviewed by David Levin.
6861 Enable SHARED_WORKERS by default
6862 https://bugs.webkit.org/show_bug.cgi?id=28959
6864 * Scripts/build-webkit:
6866 2009-09-07 Kevin Ollivier <kevino@theolliviers.com>
6868 wx build fixes for wx SVN trunk.
6870 * wx/build/settings.py:
6872 2009-09-04 Kevin Ollivier <kevino@theolliviers.com>
6874 wx build fix. Switch USE_ defines over to the compiler so that they can be
6875 checked by files not including config.h (like WebCorePrefix.h).
6877 * wx/build/settings.py:
6879 2009-09-04 Adam Barth <abarth@webkit.org>
6881 Unreviewed build fix.
6883 Update declaration of FrameLoadDelegate to reflect that
6884 IWebFrameLoadDelegatePrivate2 inherits from
6885 IWebFrameLoadDelegatePrivate.
6887 * DumpRenderTree/win/FrameLoadDelegate.h:
6889 2009-09-04 Adam Barth <abarth@webkit.org>
6891 Reviewed by Eric Seidel.
6893 https://bugs.webkit.org/show_bug.cgi?id=24696
6895 Add testing instrumentation for mixed content.
6897 * DumpRenderTree/mac/FrameLoadDelegate.mm:
6898 (-[FrameLoadDelegate webView:]):
6899 (-[FrameLoadDelegate webView:didRunInsecureContent:]):
6900 * DumpRenderTree/win/FrameLoadDelegate.cpp:
6901 (descriptionSuitableForTestResult):
6902 (FrameLoadDelegate::QueryInterface):
6903 (FrameLoadDelegate::didDisplayInsecureContent):
6904 (FrameLoadDelegate::didRunInsecureContent):
6905 * DumpRenderTree/win/FrameLoadDelegate.h:
6907 2009-09-03 Kevin Watters <kevinwatters@gmail.com>
6909 Reviewed by Kevin Ollivier.
6912 https://bugs.webkit.org/show_bug.cgi?id=19041
6914 * wx/build-wxwebkit:
6916 2009-09-02 David Kilzer <ddkilzer@apple.com>
6918 <http://webkit.org/b/28880> svn-apply --force doesn't actually work
6920 Reviewed by Eric Seidel.
6922 This fixes "svn-apply --force" and adds unit tests for the
6923 scm.apply_patch() method which uses this script.
6925 * Scripts/svn-apply: Created $globalExitCode variable that
6926 defaults to 0. Exit with a value of $globalExitCode when the
6928 (applyPatch): Ignore a non-zero $exitCode if $force is true, but
6929 set $globalExitCode to $exitCode so that svn-apply exits with a
6930 non-zero status if any patches did not apply cleanly. Also
6931 print out the actual patch command if $force was not true.
6933 * Scripts/modules/scm.py:
6934 (scripts_directory): Added. Extracted from script_path().
6935 (script_path): Extracted scripts_directory().
6936 * Scripts/modules/scm_unittest.py: Import urllib.
6937 (SVNTestRepository.setup): Save the original working directory
6938 in test_object since this represents the WebKit repository from
6939 where the unit tests are run.
6940 (SCMTest): Created new super class to hold utility methods.
6941 (SCMTest._create_patch): Creates a patch file on disk and a
6942 dictionary for use with scm.svn_apply().
6943 (SCMTest._setup_webkittools_scripts_symlink): Sets up a symlink
6944 back to WebKitTools/Scripts in the test repository so that
6945 scm.apply_patch() is able to find the svn-apply script.
6946 (SVNTest): Inherit from SCMTest instead of unittest.TestCase.
6947 (SVNTest.tearDown): Make sure to change directories back to the
6948 original_path before the next test.
6949 (SVNTest.test_apply_svn_patch): New test case for applying an
6950 svn patch with scm.apply_patch().
6951 (SVNTest.test_apply_svn_patch_force): New test case for applying
6952 an svn patch with scm.apply_patch() that conflicts.
6953 (GitTest): Inherit from SCMTest instead of unittest.TestCase.
6954 (GitTest.tearDown): Make sure to change directories back to the
6955 original_path before the next test.
6956 (GitTest.test_apply_git_patch): New test case for applying a git
6957 patch with scm.apply_patch().
6958 (GitTest.test_apply_git_patch_force): New test case for applying
6959 a git patch with scm.apply_patch() that conflicts.
6961 2009-09-02 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
6963 Reviewed by Mark Rowe.
6965 [Qt] Add support for platform-spesific layout-test results
6967 For the Qt port we use the qt-[mac|linux|win] directories and then fall
6968 back to the generic qt directory for both test results and skipped list.
6970 * Scripts/run-webkit-tests:
6971 * Scripts/webkitdirs.pm:
6973 2009-09-02 Laurent Cerveau <lcerveau@me.com>
6975 Reviewed by David Kilzer.
6977 <http://webkit.org/b/25517> build-webkit script should print build time at end
6979 * Scripts/build-webkit:
6980 Added startTime and endTime variable so that the build time is computed and printed as
6981 part of the build message; display formatting has been separated in a dedicated subroutine.
6983 2009-09-02 David Kilzer <ddkilzer@apple.com>
6985 <http://webkit.org/b/28881> svn-create-patch should check if the repo path is the same when trying to find the root
6987 Reviewed by Eric Seidel.
6989 * Scripts/VCSUtils.pm:
6990 (determineSvnRoot): Added back check for repository root that
6991 was removed in r46134 when this code lived in svn-create-patch.
6992 It's necessary to check both the repository root and the
6993 repository UUID in case two different working directories are
6994 checked out from the same repository.
6996 2009-09-02 Timothy Hatcher <timothy@apple.com>
6998 Use new 512x512 icons for nightly builds.
7000 Rubber-stamped by Mark Rowe.
7002 * WebKitLauncher/webkit.icns:
7004 2009-09-02 Kevin Ollivier <kevino@theolliviers.com>
7006 waf build fix. Remove local variable shadowing global.
7008 * wx/build/settings.py:
7010 2009-09-02 Zan Dobersek <zandobersek@gmail.com>
7012 Reviewed by David Kilzer.
7014 Calls exitStatus function from the main package where it is also defined.
7016 * Scripts/VCSUtils.pm:
7018 2009-09-02 Kevin Ollivier <kevino@theolliviers.com>
7020 waf build fixes for Windows/MSVC and Mac/Snow Leopard.
7022 * wx/browser/wscript:
7023 * wx/build/build_utils.py:
7024 * wx/build/settings.py:
7026 2009-08-10 Kevin Ollivier <kevino@theolliviers.com>
7028 Reviewed by Eric Seidel.
7030 Changes needed for build-webkit to support the waf build system for the wx port.
7032 https://bugs.webkit.org/show_bug.cgi?id=27619
7034 * Scripts/build-webkit:
7035 * Scripts/run-launcher:
7036 * Scripts/webkitdirs.pm:
7038 2009-09-02 David Kilzer <ddkilzer@apple.com>
7040 <http://webkit.org/b/27168> With Subversion 1.6, update-webkit prompts on conflicts
7042 Reviewed by Eric Seidel.
7044 * Scripts/update-webkit: Added "--accept postpone" to
7045 @svnOptions when running with svn-1.6 or newer.
7047 2009-09-02 David Kilzer <ddkilzer@apple.com>
7049 Moved svn 1.6 version check into VCSUtils::isSVNVersion16OrNewer()
7051 Reviewed by Eric Seidel.
7053 * Scripts/VCSUtils.pm:
7054 (@EXPORT): Added &isSVNVersion16OrNewer.
7055 (svnVersion): Added. Internal method that gets the SVN version
7057 (isSVNVersion16OrNewer): Added. Method that does the SVN 1.6
7059 * Scripts/prepare-ChangeLog: Switched to use new
7060 isSVNVersion16OrNewer() method.
7061 * Scripts/resolve-ChangeLogs: Ditto.
7062 * Scripts/svn-create-patch: Ditto.
7064 2009-09-02 David Kilzer <ddkilzer@apple.com>
7066 Clean up VCSUtils.pm
7068 Reviewed by Eric Seidel.
7070 * Scripts/VCSUtils.pm: Added proper package statement. Fixed
7071 indentation of BEGIN block. Listed each exported method on a
7072 line by itself. Added methods to the export list after adding
7073 the package statement. Sorted module variables. Moved
7074 definiton of $gitRoot next to other module variables.
7076 2009-09-01 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
7078 Rubber-stamped by Simon Hausmann.
7080 [Qt] Fix layout-test plugins/plugin-javascript-access.html
7082 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
7084 2009-09-02 Shinichiro Hamaji <hamaji@chromium.org>
7086 Reviewed by Eric Seidel.
7088 js tests should move into jstests subdirectory instead of resources/
7089 https://bugs.webkit.org/show_bug.cgi?id=25880
7091 make-script-wrappers supports both resources and script-tests directories.
7092 run-webkit-tests ignores files in script-tests.
7093 Move script tests of animations to check the new script is working.
7095 * Scripts/make-script-test-wrappers:
7096 * Scripts/run-webkit-tests:
7098 2009-09-02 Szabo Carol <carol.szabo@nokia.com>
7100 Reviewed by David Levin.
7102 check-webkit-style uses python from /usr/bin instead of the PATH
7103 https://bugs.webkit.org/show_bug.cgi?id=28225
7105 * Scripts/bugzilla-tool:
7106 * Scripts/check-webkit-style:
7107 * Scripts/run-webkit-unittests:
7108 * Scripts/update-sources-list.py:
7109 Changed the first line from
7112 #!/usr/bin/env python
7113 which causes python to be invoked from the path location returned
7114 by "which python" when any of these scripts are launched.
7115 these are currently all the python scripts in WebKitTools/Scripts.
7117 2009-09-01 David Kilzer <ddkilzer@apple.com>
7119 <http://webkit.org/b/28601> bugzilla-tool post-commits posts commits backwards
7121 Reviewed by Adam Barth.
7123 * Scripts/modules/scm.py:
7124 (Git.commit_ids_from_commitish_arguments): Reverse the list of
7125 commits returned from git-rev-list since we always want to post
7126 the oldest patches first to bugs.webkit.org.
7127 * Scripts/modules/scm_unittest.py:
7128 (run): Added return statement to return the output now that we
7130 (SVNTestRepository._setup_test_commits): Added a fourth commit
7131 so the GitTest.test_commitish_order() test has more commits to
7133 (GitTest.test_commitish_order): Added unit test for change to
7134 Git.commit_ids_from_commitish_arguments() in scm.py.
7136 2009-09-01 David Kilzer <ddkilzer@apple.com>
7138 <http://webkit.org/b/28877> Implement bugzilla-tool mark-fixed
7140 Reviewed by David Levin.
7142 The mark-fixed subcommand is for those times when you don't use
7143 bugzilla-tool to commit a patch, but you want to use it to close
7144 the bug with a committed-revision message.
7146 * Scripts/bugzilla-tool:
7147 (bug_comment_from_svn_revision): Added. Extracted from
7148 bug_comment_from_commit_text().
7149 (bug_comment_from_commit_text): Extracted
7150 bug_comment_from_svn_revision() from this method.
7151 (MarkBugFixed.__init__): Added.
7152 (MarkBugFixed._fetch_commit_log): Added. Retrieves the commit
7153 log from the last commit if no svn revision is specified, else
7154 the commit log for the specified svn revision.
7155 (MarkBugFixed._determine_bug_id_and_svn_revision): Added.
7156 Attempts to determine the bug id and svn revision if one or both
7157 were not defined on the command line.
7158 (MarkBugFixed.execute): Added. Adds a comment about the
7159 revision that fixed the bug and closes the bug.
7160 (BugzillaTool.__init__): Added mark-fixed subcommand.
7161 * Scripts/modules/bugzilla.py:
7162 (Bugzilla.fetch_title_from_bug): Added. Returns the title of a
7164 * Scripts/modules/scm.py:
7165 (SCM.strip_r_from_svn_revision): Added. Utility method to strip
7166 the leading 'r' from an svn revision.
7167 (SCM.svn_commit_log): Added. Subclasses must override.
7168 (SCM.last_svn_commit_log): Added. Subclasses must override.
7169 (SVN.svn_commit_log): Added. Returns svn log for a given
7171 (SVN.last_svn_commit_log): Added. Uses svnversion to find the
7172 last commit in an svn working directory and then runs svn log.
7173 (Git.svn_commit_log): Added. Returns svn log for a given
7175 (Git.last_svn_commit_log): Added. Runs git-svn-log with a limit
7178 2009-09-01 David Kilzer <ddkilzer@apple.com>
7180 <http://webkit.org/b/28880> svn-apply --force doesn't actually work
7182 Reviewed by Brady Eidson.
7184 * Scripts/svn-apply:
7185 (applyPatch): Add "--force" to $options arrayref if $force is
7188 2009-09-01 David Kilzer <ddkilzer@apple.com>
7190 <http://webkit.org/b/28725> resolve-ChangeLogs: determineVCSRoot() returns incorrect repository root during git filter-branch
7192 Reviewed by Adam Roben.
7194 When git-filter-branch has been invoked to rewrite ChangeLog
7195 files on series of git commits, it changes directories into
7196 .git-rewrite/t before re-running resolve-ChangeLogs. This
7197 causes determineVCSRoot() in VCSUtils.pm to return
7198 ".git-rewrite/t", which causes that path to be prepended to all
7199 ChangeLog paths, which results in an error like this:
7201 error: pathspec '.git-rewrite/t/ChangeLog' did not match any file(s) known to git.
7202 Died at WebKitTools/Scripts/resolve-ChangeLogs line 376.
7204 The correct way to fix this is not to try to find the repository
7205 root when invoked by git-filter-branch.
7207 * Scripts/resolve-ChangeLogs: If isInGitFilterBranch() is true,
7208 set $relativePath to '.' instead of calling
7209 chdirReturningRelativePath(determineVCSRoot()).
7210 (isInGitFilterBranch): Added. Checks for the existence of the
7211 MAPPED_PREVIOUS_COMMIT environment variable.
7213 2009-09-01 Xan Lopez <xlopez@igalia.com>
7215 Reviewed by Gustavo Noronha.
7217 Add support for Fedora distros in the http tests
7218 https://bugs.webkit.org/show_bug.cgi?id=28263
7220 Add detection code for Fedora distribution, and use the proper
7221 httpd conf file when needed.
7223 * Scripts/run-webkit-httpd:
7224 * Scripts/run-webkit-tests:
7225 * Scripts/webkitdirs.pm:
7227 2009-09-01 Jan Michael Alonzo <jmalonzo@webkit.org>
7229 Reviewed by Eric Seidel.
7231 [Gtk] DRT needs implementation of overridePreference
7232 https://bugs.webkit.org/show_bug.cgi?id=28830
7234 Implement overridePreference.
7236 * DumpRenderTree/gtk/DumpRenderTree.cpp:
7237 (resetDefaultsToConsistentValues):
7238 (setDefaultsToConsistentStateValuesForTesting):
7240 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
7242 (LayoutTestController::overridePreference):
7244 2009-09-01 Joseph Pecoraro <joepeck@webkit.org>
7246 <http://webkit.org/b/28623> svn-[un]apply should change directories to the repository root before [un]applying
7248 Reviewed by Eric Seidel.
7250 Jump back and forth between the repository root directory (to apply) and the
7251 directory the script was run from (to find the patch).
7253 * Scripts/svn-apply:
7254 * Scripts/svn-unapply:
7256 2009-08-31 Adam Roben <aroben@apple.com>
7258 Fall back to a Release version of Safari if a Debug one doesn't exist
7260 <http://webkit.org/b/28849>
7262 Reviewed by Sam Weinig.
7264 * Scripts/webkitdirs.pm:
7265 (safariPath): If the user is working with a Debug build, but there's
7266 no Debug version of Safari present, fall back to using a Release
7269 2009-08-31 Adam Roben <aroben@apple.com>
7271 Make safariPath() work for Debug builds of Safari on Windows
7273 <http://webkit.org/b/28849>
7275 Reviewed by Sam Weinig.
7277 * Scripts/webkitdirs.pm:
7278 (safariPath): If the user is working with a Debug build, add the
7279 _debug suffix to Safari.exe.
7281 2009-08-28 Eric Seidel <eric@webkit.org>
7283 Reviewed by Adam Barth.
7285 commit-queue needs a master process
7286 https://bugs.webkit.org/show_bug.cgi?id=28040
7288 Add a bugzilla-tool commit-queue command
7289 Keeps per-bug logs, but doesn't yet upload them anywhere.
7291 * Scripts/bugzilla-tool: Add LandPatchesFromCommitQueue to handle 'commit-queue'
7292 * Scripts/modules/buildbot.py: remove noisy log message
7293 * Scripts/modules/logging.py: add a 'tee()' call for splitting outputs in python
7295 2009-08-28 Jan Michael Alonzo <jmalonzo@webkit.org>
7297 Reviewed by Gustavo Noronha.
7299 [GTK] Geolocation needs permission API before being enabled by default
7301 Build the Gtk port with geolocation enabled. This option is only
7302 enabled for the buildbot. The autotools option will be enabled by
7303 default once the permissions API is implemented.
7305 * Scripts/build-webkit:
7307 2009-08-26 Cameron McCormack <cam@mcc.id.au>
7309 Reviewed by David Kilzer.
7311 Make prepare-ChangeLog notice property changes
7312 https://bugs.webkit.org/show_bug.cgi?id=28675
7314 Make the generated ChangeLog entry include a short description of
7315 property changes if there were such changes. Also make
7316 prepare-ChangeLog not bail if the only changes are property changes.
7318 * Scripts/prepare-ChangeLog:
7320 2009-08-26 Adam Barth <abarth@webkit.org>
7322 Reviewed by Oliver Hunt.
7324 Don't let local files access web URLs
7325 https://bugs.webkit.org/show_bug.cgi?id=28480
7327 A bunch of our LayoutTests rely on our old behavior, so we explicitly
7328 grant local files universal access during testing. Mainly, these tests
7329 involve making XMLHttpRequests for data URLs.
7331 * DumpRenderTree/mac/DumpRenderTree.mm:
7332 (resetDefaultsToConsistentValues):
7333 * DumpRenderTree/qt/DumpRenderTree.cpp:
7334 (WebCore::WebPage::WebPage):
7335 * DumpRenderTree/win/DumpRenderTree.cpp:
7336 (resetDefaultsToConsistentValues):
7338 2009-08-26 John Gregg <johnnyg@google.com>
7340 Reviewed by David Levin.
7342 Minor style correction and include fix for notifications
7343 https://bugs.webkit.org/show_bug.cgi?id=28745
7345 * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
7346 change to correct EnumStyle
7347 (DRTDesktopNotificationPresenter::checkNotificationPermission):
7349 2009-08-26 David Levin <levin@chromium.org>
7351 Reviewed by Alexey Proskuryakov.
7353 XMLHttpRequest.withCredentials=false shouldn't save cookies.
7354 https://bugs.webkit.org/show_bug.cgi?id=28743
7356 Added the support to the layout test controller on OSX and
7357 Windows (for CFNETWORK) to allow for changing the accept cookie
7360 * DumpRenderTree/LayoutTestController.cpp:
7361 (LayoutTestController::LayoutTestController): Added a bool
7362 to track the state of accepting cookies.
7363 (setAlwaysAcceptCookiesCallback): Standard wrapper method
7364 to go from js to a C++ method.
7365 (LayoutTestController::staticFunctions): Added the
7366 setAlwaysAcceptCookies method to the js layoutTestController.
7367 * DumpRenderTree/LayoutTestController.h:
7368 (LayoutTestController::alwaysAcceptCookies): Returns the value.
7369 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
7370 (LayoutTestController::setAlwaysAcceptCookies): Stub out method.
7371 * DumpRenderTree/mac/DumpRenderTree.mm:
7372 (resetDefaultsToConsistentValues): Reset the accept cookie to
7374 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7375 (LayoutTestController::setAlwaysAcceptCookies): Does the work for
7376 OSX to change the cookie accept policy.
7377 * DumpRenderTree/win/DumpRenderTree.cpp:
7378 (setAlwaysAcceptCookies): Method to handle all the calls necessary
7379 to change the accept cookie policy on Windows.
7380 (resetDefaultsToConsistentValues): Reset the accept cookie to
7382 * DumpRenderTree/win/DumpRenderTreeWin.h:
7383 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7384 (LayoutTestController::setAlwaysAcceptCookies): Stub out method.
7385 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
7386 (LayoutTestController::setAlwaysAcceptCookies): Stub out method.
7388 2009-08-26 Dimitri Glazkov <dglazkov@chromium.org>
7392 Remove accidentally left in clobber option.
7393 https://bugs.webkit.org/show_bug.cgi?id=28400
7395 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Removed clobber option.
7397 2009-08-26 Dimitri Glazkov <dglazkov@chromium.org>
7399 Reviewed by Mark Rowe.
7401 Add canary-style Chromium WebKit build slave to the waterfall.
7402 https://bugs.webkit.org/show_bug.cgi?id=28400
7404 * BuildSlaveSupport/build.webkit.org-config/config.json: Added one Chromium/Windows slave
7405 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added support for Chromium slave commands.
7407 2009-08-25 Cameron McCormack <cam@mcc.id.au>
7409 Reviewed by Darin Adler.
7411 make-script-test-wrappers should be executable
7412 https://bugs.webkit.org/show_bug.cgi?id=28669
7414 Make make-script-test-wrappers and update-sources-list.py both be
7417 * Scripts/update-sources-list.py:
7418 * Scripts/make-script-test-wrappers:
7420 2009-08-25 Brent Fulgham <bfulgham@webkit.org>
7424 Revise Debug_Cairo targets to point inherit from the
7425 debug_wincairo.vsprops property sheet so that they link
7426 against the proper libraries in Debug build.
7428 * DumpRenderTree/win/DumpRenderTree.vcproj:
7429 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
7430 * WinLauncher/WinLauncher.vcproj:
7432 2009-08-25 David Levin <levin@chromium.org>
7434 Reviewed by Adam Roben.
7436 PLATFORM(CFNETWORK) should be USE(CFNETWORK).
7437 https://bugs.webkit.org/show_bug.cgi?id=28713
7439 * DumpRenderTree/win/DumpRenderTree.cpp:
7442 2009-08-25 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
7444 Reviewed by Ariya Hidayat.
7446 [Qt/Mac] Use CONFIG+=build_all only when building libraries
7448 If no configuration is specified when building WebKit we pass the
7449 debug_and_release option to QMake which results in Makefiles for
7450 both configurations being generated.
7452 Previously we built both of these configurations by default, for
7453 all targets (both the QtWebKit framework/dyldlib and the various
7454 executables such as QtLauncher and tests). This makes sense for
7455 the libraries, which get the _debug suffix and can be loaded on
7456 demand by setting the DYLD_IMAGE_SUFFIX, but for executables we
7457 ended up building the same executable twice.
7459 We now only build one instance of each executable, and since this
7460 is a developer build we build the debug-version. Passing either
7461 --debug or --release to build-webkit will override this, and
7462 even in the default case the release version can still be built
7463 by running 'make release' in the the build directory of each
7466 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
7467 * Scripts/webkitdirs.pm:
7469 2009-08-24 Hironori Bono <hbono@chromium.org>
7471 Reviewed by Adam Barth.
7473 Fix Bug 27827 "[Chromium] Functions Keys don't work in google spreadsheet".
7474 <https://bugs.webkit.org/show_bug.cgi?id=27827>.
7476 Because of the lack of mappings from GDK key-codes to WebKit key-codes,
7477 Chromium cannot send valid key-codes to JavaScript when a user types
7478 function keys. This change just copies the mappings from 'KeyEventGtk.cpp'.
7480 To write layout tests for this issue, added mappings from function-key
7481 names to platform-specific key-codes to EventSendingController objects
7482 so that eventSender.keyDown() can send function-key events without using
7483 platform-specific key codes. (Unfortunately, this eventSender.keyDown() change
7484 is only for Mac. So this change adds this new test to Skipped tests for other
7485 platforms to prevent this change from crashing the build trees.)
7487 * DumpRenderTree/mac/EventSendingController.mm:
7488 (-[EventSendingController keyDown:withModifiers:]):
7490 2009-08-23 Jan Michael Alonzo <jmalonzo@webkit.org>
7492 Reviewed by Xan Lopez.
7494 [Gtk] API for disabling local file access to web URLs
7495 https://bugs.webkit.org/show_bug.cgi?id=28663
7497 Enable this setting for DRT.
7499 * DumpRenderTree/gtk/DumpRenderTree.cpp:
7500 (resetWebViewToConsistentStateBeforeTesting):
7502 2009-08-22 Adam Barth <abarth@webkit.org>
7504 Revert 47684. We're going to do this later once clients have had a
7505 chance to opt into the setting they like.
7507 * DumpRenderTree/mac/DumpRenderTree.mm:
7508 (resetDefaultsToConsistentValues):
7509 * DumpRenderTree/qt/DumpRenderTree.cpp:
7510 (WebCore::WebPage::WebPage):
7511 * DumpRenderTree/win/DumpRenderTree.cpp:
7512 (resetDefaultsToConsistentValues):
7514 2009-08-22 Adam Barth <abarth@webkit.org>
7516 Reviewed by Eric Seidel.
7518 Don't let local files access web URLs
7519 https://bugs.webkit.org/show_bug.cgi?id=28480
7521 A bunch of our LayoutTests rely on our old behavior, so we explicitly
7522 grant local files universal access during testing. Mainly, these tests
7523 involve making XMLHttpRequests for data URLs.
7525 * DumpRenderTree/mac/DumpRenderTree.mm:
7526 (resetDefaultsToConsistentValues):
7527 * DumpRenderTree/qt/DumpRenderTree.cpp:
7528 (WebCore::WebPage::WebPage):
7529 * DumpRenderTree/win/DumpRenderTree.cpp:
7530 (resetDefaultsToConsistentValues):
7532 2009-08-22 Mark Rowe <mrowe@apple.com>
7534 Rubber-stamped by Anders Carlsson.
7536 Bring signed updates to the Mac nightly builds.
7538 * WebKitLauncher/Info.plist:
7539 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
7540 * WebKitLauncher/WebKitNightlyEnablerSparkle.m:
7541 (initializeSparkle):
7542 * WebKitLauncher/nightly.webkit.org.public.pem: Added.
7544 2009-08-21 Jan Michael Alonzo <jmalonzo@webkit.org>
7546 Rubberstamped by Simon Fraser.
7548 Remove GNOME keyring support in build-webkit. This dependency's
7549 already been removed in the Gtk port.
7551 * Scripts/build-webkit:
7553 2009-08-20 Brian Weinstein <bweinstein@apple.com>
7555 Reviewed by Adam Roben.
7556 Based on original patch by Stephanie Lewis.
7558 Added support of the Windows malloc history format to parse-malloc history, so we can
7561 * Scripts/parse-malloc-history:
7563 2009-08-20 Chris Fleizach <cfleizach@apple.com>
7565 Reviewed by Darin Adler.
7567 Enable various "grouping" ARIA roles
7568 https://bugs.webkit.org/show_bug.cgi?id=28486
7570 Expose the ability to retrieve the subrole through accessibility for DRT.
7572 * DumpRenderTree/AccessibilityUIElement.cpp:
7573 * DumpRenderTree/AccessibilityUIElement.h:
7574 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
7575 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
7576 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
7578 2009-08-20 Joseph Pecoraro <joepeck@webkit.org>
7582 Added myself as a committer.
7584 * Scripts/modules/committers.py:
7586 2009-08-20 Xan Lopez <xlopez@igalia.com>
7588 Reviewed by Gustavo Noronha.
7592 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
7593 (LayoutTestController::whiteListAccessFromOrigin):
7594 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
7595 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
7597 2009-08-20 Eric Seidel <eric@webkit.org>
7599 Reviewed by Adam Barth.
7601 bugzilla-tool post-diff can post partial diffs from SVN checkouts.
7602 https://bugs.webkit.org/show_bug.cgi?id=28445
7604 Pass the checkout root as the cwd. Also wrote a test to ensure this.
7606 * Scripts/modules/scm.py:
7607 * Scripts/modules/scm_unittest.py:
7609 2009-08-20 Mark Rowe <mrowe@apple.com>
7611 Reviewed by Adele Peterson.
7613 Don't leak the JSStringRef returned by AccessibilityUIElement::attributeValue.
7615 * DumpRenderTree/AccessibilityUIElement.cpp:
7616 (attributeValueCallback):
7618 2009-08-20 Ariya Hidayat <ariya.hidayat@nokia.com>
7620 Unreviewed, build fix.
7622 [Qt] The template-based qMax() compares two qreals.
7624 * DumpRenderTree/qt/ImageDiff.cpp:
7627 2009-08-20 David Levin <levin@chromium.org>
7629 Reviewed by David Kilzer.
7631 bugzilla-tool patch retrieval should handle 302 redirects.
7632 https://bugs.webkit.org/show_bug.cgi?id=28485
7634 * Scripts/modules/scm.py: Pass the --location parameter to curl
7635 so that 302's are followed.
7637 2009-08-20 Aaron Boodman <aa@chromium.org>
7639 One more speculative build for gtk.
7641 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
7643 2009-08-20 Aaron Boodman <aa@chromium.org>
7645 Speculative build for gtk.
7647 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
7648 (LayoutTestController::whiteListAccessFromOrigin):
7650 2009-08-20 Mark Rowe <mrowe@apple.com>
7652 Ignore some leaks that are known to originate from ImageIO.
7654 * Scripts/run-webkit-tests:
7656 2009-08-20 Aaron Boodman <aa@chromium.org>
7660 Speculative build fix for qt.
7662 * DumpRenderTree/qt/jsobjects.cpp:
7663 (LayoutTestController::whiteListAccessFromOrigin):
7664 * DumpRenderTree/qt/jsobjects.h:
7666 2009-08-19 Mark Rowe <mrowe@apple.com>
7668 Reviewed by Dan Bernstein.
7670 Fix <http://webkit.org/b/28484> Plug-in-related leaks seen on the build bot
7672 Update check-for-global-initializers to accommodate the new uses of RefCountedLeakCounter in WebKit.
7674 * Scripts/check-for-global-initializers:
7676 2009-08-19 Aaron Boodman <aa@chromium.org>
7678 Reviewed by David Levin.
7680 https://bugs.webkit.org/show_bug.cgi?id=24853: Provide a way for WebKit clients to
7681 specify a more granular policy for cross-origin XHR access.
7683 * DumpRenderTree/LayoutTestController.cpp: Expose whiteListAccessFromOrigin() to layout tests.
7684 (whiteListAccessFromOriginCallback): Ditto.
7685 (LayoutTestController::staticFunctions): Ditto.
7686 * DumpRenderTree/LayoutTestController.h: Ditto.
7687 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Ditto.
7688 (LayoutTestController::whiteListAccessToOrigin): Ditto.
7689 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Ditto.
7690 (LayoutTestController::whiteListAccessFromOrigin): Ditto.
7691 * DumpRenderTree/qt/jsobjects.cpp: Ditto.
7692 (LayoutTestController::whiteListAccessFromOrigin): Ditto.
7693 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Stub out whiteListAccessFromOrigin().
7694 (LayoutTestController::whiteListAccessFromOrigin): Ditto.
7695 * DumpRenderTree/gtk/DumpRenderTree.cpp: Reset origin access lists before each test.
7696 (resetWebViewToConsistentStateBeforeTesting): Ditto.
7697 * DumpRenderTree/mac/DumpRenderTree.mm: Ditto.
7698 (resetWebViewToConsistentStateBeforeTesting): Ditto.
7699 * DumpRenderTree/qt/DumpRenderTree.cpp: Ditto.
7700 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): Ditto.
7702 2009-08-19 Mark Rowe <mrowe@apple.com>
7704 Rubber-stamped by Dan Bernstein.
7706 Ignore some leaks that are known to originate from QTKit.
7708 * Scripts/run-webkit-tests:
7710 2009-08-19 Eric Seidel <eric@webkit.org>
7712 Reviewed by Adam Barth.
7714 commit-queue/bugzilla-tool can get wedged if git is mid-rebase
7715 https://bugs.webkit.org/show_bug.cgi?id=28436
7717 Make clean_working_directory cancel rebases too (even though that's a bit of a hack).
7718 This code will only ever be run when --force-clean is passed.
7720 I also added a new unit test to make sure this code actually works. :)
7722 * Scripts/modules/scm.py:
7723 * Scripts/modules/scm_unittest.py:
7725 2009-08-19 Eric Seidel <eric@webkit.org>
7727 Reviewed by David Levin.
7729 WebKit needs a changelogs.py to hold changelog-related code
7730 https://bugs.webkit.org/show_bug.cgi?id=28477
7732 This is moving code and adding tests. There was only one functional
7733 change (which was removing a trailing newline from the last_entry() result).
7735 * Scripts/bugzilla-tool:
7736 * Scripts/modules/changelogs.py: Added.
7737 * Scripts/modules/changelogs_unittest.py: Added.
7738 * Scripts/run-webkit-unittests:
7740 2009-08-20 Eric Seidel <eric@webkit.org>
7742 Reviewed by Adam Barth.
7744 bugzilla-tool needs a way to ask build.webkit.org if the bots are passing
7745 https://bugs.webkit.org/show_bug.cgi?id=28222
7747 Basic support for now. This has been in testing for 24 hours now and worked great!
7749 * Scripts/bugzilla-tool:
7750 * Scripts/modules/buildbot.py: Added.
7751 * Scripts/modules/buildbot_unittest.py: Added.
7752 * Scripts/run-webkit-unittests:
7754 2009-08-19 Jan Michael Alonzo <jmalonzo@webkit.org>
7756 Reviewed by Gustavo Noronha.
7758 [Gtk] Bump waitToDumpWatchdog interval to 15 seconds to match the
7759 default timeout used by run-webkit-tests. Mac and Win ports were
7760 recently bumped in http://trac.webkit.org/changeset/r47465.
7762 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
7763 (LayoutTestController::setWaitToDump):
7765 2009-08-19 David D. Kilzer <ddkilzer@webkit.org>
7767 DumpRenderTreeSupport.pm: provide pre-generated swig source for Tiger
7769 Reviewed by Mark Rowe.
7771 Provide pre-generated swig source files for Tiger so it may
7772 benefit from the faster run-webkit-tests.
7774 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupportTiger.pm:
7776 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport_wrapTiger.c: Added.
7778 (swig_type_info::SWIG_TypeNameComp):
7779 (swig_type_info::SWIG_TypeEquiv):
7780 (swig_type_info::SWIG_TypeRegisterTL):
7781 (swig_type_info::SWIG_TypeCheck):
7782 (swig_type_info::SWIG_TypeCast):
7783 (swig_type_info::SWIG_TypeDynamicCast):
7784 (swig_type_info::SWIG_TypeName):
7785 (swig_type_info::SWIG_TypePrettyName):
7786 (swig_type_info::SWIG_TypeQueryTL):
7787 (swig_type_info::SWIG_TypeClientDataTL):
7788 (swig_type_info::SWIG_PackData):
7789 (swig_type_info::SWIG_UnpackData):
7790 (swig_type_info::SWIG_PropagateClientDataTL):
7791 (swig_type_info::SWIG_PackVoidPtr):
7792 (swig_type_info::SWIG_UnpackVoidPtr):
7793 (swig_type_info::SWIG_PackDataName):
7794 (swig_type_info::SWIG_UnpackDataName):
7795 * DumpRenderTree/mac/PerlSupport/Makefile: Updated to build on
7796 Tiger using pre-generated files.
7798 2009-08-18 Shinichiro Hamaji <hamaji@chromium.org>
7800 Reviewed by David Kilzer.
7802 run-webkit-tests hangs when WebCore tries to log too much
7803 https://bugs.webkit.org/show_bug.cgi?id=15743
7805 Read stdout and stderr in parallel.
7807 * Scripts/run-webkit-tests:
7809 2009-08-18 Mark Rowe <mrowe@apple.com>
7811 Rubber-stamped by Oliver Hunt.
7813 Add a new build configuration that checks for leaks during the layout tests,
7814 and hook a new machine up to it.
7816 * BuildSlaveSupport/build.webkit.org-config/config.json:
7817 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
7819 2009-08-18 Aaron Boodman <aa@chromium.org>
7821 Reviewed by Maciej Stachowiak.
7823 https://bugs.webkit.org/show_bug.cgi?id=28412: Leak of WebCore::XMLHttpRequest object during layout tests.
7825 No new tests: Already covered by existing tests.
7827 * Scripts/check-for-global-initializers: Allow global initialization of WTF::RefCountedLeakCounter for XMLHttpRequest.
7829 2009-08-18 Mark Rowe <mrowe@apple.com>
7831 Rubber-stamped by Geoff Garen.
7833 Bump waitToDumpWatchdogInterval to 15 seconds to match the time-out used by run-webkit-tests.
7835 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7836 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7838 2009-08-18 Brian Weinstein <bweinstein@apple.com>
7840 Rubber-stamped by Adam Roben.
7842 Changed use of CComBSTR in exceededDatabaseQuota to BSTRs, and free them,
7843 and removed include to fix building on VC++ Express.
7845 * DumpRenderTree/win/UIDelegate.cpp:
7846 (UIDelegate::exceededDatabaseQuota):
7848 2009-08-18 Brian Weinstein <bweinstein@apple.com>
7850 Reviewed by Oliver Hunt.
7852 Fix of <https://bugs.webkit.org/show_bug.cgi?id=28326> DRT on Windows doesn't support
7853 LayoutTestController::setQuota or print a callback on UIDelegate::exceededDatabaseQuota.
7855 Implemenent setDatabaseQuota and added a new function to the IWebDatabaseManager interface.
7856 Also added a console output on UIDelegate::exceededDatabaseQuota to match the mac.
7858 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7859 (LayoutTestController::setDatabaseQuota):
7860 * DumpRenderTree/win/UIDelegate.cpp:
7861 (UIDelegate::exceededDatabaseQuota):
7863 2009-08-18 Peter Kasting <pkasting@google.com>
7865 Reviewed by Eric Seidel.
7867 https://bugs.webkit.org/show_bug.cgi?id=28415
7868 Set svn:eol-style CRLF on all .sln and .vcproj files that don't already
7871 * record-memory-win/record-memory-win.vcproj:
7872 * WinLauncher/WinLauncher.vcproj:
7873 * WebKitLauncherWin/WebKitLauncherWin.vcproj:
7874 * DumpRenderTree/win/ImageDiff.vcproj:
7875 * FindSafari/FindSafari.vcproj:
7877 2009-08-18 Drew Wilson <atwilson@google.com>
7879 Reviewed by Eric Seidel.
7881 Need to extend DumpRenderTree to expose number of worker threads
7882 https://bugs.webkit.org/show_bug.cgi?id=28292
7884 Added layoutTestController.workerThreadCount, and implementations on various platforms that call into WebKit.
7886 * DumpRenderTree/LayoutTestController.cpp:
7887 (getWorkerThreadCountCallback):
7888 (LayoutTestController::staticValues):
7889 * DumpRenderTree/LayoutTestController.h:
7890 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
7891 (LayoutTestController::workerThreadCount):
7892 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7893 (LayoutTestController::workerThreadCount):
7894 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7895 (LayoutTestController::workerThreadCount):
7896 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
7897 (LayoutTestController::workerThreadCount):
7899 2009-08-18 Xan Lopez <xlopez@igalia.com>
7901 Reviewed by Jan Alonzo.
7903 Initialize x and y in the GtkAllocation structure to shut up
7906 * DumpRenderTree/gtk/DumpRenderTree.cpp:
7909 2009-08-17 Shinichiro Hamaji <hamaji@chromium.org>
7911 Reviewed by Darin Adler.
7913 Some HTMLs are modified by make-script-test-wrappers
7914 https://bugs.webkit.org/show_bug.cgi?id=28213
7916 Add fast/js/const.js and fast/canvas/canvas-2d-imageData-create-nonfinite.js into
7917 the exclude list, modified fast/dom/Geolocation/resources/TEMPLATE.html, and
7918 re-generated wml/* and Geolocation/* .
7920 * Scripts/make-script-test-wrappers:
7922 2009-08-17 Shinichiro Hamaji <hamaji@chromium.org>
7924 Reviewed by Eric Seidel.
7926 -webkit-box-orient:horizontal doesn't work on <button> tag
7927 https://bugs.webkit.org/show_bug.cgi?id=34445
7929 Make a flexible button's anonymous child flexible and pass the
7930 parent's box-orient to the anonymous child.
7932 Also, added a renderName for anonymous flexible boxes.
7934 * Scripts/make-script-test-wrappers:
7936 2009-08-17 Eric Seidel <eric@webkit.org>
7938 Reviewed by Darin Adler.
7940 Can no longer --reset-results of a layout test directory
7941 https://bugs.webkit.org/show_bug.cgi?id=28336
7943 --reset-results and --exit-after-n-failures are incompatible.
7945 * Scripts/run-webkit-tests:
7947 2009-08-17 David Kilzer <ddkilzer@apple.com>
7949 <http://webkit.org/b/26920> bugzilla-tool dumps too much junk the the commit comment from git
7951 Reviewed by Adam Roben.
7954 Committed r12345: <http://trac.webkit.org/changeset/12345>
7956 * Scripts/bugzilla-tool:
7957 (bug_comment_from_commit_text): Print out a compact,
7958 standardized commit message for both git and svn.
7960 2009-08-17 Peter Kasting <pkasting@google.com>
7962 Reviewed by Steve Falkenburg.
7964 https://bugs.webkit.org/show_bug.cgi?id=27323
7965 Only add Cygwin to the path when it isn't already there. This avoids
7966 causing problems for people who purposefully have non-Cygwin versions of
7967 executables like svn in front of the Cygwin ones in their paths.
7969 * DumpRenderTree/win/DumpRenderTree.vcproj:
7970 * DumpRenderTree/win/ImageDiff.vcproj:
7971 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
7973 2009-08-17 David Kilzer <ddkilzer@apple.com>
7975 <http://webkit.org/b/28393> check-webkit-style: add check for use of std::max()/std::min() instead of MAX()/MIN()
7977 Reviewed by David Levin.
7979 * Scripts/modules/cpp_style.py:
7980 (_ERROR_CATEGORIES): Added 'runtime/max_min_macros'.
7981 (check_max_min_macros): Added. Returns level 4 error when MAX()
7982 and MIN() macros are used in header files and C++ source files.
7983 (check_style): Added call to check_max_min_macros().
7984 * Scripts/modules/cpp_style_unittest.py: Added unit tests.
7985 (test_max_macro): Added.
7986 (test_min_macro): Added.
7988 2009-08-13 Mike Fenton <mike.fenton@torchmobile.com>
7990 Reviewed by Eric Seidel.
7992 Move adjustLineToPixelBoundaries overlapping function to GraphicsContext.cpp
7993 and remove from GraphicsContextCairo.cpp and GraphicsContextQt.cpp.
7995 https://bugs.webkit.org/show_bug.cgi?id=28268
7997 * platform/graphics/GraphicsContext.cpp:
7998 (WebCore::GraphicsContext::adjustLineToPixelBoundaries):
7999 * platform/graphics/GraphicsContext.h:
8000 * platform/graphics/cairo/GraphicsContextCairo.cpp:
8001 * platform/graphics/qt/GraphicsContextQt.cpp:
8003 2009-08-10 Mike Fenton <mike.fenton@torchmobile.com>
8005 Reviewed by Adam Treat.
8007 Style fixes for DumpRenderTree/qt/jsobjects.cpp based on cpp_style.py and
8010 https://bugs.webkit.org/show_bug.cgi?id=28161
8012 * DumpRenderTree/qt/jsobjects.cpp:
8015 (LayoutTestController::provisionalLoad):
8016 (LayoutTestController::timerEvent):
8017 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
8018 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
8019 (LayoutTestController::numberOfActiveAnimations):
8020 (EventSender::keyDown):
8021 (EventSender::frameUnderMouse):
8022 (TextInputController::doCommand):
8024 2009-08-16 David Kilzer <ddkilzer@apple.com>
8026 <http://webkit.org/b/28370> check-webkit-style: add check for 'using std::foo;' statements
8028 Reviewed by David Levin.
8030 In <http://webkit.org/b/28355#c1>, it was noted that new source
8031 files use 'using namespace std;' instead of individual
8032 'using std::foo;' statements. This adds a level 4 check for
8035 * Scripts/modules/cpp_style.py:
8036 (_ERROR_CATEGORIES): Added 'build/using_std'.
8037 (check_using_std): Added.
8038 (check_style): Added call to check_using_std().
8039 * Scripts/modules/cpp_style_unittest.py:
8040 (WebKitStyleTest.test_using_std): Added unit test.
8042 2009-08-16 David Kilzer <ddkilzer@apple.com>
8044 Backed out r47343 which was mistakenly committed
8046 * Scripts/bugzilla-tool:
8047 * Scripts/modules/scm.py:
8049 2009-08-16 David Kilzer <ddkilzer@apple.com>
8051 <http://webkit.org/b/28367> bugzilla.py: replace ScriptError class with BugzillaError class
8053 Reviewed by David Levin.
8055 The ScriptError class doesn't exist in bugzilla.py, so any
8056 errors print error messages about ScriptError instead of the
8059 NameError: global name 'ScriptError' is not defined
8061 * Scripts/modules/bugzilla.py:
8062 (BugzillaError): Added class. Modeled after ScriptError class
8064 (Bugzilla.authenticate): Changed to use BugzillaError instead of
8066 (Bugzilla._check_create_bug_response): Ditto.
8068 2009-08-14 Adam Bergkvist <adam.bergkvist@ericsson.com>
8070 Reviewed by Sam Weinig.
8072 Added EventSource to the build script (default on).
8073 https://bugs.webkit.org/show_bug.cgi?id=14997
8075 * Scripts/build-webkit:
8077 2009-08-15 Ryosuke Niwa <rniwa@webkit.org>
8081 Add myself to list of committers.
8083 * Scripts/modules/committers.py:
8085 2009-08-15 Jon Honeycutt <jhoneycutt@apple.com>
8087 Fix layout test failures after r47312.
8089 Reviewed by Cameron Zwarich.
8091 * DumpRenderTree/AccessibilityController.h:
8092 Replaced logFocusEvents() with setLogFocusEvents(), which takes a
8093 boolean argument to turn logging of focus events on or off.
8094 Added a function to reset the AccessibilityController to a consistent
8097 * DumpRenderTree/AccessibilityController.cpp:
8098 (logFocusEventsCallback):
8099 Call setLogFocusEvents() to enable logging.
8100 (AccessibilityController::resetToConsistentState):
8101 Call setLogFocusEvents() to disable logging.
8103 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
8104 (AccessibilityController::setLogFocusEvents):
8107 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
8108 (AccessibilityController::setLogFocusEvents):
8111 * DumpRenderTree/mac/DumpRenderTree.mm:
8112 (resetWebViewToConsistentStateBeforeTesting):
8113 Call the FrameLoadDelegate's resetToConsistentState method.
8115 * DumpRenderTree/mac/FrameLoadDelegate.h:
8116 Declare the resetToConsistentState method.
8118 * DumpRenderTree/mac/FrameLoadDelegate.mm:
8119 (-[FrameLoadDelegate resetToConsistentState]):
8120 Call the AccessibilityController's resetToConsistentState() function.
8122 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
8123 (AccessibilityController::~AccessibilityController):
8124 Turn off focus event logging when the controller is destroyed.
8125 (AccessibilityController::setLogFocusEvents):
8126 If the caller passes false, unhook the focus event, and clear
8129 * DumpRenderTree/win/DumpRenderTree.cpp:
8130 (resetWebViewToConsistentStateBeforeTesting):
8131 Call the FrameLoadDelegate's resetToConsistentState function.
8133 * DumpRenderTree/win/FrameLoadDelegate.h:
8134 Declare the resetToConsistentState() function.
8136 * DumpRenderTree/win/FrameLoadDelegate.cpp:
8137 (FrameLoadDelegate::resetToConsistentState):
8138 Call the AccessibilityController's resetToConsistentState() function.
8141 2009-08-14 Jon Honeycutt <jhoneycutt@apple.com>
8143 Add a mechanism for logging MSAA focus events.
8145 Part of <rdar://problem/6218721> No MSAA focus events fired for Webkit
8148 https://bugs.webkit.org/show_bug.cgi?id=20866
8150 Reviewed by Oliver Hunt.
8152 * DumpRenderTree/AccessibilityController.cpp:
8153 (logFocusEventsCallback):
8154 Call the AccessibilityController's logFocusEvents() function.
8155 (AccessibilityController::getJSClass):
8156 Add a "logFocusEvents" function to the AccessibilityController's JS
8159 * DumpRenderTree/AccessibilityController.h:
8160 On Windows, include windows.h, and add a member variable to hold the
8161 handle to the event hook for focus events. Add a declaration for a
8162 function that enables logging of focus events.
8164 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
8165 (AccessibilityController::logFocusEvents):
8168 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
8169 (AccessibilityController::logFocusEvents):
8172 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
8173 (AccessibilityController::AccessibilityController):
8174 (AccessibilityController::~AccessibilityController):
8175 If we hooked the focus event, unhook it.
8176 (logFocusEventProc):
8177 When we receive a focus event, get the accessible object for the event,
8178 and log its name to stdout.
8179 (AccessibilityController::logFocusEvents):
8180 Setup the focus event hook to listen for events in the current process.
8182 2009-08-14 Eric Seidel <eric@webkit.org>
8184 No review. Fix 5-space indent to be 4-spaces.
8186 * Scripts/bugzilla-tool:
8188 2009-08-14 Laszlo Gombos <laszlo.1.gombos@nokia.com>
8190 Reviewed by Simon Hausmann.
8192 [Qt] Public API to configure the storage path for HTML5 localStorage
8193 https://bugs.webkit.org/show_bug.cgi?id=28036
8195 Turn on LocalStorage support for Qt DumpRenderTree since
8196 LocalStorage is now disabled by defult for QtWebkit.
8198 * DumpRenderTree/qt/DumpRenderTree.cpp:
8199 (WebCore::WebPage::WebPage):
8201 2009-08-14 Xan Lopez <xlopez@igalia.com>
8203 Reviewed by Jan Alonzo.
8205 Do not unref the main webview, it's owned by its parent
8206 container. Instead destroy the container, which should take care
8207 of everything (not terribly important since we exit right after
8210 * DumpRenderTree/gtk/DumpRenderTree.cpp:
8213 2009-08-13 Eric Seidel <eric@webkit.org>
8215 No review, correcting obvious python error seen in the commit queue.
8217 args can be a string or an array. Assuming args is always an array results in
8218 double-spaced text in error logs.
8220 * Scripts/bugzilla-tool:
8222 2009-08-13 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
8224 Unreviewed build fix. Include stdio.h for using stdout, stderr,
8227 * DumpRenderTree/LayoutTestController.cpp:
8229 2009-08-13 Shinichiro Hamaji <hamaji@chromium.org>
8231 Reviewed by Eric Seidel.
8233 rename make-js-test-wrappers to make-script-test-wrappers
8234 https://bugs.webkit.org/show_bug.cgi?id=28212
8236 * Scripts/make-script-test-wrappers: Renamed from WebKitTools/Scripts/make-js-test-wrappers.
8238 2009-08-13 Drew Wilson <atwilson@chromium.org>
8242 Add myself to list of committers.
8244 * Scripts/modules/committers.py:
8246 2009-08-13 John Sullivan <sullivan@apple.com>
8250 Add myself to list of committers.
8252 * Scripts/modules/committers.py:
8254 2009-08-13 Eric Seidel <eric@webkit.org>
8256 Correct spelling error in file name. No review.
8258 * Scripts/modules/committers_unittest.py: Renamed from WebKitTools/Scripts/modules/commiters_unittest.py.
8259 * Scripts/run-webkit-unittests:
8261 2009-08-13 Eric Seidel <eric@webkit.org>
8263 Reviewed by Simon Fraser.
8265 REGRESSION(r47175): error running run-webkit-tests
8266 https://bugs.webkit.org/show_bug.cgi?id=28261
8268 Fix "Use of uninitialized value in concatenation (.) or string at
8269 WebKitTools/Scripts/run-webkit-tests line 191." by setting
8270 $testsPerDumpTool to 1000 by default.
8272 * Scripts/run-webkit-tests:
8274 2009-08-13 Nate Chapin <japhet@chromium.org>
8278 Add myself to list of committers.
8280 * Scripts/modules/committers.py:
8282 2009-08-13 Brent Fulgham <bfulgham@webkit.org>
8286 Add 'Brent Fulgham' to the committers list.
8288 * Scripts/modules/committers.py:
8290 2009-08-13 Adam Langley <agl@chromium.org>
8292 Review not required.
8294 * Scripts/modules/committers.py:
8295 Adding myself to this list because Eric told me to.
8297 2009-08-13 Greg Bolsinga <bolsinga@apple.com>
8301 Add 'Greg Bolsinga' to the committers list.
8303 * Scripts/modules/committers.py:
8305 2009-08-13 Adam Roben <aroben@apple.com>
8307 Fix off-by-one result comparisons in media tests on Windows Debug
8310 media/video-played.html seems always to time out in Windows Debug
8311 builds. A race condition between media/video-test.js's "hang" timer and
8312 DumpRenderTree's built-in "watchdog" timer was causing results for
8313 media/video-played.html to be printed twice, causing all future media
8314 tests to be compared to the previous test's results.
8316 The fix is to make the watchdog timer got through the same code path
8317 as calling notifyDone manually, so that the results will only get
8318 printed once. A subsequent patch will remove video-test.js's hang
8319 timer entirely, since it is redundant.
8321 Fixes <http://webkit.org/b/28265>.
8323 Reviewed by Mark Rowe.
8325 * DumpRenderTree/LayoutTestController.cpp:
8326 (LayoutTestController::waitToDumpWatchdogTimerFired): Added. Code came
8327 from Gtk/Mac/Win's watchdog timer handlers, but we now call
8328 notifyDone() instead of dump() so that a subsequent call to
8329 notifyDone() won't print the results out again.
8331 * DumpRenderTree/LayoutTestController.h: Added
8332 waitToDumpWatchdogTimerFired.
8334 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
8335 (waitToDumpWatchdogFired):
8336 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
8337 (waitUntilDoneWatchdogFired):
8338 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8339 (waitUntilDoneWatchdogFired):
8340 Changed to call waitToDumpWatchdogTimerFired.
8342 2009-08-13 Eric Carlson <eric.carlson@apple.com>
8346 Added 'Eric Carlson' to the committers list.
8348 * Scripts/modules/committers.py:
8350 2009-08-13 Dirk Schulze <krit@webkit.org>
8353 Added 'Dirk Schulze' to the committers list.
8355 * Scripts/modules/committers.py:
8357 2009-08-13 Adam Roben <aroben@apple.com>
8359 Enable running testapi in run-javascriptcore-tests on Windows
8361 Fixes <http://webkit.org/b/24856> run-javascriptcore-tests should run
8364 Reviewed by Mark Rowe.
8366 * Scripts/run-javascriptcore-tests: Allow testapi to run if we're in
8367 the AppleWinWebKit configuration.
8369 2009-08-13 Adam Roben <aroben@apple.com>
8371 Re-enable testapi in run-javascriptcore-tests on Mac
8373 This seems to have been mistakenly disabled in r47089.
8375 Rubber-stamped by Mark Rowe.
8377 * Scripts/run-javascriptcore-tests: Removed comment markers that were
8378 preventing running testapi.
8380 2009-08-12 George Staikos <george.staikos@torchmobile.com>
8382 Reviewed by Adam Treat.
8384 Enable WCSS and XHTML-MP flags for build-webkit.
8386 * Scripts/build-webkit:
8388 2009-08-12 David Kilzer <ddkilzer@apple.com>
8390 run-webkit-tests: document --nthly flag in help message
8392 Reviewed by Simon Fraser.
8394 * Scripts/run-webkit-tests: Added --nthly flag to $usage string.
8395 Also noted that -1|--singly implies --nthly 1.
8397 2009-08-12 Eric Seidel <eric@webkit.org>
8399 No review, just fixing mismerged ChangeLogs.
8401 2009-08-12 Eric Seidel <eric@webkit.org>
8403 Reviewed by Mark Rowe.
8405 run-webkit-tests needs a --exit-after-failures=N option
8406 https://bugs.webkit.org/show_bug.cgi?id=28192
8408 Added the option and deployed it to bugzilla-tool.
8410 * Scripts/bugzilla-tool:
8411 * Scripts/run-webkit-tests:
8413 2009-08-11 Eric Seidel <eric@webkit.org>
8415 Reviewed by Mark Rowe.
8417 bugzilla-tool : various improvements for running the commit-queue
8418 https://bugs.webkit.org/show_bug.cgi?id=28199
8420 Make run_and_throw_if_fail silence STDERR as well as STDIN.
8421 I also changed run_and_throw_if_fail to use the /dev/null trick instead of .communicate() to avoid ever buffering the output (per abarth's suggestion).
8422 Change a few "print" statements to "log" so they appear in the output.
8423 Changed all string + uses to use string formatting instead (this is less error prone as it will automatically convert non-string objects).
8424 Added a little more logging so that --quiet mode is easier to understand.
8425 Changed clear_attachment_review_flag to clear_attachment_flags and made it clear the commit-queue flag as well.
8426 Added the ability for bugzilla-tool to reject patches from the commit-queue when they fail to compile/apply/etc.
8427 Added _find_select_element_for_flag to make the code for finding flag <select> elements clearer.
8428 Made curl call (downloading patch files) quieter.
8430 * Scripts/bugzilla-tool:
8431 * Scripts/modules/bugzilla.py:
8432 * Scripts/modules/scm.py:
8434 2009-08-12 Peter Kasting <pkasting@google.com>
8436 Reviewed by Darin Adler.
8438 https://bugs.webkit.org/show_bug.cgi?id=27323
8439 Change pattern that strips all trailing whitespace to just remove EOL
8440 chars (\r, \n), to make it clear that varying EOL chars is the primary
8441 problem being solved.
8443 * Scripts/prepare-ChangeLog:
8444 * Scripts/resolve-ChangeLogs:
8445 * Scripts/svn-create-patch:
8446 * Scripts/update-webkit:
8448 2009-08-12 Kevin Ollivier <kevino@theolliviers.com>
8450 wx waf build fix, add new directories to the build.
8452 * wx/build/settings.py:
8454 2009-08-11 Adam Roben <aroben@apple.com>
8456 Update DumpRenderTree for IWebUIDelegatePrivate changes
8458 Reviewed by Dave Hyatt.
8460 * DumpRenderTree/win/UIDelegate.h: Updated to match
8461 IWebUIDelegatePrivate.
8463 2009-08-12 Adam Roben <aroben@apple.com>
8465 Don't try to seek to the end of stdin on Cygwin
8467 Doing so seems to always cause an exception (for unknown reasons).
8469 Fixes <http://webkit.org/b/28159> create-bug throws an exception in
8472 Reviewed by Dave Kilzer.
8474 * Scripts/bugzilla-tool:
8475 (CreateBug.prompt_for_bug_title_and_comments): Ignore IOErrors
8476 generated by calling sys.stdin.seek, since these seem to be generated
8477 for no good reason on Cygwin.
8479 2009-08-12 Adam Roben <aroben@apple.com>
8481 Don't raise an exception when --cc is not passed to create-bug
8483 Fixes <http://webkit.org/b/28158> create-bug throws an exception if
8484 --cc is not specified
8486 Reviewed by Dave Kilzer.
8488 * Scripts/modules/bugzilla.py:
8489 (Bugzilla.create_bug_with_patch): Only set the "cc" field if a CC
8490 string was specified. Otherwise we'll generate an exception about the
8491 "cc" variable not being a string.
8493 2009-08-11 Eric Seidel <eric@webkit.org>
8495 Reviewed by Adam Barth.
8497 bugzilla-tool : various improvements for running the commit-queue
8498 https://bugs.webkit.org/show_bug.cgi?id=28199
8500 Make run_and_throw_if_fail silence STDERR as well as STDIN.
8501 I also changed run_and_throw_if_fail to use the /dev/null trick instead of .communicate() to avoid ever buffering the out
8502 Change a few "print" statements to "log" so they appear in the output.
8503 Changed all string + uses to use string formatting instead (this is less error prone as it will automatically convert non
8504 Added a little more logging so that --quiet mode is easier to understand.
8505 Changed clear_attachment_review_flag to clear_attachment_flags and made it clear the commit-queue flag as well.
8506 Added the ability for bugzilla-tool to reject patches from the commit-queue when they fail to compile/apply/etc.
8507 Added _find_select_element_for_flag to make the code for finding flag <select> elements clearer.
8508 Made curl call (downloading patch files) quieter.
8510 * Scripts/bugzilla-tool:
8511 * Scripts/modules/bugzilla.py:
8512 * Scripts/modules/scm.py:
8514 2009-08-11 Eric Seidel <eric@webkit.org>
8516 No review, script regression fix only.
8518 run-webkit-tests --quiet hangs
8519 https://bugs.webkit.org/show_bug.cgi?id=28202
8521 Do a huge dance to get open3 to pipe to /dev/null w/o blocking.
8522 This was what I came up with after discussions in #perl.
8524 * Scripts/run-webkit-tests:
8526 2009-08-11 John Gregg <johnnyg@google.com>
8528 Reviewed by Maciej Stachowiak.
8530 Switch DumpRenderTree to contain a WebUIDelegate2, which extends
8531 WebUIDelegate, so that the notifications tests will still work.
8532 https://bugs.webkit.org/show_bug.cgi?id=28198
8534 * DumpRenderTree/win/UIDelegate.h:
8536 2009-08-11 Darin Adler <darin@apple.com>
8538 Try to fix GTK build.
8540 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
8541 (AccessibilityUIElement::stringForRange): Added.
8543 2009-08-10 Mike Fenton <mike.fenton@torchmobile.com>
8545 Reviewed by Adam Treat.
8547 Add processing for string constants used by the tests to trigger
8548 common actions like up, down, left, right, etc. for the Qt
8549 implementation of DumpRenderTree.
8551 Note this allows fast/forms/textarea-arrow-navigation.html to pass
8554 https://bugs.webkit.org/show_bug.cgi?id=28161
8556 * DumpRenderTree/qt/jsobjects.cpp:
8557 (EventSender::keyDown):
8559 2009-08-11 Chris Fleizach <cfleizach@apple.com>
8561 Reviewed by Darin Adler.
8563 Bug 28200 - ListMarker should be included as part of the text value to parse
8564 https://bugs.webkit.org/show_bug.cgi?id=28200
8566 Add the ability to retrieve a string given a plain NSRange.
8568 * DumpRenderTree/AccessibilityUIElement.cpp:
8569 (stringForRangeCallback):
8570 (AccessibilityUIElement::getJSClass):
8571 * DumpRenderTree/AccessibilityUIElement.h:
8572 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
8573 (AccessibilityUIElement::valueDescription):
8574 (AccessibilityUIElement::stringForRange):
8575 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
8576 (AccessibilityUIElement::stringForRange):
8578 2009-08-11 Dmitry Titov <dimich@chromium.org>
8580 Reviewed by NOBODY (Speculative fix for the layout test failure).
8582 Fix fast/dom/prototype-inheritance.html
8583 and fast/dom/prototype-inheritance-2.html
8584 broken on Windows by http://trac.webkit.org/changeset/47018
8586 * DumpRenderTree/win/DumpRenderTree.cpp:
8587 (resetDefaultsToConsistentValues): enable app cache in Windows DRT.
8589 2009-08-11 Eric Seidel <eric@webkit.org>
8591 Reviewed by Adam Barth.
8593 bugzilla-tool: Re-factor shared landing logic into helper class to share more code
8594 https://bugs.webkit.org/show_bug.cgi?id=28193
8596 Added new WebKitLandingScripts class to hold this shared logic.
8597 Also added a view_source_url function to move more webkit-specific urls out of bugzilla-tool core.
8599 * Scripts/bugzilla-tool:
8601 2009-08-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
8603 Reviewed by Adam Treat.
8605 Fix the current failures on the buildbot.
8607 As Qt hooks up the maybeDump to loadFinished, we need to make
8608 sure that calling dump() will not call maybeDump on loadFinished.
8610 As dump is called my emitting done() which calls dump() and then
8611 setting m_isLoading to false. So in the case m_isLoading is false,
8614 The current code is confusing, and should be made more clear
8617 * DumpRenderTree/qt/jsobjects.cpp:
8618 (LayoutTestController::maybeDump):
8619 (LayoutTestController::notifyDone):
8621 2009-08-11 John Gregg <johnnyg@google.com>
8623 Reviewed by Maciej Stachowiak.
8625 Add support for desktop notifications API to DumpRenderTree,
8626 and support for ENABLE_NOTIFICATIONS flag to build-webkit.
8628 * DumpRenderTree/LayoutTestController.cpp:
8629 (grantDesktopNotificationPermissionCallback):
8630 (LayoutTestController::staticFunctions):
8631 (LayoutTestController::grantDesktopNotificationPermission):
8632 (LayoutTestController::checkDesktopNotificationPermission):
8633 * DumpRenderTree/LayoutTestController.h:
8634 * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp: Added.
8635 (DRTDesktopNotificationPresenter::DRTDesktopNotificationPresenter):
8636 (DRTDesktopNotificationPresenter::QueryInterface):
8637 (DRTDesktopNotificationPresenter::AddRef):
8638 (DRTDesktopNotificationPresenter::Release):
8639 (DRTDesktopNotificationPresenter::showDesktopNotification):
8640 (DRTDesktopNotificationPresenter::cancelDesktopNotification):
8641 (DRTDesktopNotificationPresenter::notificationDestroyed):
8642 (DRTDesktopNotificationPresenter::checkNotificationPermission):
8643 (DRTDesktopNotificationPresenter::requestNotificationPermission):
8644 * DumpRenderTree/win/DRTDesktopNotificationPresenter.h: Added.
8645 * DumpRenderTree/win/DumpRenderTree.vcproj:
8646 * DumpRenderTree/win/UIDelegate.cpp:
8647 (UIDelegate::UIDelegate):
8648 (UIDelegate::desktopNotificationsDelegate):
8649 * DumpRenderTree/win/UIDelegate.h:
8650 * Scripts/build-webkit:
8652 2009-08-11 Peter Kasting <pkasting@google.com>
8654 Reviewed by Darin Adler.
8656 https://bugs.webkit.org/show_bug.cgi?id=27323
8657 Handle arbitrary line endings when manufacturing patches for additions
8660 * Scripts/svn-create-patch:
8662 2009-08-11 Peter Kasting <pkasting@google.com>
8664 Reviewed by Darin Adler.
8666 https://bugs.webkit.org/show_bug.cgi?id=28183
8667 Support VS2008 as well as VS2005 in a few scripts.
8669 * Scripts/pdevenv: Check both $VS80COMNTOOLS and $VS90COMNTOOLS.
8670 * Scripts/webkitdirs.pm: Use $VSINSTALLDIR if available instead of hardcoding the VS2005 dir.
8672 2009-08-11 Eric Seidel <eric@webkit.org>
8674 Reviewed by Adam Barth.
8676 run-webkit-tests --quiet should not output build-dumprendertree output
8677 https://bugs.webkit.org/show_bug.cgi?id=28189
8679 * Scripts/run-webkit-tests:
8681 2009-08-11 Eric Seidel <eric@webkit.org>
8683 Reviewed by Darin Adler.
8685 Exception in land-patches
8686 https://bugs.webkit.org/show_bug.cgi?id=27962
8688 Use ("%s" % object) instead of ("" + object).
8689 Added unit tests for logging.py.
8691 * Scripts/modules/logging.py:
8692 * Scripts/modules/logging_unittest.py: Added.
8693 * Scripts/run-webkit-unittests:
8695 2009-08-11 Dmitry Titov <dimich@chromium.org>
8697 Reviewed by NOBODY (Windows layout tests fix).
8699 Fix for layout tests failures. Need to initialize some preferences early
8700 because WebView on Windows uses them during create time.
8702 * DumpRenderTree/win/DumpRenderTree.cpp:
8705 2009-08-11 Dmitry Titov <dimich@chromium.org>
8707 Reviewed by Adam Roben.
8709 Originally implemented by Glenn Wilson <gwilson@chromium.org>.
8711 Added support for overriding default preferences per-test.
8712 See https://bugs.webkit.org/show_bug.cgi?id=20534
8714 * DumpRenderTree/LayoutTestController.cpp:
8715 (overridePreferenceCallback): add wiring for layoutTestController.overridePreference.
8716 (LayoutTestController::staticFunctions): same.
8717 * DumpRenderTree/LayoutTestController.h: same.
8718 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
8719 (LayoutTestController::overridePreference): added empty overridePreference method.
8720 * DumpRenderTree/mac/DumpRenderTree.mm: implemented preference override.
8721 (resetDefaultsToConsistentValues): new method, resets preferences to same set of value before every test.
8722 (setDefaultsToConsistentValuesForTesting): new method, sets other details of testing environment, every time DRT starts.
8723 (resetWebViewToConsistentStateBeforeTesting): move some preference setting from here to new resetDefaultsToConsistentValues().
8724 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
8725 (LayoutTestController::overridePreference):
8726 * DumpRenderTree/win/DumpRenderTree.cpp:
8727 (resetDefaultsToConsistentValues): new method, resets preferences to same set of value before every test.
8728 (resetWebViewToConsistentStateBeforeTesting): move some preference setting from here to new resetDefaultsToConsistentValues().
8729 (createWebViewAndOffscreenWindow): same.
8731 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8732 (LayoutTestController::overridePreference):
8733 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
8734 (LayoutTestController::overridePreference):
8736 2009-08-11 Brian Weinstein <bweinstein@apple.com>
8738 Reviewed by Sam Weinig.
8740 Added support for DRT to support arguments for eventSender.mouseDown and eventSender.mouseUp for Windows.
8741 https://bugs.webkit.org/show_bug.cgi?id=28166.
8743 This is a step towards fixing fast/events/mouse-click-events.html on Windows.
8745 * DumpRenderTree/win/EventSender.cpp:
8746 (mouseDownCallback):
8748 (replaySavedEvents):
8750 2009-08-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
8752 Reviewed by Simon Hausmann.
8754 Build the TestNetscapePlugin on Qt/Mac
8756 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
8758 2009-08-11 Dmitry Titov <dimich@chromium.org>
8760 Reviewed by NOBODY (build fix).
8762 Attempt to fix the Windows test bot. Reverted r47015 caused one of the Windows
8763 bots that runs Layout Tests to save "JS disabled" and "default font 24pt"
8764 preferences permanently. Since these preferences are not initialized explicitly in DRT,
8765 almost all Layout tests are failing. Attempt to fix by explicit
8766 initialization of these into defaults (enabled, 16pt) at the beginning of the DRT.
8768 * DumpRenderTree/win/DumpRenderTree.cpp:
8771 2009-08-10 Steve Falkenburg <sfalken@apple.com>
8773 Windows nightly fix.
8775 Reviewed by Ada Chan.
8777 * FindSafari/FindSafari.cpp:
8778 (_tmain): Copy Safari.dll if it exists.
8780 2009-08-10 David Levin <levin@chromium.org>
8782 Reviewed by David Kilzer.
8784 check-webkit-style doesn't catch braces around single line statements when followed by else.
8785 https://bugs.webkit.org/show_bug.cgi?id=28164
8787 * Scripts/modules/cpp_style.py: Added else to the regex that finds ending }'s when
8788 checking the no braces for "single lines" rule.
8789 * Scripts/modules/cpp_style_unittest.py: Added test case.
8791 2009-08-10 David Kilzer <ddkilzer@apple.com>
8793 <http://webkit.org/b/28163> bugzilla-tool: scm module should not import bugzilla module
8795 Reviewed by David Levin.
8797 * Scripts/bugzilla-tool:
8798 (parse_bug_id): Added. Moved from CommitMessage.parse_bug_id()
8800 * Scripts/modules/scm.py: Removed import of bugzilla module.
8801 (CommitMessage.parse_bug_id): Deleted.
8803 2009-08-10 Peter Kasting <pkasting@google.com>
8805 Reviewed by David Kilzer.
8807 https://bugs.webkit.org/show_bug.cgi?id=18599
8808 Work around apparent bug in abs2rel() with symlinked directories.
8810 * Scripts/resolve-ChangeLogs:
8812 2009-08-10 Dan Bernstein <mitz@apple.com>
8816 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
8819 2009-08-10 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
8821 Reviewed by Simon Hausmann.
8823 Fix a bunch of build warnings in TestNetscapePlugin
8825 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
8826 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
8828 2009-08-10 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
8830 Reviewed by Adam Roben.
8832 Allow TestNetscapePlugIn to fall back to the Carbon event model
8834 Previously the plugin would fail, even though the Carbon event
8835 model was available. The only way to get the Carbon event model
8836 was to pass the "forcecarbon" argument in the test markup, but no
8837 tests were using this.
8839 Now the plugin uses carbon either if it's forced, or if the Cocoa
8840 event model is not supported.
8842 This helps us run most of the plugin tests on Qt/Mac, which still
8843 does not support the Cocoa event model.
8845 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
8848 2009-08-08 Adam Barth <abarth@webkit.org>
8850 Reviewed by Eric Seidel.
8852 bugzilla-tool needs a --quiet option
8853 https://bugs.webkit.org/show_bug.cgi?id=28060
8855 A first pass at a --quiet option. This doesn't do all the excting
8856 things we might want, but it addresses 80% of the use case.
8858 * Scripts/bugzilla-tool:
8860 2009-08-08 Jan Michael Alonzo <jmalonzo@webkit.org>
8862 Reviewed by Xan Lopez.
8864 [Gtk] Enable accessibility in Gtk DRT
8865 https://bugs.webkit.org/show_bug.cgi?id=25989
8867 Add Accessibility support to the GTK DRT.
8869 * DumpRenderTree/AccessibilityUIElement.h:
8870 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp: Added.
8871 (AccessibilityController::AccessibilityController):
8872 (AccessibilityController::~AccessibilityController):
8873 (AccessibilityController::focusedElement):
8874 (AccessibilityController::rootElement):
8875 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: Added.
8876 (AccessibilityUIElement::AccessibilityUIElement):
8877 (AccessibilityUIElement::~AccessibilityUIElement):
8878 (AccessibilityUIElement::getLinkedUIElements):
8879 (AccessibilityUIElement::getDocumentLinks):
8880 (AccessibilityUIElement::getChildren):
8881 (AccessibilityUIElement::getChildrenWithRange):
8882 (AccessibilityUIElement::childrenCount):
8883 (AccessibilityUIElement::elementAtPoint):
8884 (AccessibilityUIElement::getChildAtIndex):
8885 (AccessibilityUIElement::allAttributes):
8886 (AccessibilityUIElement::attributesOfLinkedUIElements):
8887 (AccessibilityUIElement::attributesOfDocumentLinks):
8888 (AccessibilityUIElement::titleUIElement):
8889 (AccessibilityUIElement::parentElement):
8890 (AccessibilityUIElement::attributesOfChildren):
8891 (AccessibilityUIElement::parameterizedAttributeNames):
8892 (AccessibilityUIElement::role):
8893 (AccessibilityUIElement::title):
8894 (AccessibilityUIElement::description):
8895 (AccessibilityUIElement::language):
8896 (AccessibilityUIElement::x):
8897 (AccessibilityUIElement::y):
8898 (AccessibilityUIElement::width):
8899 (AccessibilityUIElement::height):
8900 (AccessibilityUIElement::clickPointX):
8901 (AccessibilityUIElement::clickPointY):
8902 (AccessibilityUIElement::intValue):
8903 (AccessibilityUIElement::minValue):
8904 (AccessibilityUIElement::maxValue):
8905 (AccessibilityUIElement::valueDescription):
8906 (AccessibilityUIElement::isEnabled):
8907 (AccessibilityUIElement::insertionPointLineNumber):
8908 (AccessibilityUIElement::isActionSupported):
8909 (AccessibilityUIElement::isRequired):
8910 (AccessibilityUIElement::attributesOfColumnHeaders):
8911 (AccessibilityUIElement::attributesOfRowHeaders):
8912 (AccessibilityUIElement::attributesOfColumns):
8913 (AccessibilityUIElement::attributesOfRows):
8914 (AccessibilityUIElement::attributesOfVisibleCells):
8915 (AccessibilityUIElement::attributesOfHeader):
8916 (AccessibilityUIElement::indexInTable):
8917 (AccessibilityUIElement::rowIndexRange):
8918 (AccessibilityUIElement::columnIndexRange):
8919 (AccessibilityUIElement::lineForIndex):
8920 (AccessibilityUIElement::boundsForRange):
8921 (AccessibilityUIElement::cellForColumnAndRow):
8922 (AccessibilityUIElement::selectedTextRange):
8923 (AccessibilityUIElement::setSelectedTextRange):
8924 (AccessibilityUIElement::attributeValue):
8925 (AccessibilityUIElement::isAttributeSettable):
8926 (AccessibilityUIElement::increment):
8927 (AccessibilityUIElement::decrement):
8928 * DumpRenderTree/gtk/DumpRenderTree.cpp:
8929 (webViewWindowObjectCleared):
8933 2009-08-07 Jan Michael Alonzo <jmalonzo@webkit.org>
8935 Unreviewed Gtk build fix.
8937 DRT needs internal WTF symbols so we link to libJavaScriptCore.la
8938 too. Also don't force Gtk to use USE_SYSTEM_MALLOC.
8942 2009-08-07 Darin Adler <darin@apple.com>
8944 * Scripts/commit-log-editor: Fix unchecked access to environment
8945 variable that may not be there.
8947 2009-08-07 Mark Rowe <mrowe@apple.com>
8949 Handle the case where only a single test is missing results.
8951 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
8953 2009-08-07 George Wright <george.wright@torchmobile.com>
8955 Reviewed by Adam Treat
8957 Fix DumpRenderTree for the Qt port to always dump the PNG data unless
8958 the expected and actual hashes match.
8960 https://bugs.webkit.org/show_bug.cgi?id=28077
8962 * DumpRenderTree/qt/DumpRenderTree.cpp:
8963 (WebCore::DumpRenderTree::dump):
8965 2009-08-07 Pierre d'Herbemont <pdherbemont@apple.com>
8967 Reviewed by Eric Seidel.
8969 commit-log-editor does not produce a git commit log that is git friendly.
8970 https://bugs.webkit.org/show_bug.cgi?id=27754
8972 We make sure we end up with:
8973 - A first paragraph describing the bug. It is eventually prefixed by
8974 "WebKit: <line>" or "WebCore: <line>". This used to be
8975 "WebCore:\n\n<line>".
8976 - The Reviewed By line.
8977 - An eventual Patch By line if author and committer doesn't match.
8978 - The rest of the commit.
8980 * Scripts/commit-log-editor:
8982 2009-08-07 Adam Barth <abarth@webkit.org>
8984 Unreviewed. (Darin Adler indicated he'd prefer if we landed these
8985 kinds of changes unreviewed, like editing the WebKit Team wiki page.)
8987 Added Pierre d'Herbemont to list of committers.
8989 * Scripts/modules/committers.py:
8991 2009-08-07 Shinichiro Hamaji <hamaji@chromium.org>
8993 Reviewed by Adele Peterson.
8995 Cannot scroll for box-reflect:right
8996 https://bugs.webkit.org/show_bug.cgi?id=27979
8998 Update m_overflowLeft an m_overflowWidth for reflection just like
8999 m_overflowTop and m_overflowHeight.
9001 * Scripts/make-js-test-wrappers: Added regexp to skip box-shadow-overflo
9004 2009-08-06 Shinichiro Hamaji <hamaji@chromium.org>
9006 Reviewed by Adam Barth.
9008 box-shadow's spread is ignored with <table>
9009 https://bugs.webkit.org/show_bug.cgi?id=28017
9011 Use RenderStyle::getBoxShadowExtent just like RenderBlock.
9013 * Scripts/make-js-test-wrappers: Added regexp to skip box-shadow-overflow-scroll.js
9015 2009-08-06 Eric Seidel <eric@webkit.org>
9017 No review, only changing make-js-test-wrappers.
9019 Fix make-js-test-wrappers to ignore a few more js tests
9020 with custom templates.
9022 * Scripts/make-js-test-wrappers:
9024 2009-08-06 Chris Marrin <cmarrin@apple.com>
9026 Reviewed by David Hyatt.
9028 Added ENABLE_3D_CANVAS flag to build, default to off
9030 * Scripts/build-webkit:
9032 2009-08-05 Brady Eidson <beidson@apple.com>
9034 Reviewed by Darin Adler.
9036 Win DRT's resource load delegate is missing didReceiveResponse
9037 https://bugs.webkit.org/show_bug.cgi?id=28033
9039 * DumpRenderTree/win/FrameLoadDelegate.cpp:
9041 (FrameLoadDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
9042 (FrameLoadDelegate::willPerformClientRedirectToURL):
9043 (FrameLoadDelegate::didCancelClientRedirectForFrame):
9045 Minor style cleanup:
9046 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
9047 (FrameLoadDelegate::didReceiveTitle):
9048 (FrameLoadDelegate::didFinishLoadForFrame):
9049 (FrameLoadDelegate::willCloseFrame):
9050 (FrameLoadDelegate::didClearWindowObject):
9051 * DumpRenderTree/win/FrameLoadDelegate.h:
9053 2009-08-05 Brady Eidson <beidson@apple.com>
9055 Reviewed by Darin Adler.
9057 Win DRT's resource load delegate is missing didReceiveResponse
9058 https://bugs.webkit.org/show_bug.cgi?id=28033
9060 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
9061 (ResourceLoadDelegate::didReceiveResponse):
9062 * DumpRenderTree/win/ResourceLoadDelegate.h:
9064 2009-08-05 Darin Fisher <darin@chromium.org>
9066 Reviewed by Darin Adler.
9068 Add layoutTestController.dumpWillCacheResponse
9069 https://bugs.webkit.org/show_bug.cgi?id=28010
9071 willCacheResponse is only interesting for embedders of mainline WebKit on Mac.
9072 Splitting off a new dumpWillCacheResponse allows a number of existings tests
9073 to run across platforms.
9075 The test that was specifically verifying willCacheResponse now calls
9076 dumpWillCacheResponse.
9078 * DumpRenderTree/LayoutTestController.cpp: Add dumpWillCacheResponse
9079 (LayoutTestController::LayoutTestController):
9080 (dumpWillCacheResponseCallback):
9081 (LayoutTestController::staticFunctions):
9082 * DumpRenderTree/LayoutTestController.h:
9083 (LayoutTestController::dumpWillCacheResponse):
9084 (LayoutTestController::setDumpWillCacheResponse):
9085 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Inspect dumpWillCacheResponse
9086 instead of dumpResourceLoadCallbacks.
9087 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
9089 2009-08-05 Jeremy Orlow <jorlow@chromium.org>
9091 Reviewed by Adam Barth.
9093 Add my name to committers.py
9094 https://bugs.webkit.org/show_bug.cgi?id=28013
9096 Add my name to committers.py.
9098 * Scripts/modules/committers.py:
9100 2009-08-05 Kenneth Rohde Christiansen <kenneth@webkit.org>
9102 Reviewed by Simon Hausmann.
9104 A minor refactoring of the Qt DRT to be a bit more similar to
9105 the other DRTs, as well as more understandable.
9107 Splitting up resetJSObjects into a LayoutTestController->reset()
9108 plus a new closeRemainingWindows() method.
9110 Added a resetToConsistentStateBeforeTesting() method to keep
9111 the code in one place, making it easier to verify that we are
9112 doing things properly.
9114 * DumpRenderTree/qt/DumpRenderTree.cpp:
9115 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
9116 (WebCore::DumpRenderTree::open):
9117 (WebCore::DumpRenderTree::closeRemainingWindows):
9118 * DumpRenderTree/qt/DumpRenderTree.h:
9120 2009-08-05 Kenneth Rohde Christiansen <kenneth@webkit.org>
9122 Reviewed by Simon Hausmann.
9124 Make the Qt DRT WorkQueue work similarily to the cross platform
9125 one. This means that all items return true if they started
9128 This change paves the way for unforking the WorkQueue, if we [Qt]
9131 * DumpRenderTree/qt/WorkQueue.cpp:
9132 (WorkQueue::processWork):
9133 * DumpRenderTree/qt/WorkQueue.h:
9134 * DumpRenderTree/qt/WorkQueueItem.h:
9135 * DumpRenderTree/qt/jsobjects.cpp:
9137 (ReloadItem::invoke):
9138 (ScriptItem::invoke):
9139 (BackForwardItem::invoke):
9140 (LayoutTestController::processWork):
9141 (LayoutTestController::maybeDump):
9143 2009-08-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
9145 Reviewed by Simon Hausmann.
9147 If load of a test fails, don't dump as it will be dumped
9148 in the preceding test, resulting in a invalid incorrect layout.
9150 * DumpRenderTree/qt/jsobjects.cpp:
9151 (LayoutTestController::maybeDump):
9153 2009-08-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
9155 Reviewed by Simon Hausmann.
9157 Make the Qt DumpRenderTree more similar to the mac one.
9160 1) Reset zoom factor before each test
9161 2) Only dump the backforward list when we got other dump result
9162 3) When we dump the render tree, and got zero result print out:
9163 [mainFrame renderTreeAsExternalRepresentation]
9165 [frame renderTreeAsExternalRepresentation]
9167 * DumpRenderTree/qt/DumpRenderTree.cpp:
9168 (WebCore::DumpRenderTree::open):
9169 (WebCore::methodNameStringForFailedTest):
9170 (WebCore::DumpRenderTree::dump):
9172 2009-08-05 chris fleizach <cfleizach@apple.com>
9174 Fix Tiger build breakage.
9176 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
9178 2009-08-04 Chris Fleizach <cfleizach@apple.com>
9180 Reviewed by Darin Adler.
9182 Bug 27994 - WAI-ARIA: aria-valuetext needs to be implemented
9183 https://bugs.webkit.org/show_bug.cgi?id=27994
9185 Expose valueDescription for accessibility.
9187 * DumpRenderTree/AccessibilityUIElement.cpp:
9188 (getValueDescriptionCallback):
9189 (AccessibilityUIElement::getJSClass):
9190 * DumpRenderTree/AccessibilityUIElement.h:
9191 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
9192 (AccessibilityUIElement::valueDescription):
9193 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
9194 (AccessibilityUIElement::valueDescription):
9196 2009-08-04 Eric Seidel <eric@webkit.org>
9198 Reviewed by Mark Rowe.
9200 REGRESSION: run-webkit-tests crashes if you have non-system perl in PATH
9201 https://bugs.webkit.org/show_bug.cgi?id=28006
9203 Hard-code perl to /usr/bin/perl and swig to /usr/bin/swig
9205 * DumpRenderTree/mac/PerlSupport/Makefile:
9207 2009-08-04 Adam Barth <abarth@webkit.org>
9209 Reviewed by Darin Adler.
9211 Add pkasting to bugzilla-tool as a committer
9212 https://bugs.webkit.org/show_bug.cgi?id=28002
9214 * Scripts/modules/committers.py:
9216 2009-08-04 Chris Fleizach <cfleizach@apple.com>
9218 Reviewed by Darin Adler.
9220 Bug 27993 - AXSliders are missing required attributes and actions
9221 https://bugs.webkit.org/show_bug.cgi?id=27993
9223 Add ability to check if any arbitrary action is supported.
9225 * DumpRenderTree/AccessibilityUIElement.cpp:
9226 (isActionSupportedCallback):
9227 (AccessibilityUIElement::getJSClass):
9228 * DumpRenderTree/AccessibilityUIElement.h:
9229 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
9230 (AccessibilityUIElement::isActionSupported):
9231 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
9232 (AccessibilityUIElement::isActionSupported):
9234 2009-08-04 Adam Barth <abarth@webkit.org>
9236 Reviewed by Eric Seidel.
9238 bugzilla-tool unit tests need a test harness
9239 https://bugs.webkit.org/show_bug.cgi?id=27977
9241 * Scripts/run-webkit-unittests: Added.
9243 2009-08-04 Mark Rowe <mrowe@apple.com>
9245 Rubber-stamped by Gavin "Gavvy" Barraclough.
9247 Ensure that DumpRenderTreeSupport is regenerated when switching between OS versions
9248 by listing the DumpRenderTree binary as a dependency. Xcode has the smarts to rebuild
9249 DumpRenderTree itself when switching OS versions so this dependency removes the need
9250 for any smarts in the Makefile.
9252 * DumpRenderTree/mac/PerlSupport/Makefile:
9254 2009-08-04 Eric Seidel <eric@webkit.org>
9256 Reviewed by Adam Barth.
9258 bugzilla-tool needs unit tests
9259 https://bugs.webkit.org/show_bug.cgi?id=26916
9261 Add some basic unit testing for scm.py.
9263 * Scripts/modules/scm.py:
9264 * Scripts/modules/scm_unittest.py: Added.
9266 2009-08-04 Mike Fenton <mike.fenton@torchmobile.com>
9268 Reviewed by Adam Treat.
9270 Fix --skipped=only mode to honor flags such as --no-http and platform ignored directories by checking
9271 to make sure the Skipped entries are not in the $ignoredDirectories array. Directories commonly included
9272 are (http, media, compositing, wml, wcss).
9274 https://bugs.webkit.org/show_bug.cgi?id=27893
9276 * Scripts/run-webkit-tests:
9278 2009-08-03 Chris Fleizach <cfleizach@apple.com>
9280 Reviewed by Jon Honeycutt.
9282 Bug 27958 - WAI-ARIA: Implement 'aria-required' attribute.
9283 https://bugs.webkit.org/show_bug.cgi?id=27958
9285 Exposed isRequired to DumpRenderTree for accessibility.
9287 * DumpRenderTree/AccessibilityUIElement.cpp:
9288 (getIsRequiredCallback):
9289 (AccessibilityUIElement::getJSClass):
9290 * DumpRenderTree/AccessibilityUIElement.h:
9291 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
9292 (AccessibilityUIElement::isRequired):
9293 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
9294 (AccessibilityUIElement::isRequired):
9296 2009-08-04 Adam Barth <abarth@webkit.org>
9298 Reviewed by Eric Seidel.
9300 bugzilla-tool --commit-queue should validate commit-queue setter is a committer
9301 https://bugs.webkit.org/show_bug.cgi?id=27974
9305 * Scripts/modules/bugzilla.py:
9306 * Scripts/modules/bugzilla_unittest.py:
9308 2009-08-04 Eric Seidel <eric@webkit.org>
9310 Reviewed by Adam Barth.
9312 REGRESSION(r46700): bugzilla-tool land-diff double-spaces ChangeLogs
9313 https://bugs.webkit.org/show_bug.cgi?id=27973
9315 The trailing comma (suppresses newlines) was lost in r46700.
9317 * Scripts/bugzilla-tool:
9319 2009-08-04 Adam Barth <abarth@webkit.org>
9321 Reviewed by Eric Seidel.
9323 bugzilla-tool has too many fatal errors
9324 https://bugs.webkit.org/show_bug.cgi?id=27969
9326 Replace several fatal errors with ScriptError exceptions.
9328 * Scripts/bugzilla-tool:
9329 * Scripts/modules/bugzilla.py:
9330 * Scripts/modules/scm.py:
9332 2009-08-04 Eric Seidel <eric@webkit.org>
9334 No review, ChangeLog fix only.
9336 Fix a ChangeLog line-spacing disaster caused by:
9337 https://bugs.webkit.org/show_bug.cgi?id=27973
9339 Still unsure what the fix for bugzilla-tool will be.
9341 2009-08-04 Adam Barth <abarth@webkit.org>
9343 Reviewed by Eric Seidel.
9345 bugzilla-tool --commit-queue should only land commit-queue+ patches
9346 https://bugs.webkit.org/show_bug.cgi?id=27970
9348 commit-queue mode for bugzilla-tool
9349 https://bugs.webkit.org/show_bug.cgi?id=27918
9351 Make bugzilla tool smart enough to find the commit-queue+ flags and
9353 When we call land-patches with --commit-queue, we should filter the
9354 patches we land to only those that have the commit-queue+ flag set.
9355 That way, when we call bugzilla-tool from a main commit queue process,
9356 we won't land the wrong patches.
9358 * Scripts/bugzilla-tool:
9360 2009-08-04 Eric Seidel <eric@webkit.org>
9362 Reviewed by Adam Barth.
9364 committer logic should be split out of bugzilla.py into its own module
9366 https://bugs.webkit.org/show_bug.cgi?id=27972
9368 I also added unit tests for the functionality I added.
9370 * Scripts/modules/bugzilla.py:
9371 * Scripts/modules/bugzilla_unittest.py: Added.
9372 * Scripts/modules/commiters_unittest.py: Added.
9373 * Scripts/modules/committers.py: Added.
9375 2009-08-03 Peter Kasting <pkasting@google.com>
9377 Reviewed by David Kilzer.
9379 https://bugs.webkit.org/show_bug.cgi?id=27323
9380 Handle any kind of line endings in svn-apply and svn-unapply, instead
9383 * Scripts/svn-apply:
9384 * Scripts/svn-unapply:
9386 2009-08-03 Adam Barth <abarth@webkit.org>
9388 Reviewed by Eric Seidel.
9390 bugzilla-tool land-patches needs --queue mode
9391 https://bugs.webkit.org/show_bug.cgi?id=27961
9393 Add a --commit-queue command line option to suppress user interaction.
9395 * Scripts/bugzilla-tool:
9396 * Scripts/modules/scm.py:
9398 2009-08-03 Mark Rowe <mrowe@apple.com>
9400 Build fix. Add installsrc, installhdrs and install targets.
9402 * DumpRenderTree/mac/PerlSupport/Makefile:
9404 2009-08-03 Eric Carlson <eric.carlson@apple.com>
9406 Reviewed by Eric Seidel.
9408 HTMLInputElement is not controllable by assistive technologies
9409 https://bugs.webkit.org/show_bug.cgi?id=27941
9411 Accessibility control of a slider required adding increment() and decrement()
9412 methods to AccessibilityObject, so expose thos methods on AccessibilityUIElement.
9414 * DumpRenderTree/AccessibilityUIElement.cpp:
9415 (incrementCallback): New, call UI element increment method.
9416 (decrementCallback): New, call UI element decrement method.
9417 (AccessibilityUIElement::getJSClass): Expose increment and decrement methods.
9419 * DumpRenderTree/AccessibilityUIElement.h:
9420 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
9421 (AccessibilityUIElement::increment): New, send NSAccessibilityIncrementAction to Mac wrapper.
9422 (AccessibilityUIElement::decrement): New, send NSAccessibilityDecrementAction to Mac wrapper.
9424 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
9425 (AccessibilityUIElement::increment): New, do nothing.
9426 (AccessibilityUIElement::decrement): New, do nothing.
9428 2009-08-02 David D. Kilzer <ddkilzer@webkit.org>
9430 <http://webkit.org/b/27930> bugzilla-tool hates Tor Arne Vestbø
9432 Reviewed by Tor Arne Vestbø.
9434 * Scripts/bugzilla-tool:
9435 (set_reviewer_in_changelog): Made sure reviewer is properly
9436 encoded when calling replace().
9438 2009-08-02 Kevin Ollivier <kevino@theolliviers.com>
9440 Reviewed by David Levin.
9442 Script for building the wxBrowser sample app for wx.
9443 https://bugs.webkit.org/show_bug.cgi?id=27619
9445 * wx/browser/wscript: Added.
9447 2009-08-02 Kevin Ollivier <kevino@theolliviers.com>
9449 Reviewed by Jan Alonzo.
9451 Scripts needed for the waf build.
9452 https://bugs.webkit.org/show_bug.cgi?id=27619
9455 * wx/build/build_utils.py: Added.
9456 * wx/build/settings.py: Added.
9457 * wx/build/waf_extensions.py: Added.
9458 * wx/build/wxpresets.py: Added.
9460 2009-08-01 Dan Bernstein <mitz@apple.com>
9462 Reviewed by Darin Adler.
9464 Make pixel test results more consistent across Mac OS X versions
9466 * DumpRenderTree/cg/ImageDiffCG.cpp:
9467 (createDifferenceImage): Avoid color correction when rendering the
9468 images into graphics contexts, so that the actual color values are
9469 compared, regardless of how the images are tagged.
9470 * DumpRenderTree/mac/DumpRenderTree.mm:
9471 (createWebViewAndOffscreenWindow): Set the window’s color space to the
9472 main screen’s color space, even though the window is off-screen.
9474 2009-08-01 Mark Rowe <mrowe@apple.com>
9476 Try again to make the Qt build bot happy.
9478 * BuildSlaveSupport/test-result-archive: Create a placeholder file inside the newly-created
9479 directory to prevent 'zip' from failing due to the directory containing no files.
9481 2009-08-01 Mark Rowe <mrowe@apple.com>
9483 Try and make the Qt build bot happy.
9485 * BuildSlaveSupport/test-result-archive: Handle the case where run-webkit-tests generates
9486 no output files at all and thus does not create the layout-test-results directory.
9488 2009-08-01 Mark Rowe <mrowe@apple.com>
9490 Move the include of DumpRenderTreeSupport to after DumpRenderTree has been built.
9492 * Scripts/run-webkit-tests:
9494 2009-08-01 Mark Rowe <mrowe@apple.com>
9496 Reviewed by Sam Weinig and David D. Kilzer.
9498 Fix <https://bugs.webkit.org/show_bug.cgi?id=27923>.
9499 Bug 27923: run-webkit-tests should not invoke "ps" repeatedly on Mac OS X
9501 run-webkit-tests invokes "ps" after each test on Mac OS X to determine whether DumpRenderTree is
9502 in the process of crashing. We can do the same test more efficiently with a simple call to sysctl.
9503 I couldn't find any built-in way of doing this directly from perl, so we do it from a simple C module
9504 instead. This speeds up run-webkit-tests by around 8%.
9506 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9507 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport.c: Added.
9508 (processIsCrashing):
9509 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupportTiger.pm: Added. Tiger does not have the SWIG tool
9510 that is used to generate the Perl binding to the C code, so we fall back to the old implementation on Tiger.
9511 * DumpRenderTree/mac/PerlSupport/Makefile: Added.
9512 * Scripts/run-webkit-tests:
9514 2009-08-01 Mark Rowe <mrowe@apple.com>
9516 Reviewed by David D. Kilzer.
9518 Display the reminder once rather than once per ChangeLog.
9520 * Scripts/prepare-ChangeLog:
9522 2009-08-01 David Kilzer <ddkilzer@apple.com>
9524 resolve-ChangeLogs: add error checking to git ls-files command on close()
9526 Reviewed by Eric Seidel.
9528 Item 2 of <https://bugs.webkit.org/show_bug.cgi?id=18599#c0>.
9530 * Scripts/resolve-ChangeLogs: Added error checking to close()
9531 after running git ls-files. Added error checking to all
9532 system() calls by checking for a non-zero WEXITSTATUS($?).
9533 Changed "|| die;" expressions to "or die $!;".
9535 2009-08-01 David Kilzer <ddkilzer@apple.com>
9537 <http://webkit.org/b/18599> resolve-ChangeLogs doesn't work with relative paths
9539 Reviewed by Eric Seidel.
9541 * Scripts/resolve-ChangeLogs: Used chdirReturningRelativePath()
9542 and determineVCSRoot() to change directories to the root of the
9543 project before running the command and to provide a path for
9544 removeChangeLogArguments() to make sure any ChangeLog arguments
9545 on the command line are still found.
9546 (canonicalRelativePath): Added. Returns a canonical path (e.g.,
9547 stripping 'dir/../' from the path) relative to the current
9549 (removeChangeLogArguments): Added argument which contains a
9550 relative path that must be prepended to any ChangeLog arguments.
9551 Used canonicalRelativePath() and File::Spec->catfile() to
9552 construct a normalized, relative path to each file.
9554 2009-08-01 David Kilzer <ddkilzer@apple.com>
9556 Implement VCSUtils::chdirReturningRelativePath()
9558 Reviewed by Eric Seidel.
9561 <http://webkit.org/b/18599> resolve-ChangeLogs doesn't work with relative paths
9563 * Scripts/VCSUtils.pm:
9564 (VCSUtils::chdirReturningRelativePath): Moved here from
9565 chdirAndGetDifference() in svn-create-patch.
9566 * Scripts/svn-create-patch: Switched to use
9567 chdirReturningRelativePath() instead of chdirAndGetDifference().
9568 (chdirAndGetDifference): Removed.
9570 2009-08-01 David Kilzer <ddkilzer@apple.com>
9572 Implement VCSUtils::determineVCSRoot()
9574 Reviewed by Eric Seidel.
9577 <http://webkit.org/b/18599> resolve-ChangeLogs doesn't work with relative paths
9579 * Scripts/VCSUtils.pm: Removed reference to webkitdirs module.
9580 (VCSUtils::EXPORT): Added &determineVCSRoot. Realphabetized.
9581 (VCSUtils::determineGitRoot): Added. Based on code in
9583 (VCSUtils::determineVCSRoot): Implemented using
9584 determineGitRoot() and determineSVNRoot().
9585 * Scripts/commit-log-editor: Replaced use of
9586 topLevelSourceDirectory() with determineVCSRoot(). Resorted
9588 (topLevelSourceDirectory): Removed.
9590 2009-07-31 Daniel Bates <dbates@intudata.com>
9592 Reviewed by Eric Seidel.
9594 https://bugs.webkit.org/show_bug.cgi?id=27757
9596 Resolves Perl redefinition warnings about functions tmpfile and tmpnam which are
9597 defined in both File::Temp and POSIX.
9599 This stops the warnings by preventing the "import" method of File::Temp from being called,
9600 which would otherwise add these functions into the primary namespace. Note, "use POSIX"
9601 will import these functions into the primary namespace anyway. We only need one instance
9602 of these functions in our namespace (or we get redefinition warnings), so lets use the
9603 one's in the POSIX package.
9605 * Scripts/update-webkit-auxiliary-libs: Changed "use File::Temp" to "use File::Temp ()".
9606 * Scripts/update-webkit-support-libs: ditto
9608 2009-07-31 Laszlo Gombos <laszlo.1.gombos@nokia.com>
9610 Reviewed by Eric Seidel.
9612 Add a top level build option to control datagrid support
9613 https://bugs.webkit.org/show_bug.cgi?id=27915
9615 * Scripts/build-webkit:
9617 2009-07-31 David Levin <levin@chromium.org>
9619 Reviewed by Adam Treat.
9621 check-webkit-style --git-commit has bugs if you select a commit in the past
9622 https://bugs.webkit.org/show_bug.cgi?id=27908
9624 * Scripts/check-webkit-style:
9625 (main): Made the git-commit command only select the first commit
9626 if a range is given (and print a warning).
9627 * Scripts/modules/scm.py:
9628 (SCM::create_patch_from_local_commit):
9629 (SCM::create_patch_since_local_commit):
9630 (SCM::commit_locally_with_message):
9631 (SCM::discard_local_commits):
9632 Added an error messages in case these aren't overriden.
9634 (Git::create_patch_since_local_commit):
9635 Added this command to allow doing a diff of everything after a given commit.
9637 2009-07-31 Jan Michael Alonzo <jmalonzo@webkit.org>
9639 Speculative Qt build fix. Not reviewed.
9641 Add LayoutTestController::disableImageLoading() in jsobjects.h.
9643 * DumpRenderTree/qt/jsobjects.h:
9645 2009-07-31 Brady Eidson <beidson@apple.com>
9647 Reviewed by John Sullivan.
9649 <rdar://problem/6973106> and https://bugs.webkit.org/show_bug.cgi?id=27896
9650 Favicons are still loaded when automatic image loading is disabled.
9652 * DumpRenderTree/LayoutTestController.cpp:
9653 (disableImageLoadingCallback):
9654 (LayoutTestController::staticFunctions):
9655 * DumpRenderTree/LayoutTestController.h:
9657 * DumpRenderTree/mac/DumpRenderTree.mm:
9658 (resetWebViewToConsistentStateBeforeTesting):
9659 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
9660 (LayoutTestController::disableImageLoading):
9662 * DumpRenderTree/win/DumpRenderTree.cpp:
9663 (resetWebViewToConsistentStateBeforeTesting):
9664 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9665 (LayoutTestController::disableImageLoading):
9667 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
9668 (LayoutTestController::disableImageLoading): Stubbed for now.
9669 * DumpRenderTree/qt/jsobjects.cpp:
9670 (LayoutTestController::disableImageLoading): Ditto.
9672 2009-07-30 Eric Seidel <eric@webkit.org>
9674 Reviewed by David Kilzer.
9676 bugzilla-tool post-commits trunk..head errors out
9677 https://bugs.webkit.org/show_bug.cgi?id=27847
9679 Rename commit_ids_from_range_arguments to commit_ids_from_commitish_arguments
9680 and make it handle the new arguments format proposed in the bug.
9682 * Scripts/bugzilla-tool:
9683 * Scripts/modules/scm.py:
9685 2009-07-30 Eric Seidel <eric@webkit.org>
9687 Reviewed by David Levin.
9689 clean up build-webkit to use less copy/paste code and remove unneeded SVG warning
9690 https://bugs.webkit.org/show_bug.cgi?id=27857
9692 * Scripts/build-webkit:
9694 2009-07-31 David Kilzer <ddkilzer@apple.com>
9696 <http://webkit.org/b/27894> bugzilla-tool: Bugzilla.clear_attachment_review_flag() fails with ClientForm-0.2.10 and python-2.5
9698 Reviewed by Eric Seidel.
9700 * Scripts/modules/bugzilla.py:
9701 (Bugzilla.clear_attachment_review_flag): Specify which 'comment'
9702 form field to use when setting its value.
9704 2009-07-31 Eric Seidel <eric@webkit.org>
9706 Reviewed by David Kilzer.
9708 bugzilla-tool post-commits obsoletes its own work :(
9709 https://bugs.webkit.org/show_bug.cgi?id=27849
9711 Simple fix. Use .add() instead of .update()
9713 * Scripts/bugzilla-tool:
9715 2009-07-31 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
9717 Reviewed by Anders Carlsson.
9719 Improve platform-detection in run-webkit-tests
9721 This prevents miss-detection of mac-* over Qt/Mac.
9723 * Scripts/run-webkit-tests:
9725 2009-07-30 Mark Rowe <mrowe@apple.com>
9727 Reviewed by Cameron Zwarich.
9729 Teach buildbot to detect test cases that are missing results.
9731 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
9733 2009-07-30 Mark Rowe <mrowe@apple.com>
9735 Things work better when you create the correct directories.
9737 * Scripts/run-webkit-tests:
9739 2009-07-30 Mark Rowe <mrowe@apple.com>
9741 Include some information about the error when we die.
9743 * Scripts/run-webkit-tests:
9745 2009-07-30 Mark Rowe <mrowe@apple.com>
9747 Ensure that the path exists before writing results to it.
9748 Hopefully this will make the Windows build bot happy.
9750 * Scripts/run-webkit-tests:
9752 2009-07-30 Mark Rowe <mrowe@apple.com>
9754 Reviewed by Adam Treat and Jon Honeycutt.
9756 Teach run-webkit-tests to always store the actual results in the results directory for new tests.
9757 This allows us to give a working link to the results from the result summary page, even if we're
9758 not generating new results in to the tree.
9760 * Scripts/run-webkit-tests:
9762 2009-07-30 Mark Rowe <mrowe@apple.com>
9764 Add a Qt Linux build bot.
9766 * BuildSlaveSupport/build.webkit.org-config/config.json:
9768 2009-07-30 Jakob Petsovits <jakob.petsovits@torchmobile.com>
9770 Reviewed by Adam Roben.
9772 Add --minimal option to webkit-build.
9773 https://bugs.webkit.org/show_bug.cgi?id=27852
9775 This option disables all optional build features unless
9776 they are explicitly enabled.
9778 * Scripts/build-webkit:
9780 2009-07-30 Jakub Wieczorek <faw217@gmail.com>
9782 [Qt] Fix build with GCC 4.4.
9784 * DumpRenderTree/qt/ImageDiff.cpp:
9786 2009-07-29 Ariya Hidayat <ariya.hidayat@nokia.com>
9788 Reviewed by Simon Hausmann.
9790 https://bugs.webkit.org/show_bug.cgi?id=27813
9792 [Qt] Support pixel tests in DumpRenderTree for the Qt port.
9794 * DumpRenderTree/qt/DumpRenderTree.cpp:
9795 (WebCore::DumpRenderTree::DumpRenderTree):
9796 (WebCore::DumpRenderTree::open):
9797 (WebCore::DumpRenderTree::setDumpPixels):
9798 (WebCore::DumpRenderTree::dump):
9799 * DumpRenderTree/qt/DumpRenderTree.h:
9800 * DumpRenderTree/qt/main.cpp:
9803 2009-07-29 Ariya Hidayat <ariya.hidayat@nokia.com>
9805 Reviewed by Simon Hausmann.
9807 https://bugs.webkit.org/show_bug.cgi?id=27813
9809 [Qt] Implement ImageDiff.
9811 * DumpRenderTree/qt/ImageDiff.cpp: Added.
9812 * DumpRenderTree/qt/ImageDiff.pro: Added.
9814 2009-07-30 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
9816 Reviewed by Eric Seidel.
9818 build-webkit: Reorder logic for determining the baseProductDir
9820 https://bugs.webkit.org/show_bug.cgi?id=27699
9822 We now do port-spesific probing for the product dir first, and then
9823 fall back to either the generic WEBKITOUTPUTDIR (which now also works
9824 on Mac), or WebKitBuild.
9826 Then we add the git branch if the git branch build option is enabled.
9828 Finally we massage the product dir based on the port. For example the
9829 Mac port will now always set the SYMROOT and OBJROOT configuration for
9832 Note that isAppleWinWebkit() and isCygwin() is not mutually exclusive,
9833 hence the normal if and not elsif in the last two blocks.
9835 * Scripts/webkitdirs.pm:
9837 2009-07-29 David Kilzer <ddkilzer@apple.com>
9839 <http://webkit.org/b/27082> bugzilla-tool: Add --no-close switch to land-patches
9841 Reviewed by David Levin.
9843 * Scripts/bugzilla-tool:
9844 (LandPatchesFromBugs.__init__): Added --no-close switch.
9845 (LandPatchesFromBugs.land_patches): Don't close the bug if the
9846 --no-close switch was used. Always clear the review+ flag on
9847 every landed patch using the commit_text message when cleared.
9848 This prevents patches from showing up in the commit queue if
9849 reopened and provides consistency with all landed patches.
9850 * Scripts/modules/bugzilla.py:
9851 (Bugzilla.clear_attachment_review_flag): Added.
9853 2009-07-29 David Kilzer <ddkilzer@apple.com>
9855 <http://webkit.org/b/27815> bugzilla-tool: add -m/--description to post-commits command
9857 Reviewed by Eric Seidel.
9859 * Scripts/bugzilla-tool:
9860 (PostDiffAsPatchToBug.execute): Changed default patch name from
9861 "patch" to "Patch v1".
9862 (PostCommitsAsPatchesToBug.__init__): Added -m/--description
9864 (PostCommitsAsPatchesToBug.execute): Use description provided by
9865 -m/--description switch first, else fall back to the commit
9868 2009-07-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
9870 Reviewed by Dave Levin.
9872 Make check-webkit-style support files as arguments.
9873 https://bugs.webkit.org/show_bug.cgi?id=27549
9875 * Scripts/check-webkit-style:
9876 Support files as argument. Change documentation and use basename
9877 on the binary name when used in the documentation. Also do not
9878 die when printing something containing non-ASCII characters.
9880 2009-08-06 Mike Fenton <mike.fenton@torchmobile.com>
9882 Reviewed by David Levin.
9884 Add validation for pointer and reference declaration as defined by webkit style guidelines to cpp_style.py.
9885 Add unit tests for validation and update existing c style cast test to be run explicitly as c validation.
9887 https://bugs.webkit.org/show_bug.cgi?id=27984
9889 * Scripts/modules/cpp_style.py:
9890 * Scripts/modules/cpp_style_unittest.py:
9892 2009-07-29 David Kilzer <ddkilzer@apple.com>
9894 <http://webkit.org/b/27119> bugzilla-tool: Add create-bug command
9896 Reviewed by David Levin.
9898 Implement "create-bug" command for bugzilla-tool.
9900 * Scripts/bugzilla-tool: Added CreateBug class.
9901 (CreateBug.__init__): Added.
9902 (CreateBug.create_bug_from_commit): Added.
9903 (CreateBug.create_bug_from_patch): Added.
9904 (CreateBug.prompt_for_bug_title_and_comment): Added.
9905 (CreateBug.execute): Added.
9906 (BugzillaTool.__init__): Added create-bug command.
9907 * Scripts/modules/bugzilla.py:
9908 (Bugzilla.prompt_for_component): Added.
9909 (Bugzilla.check_create_bug_response_returning_bug_id_on_success): Added.
9910 (Bugzilla.create_bug_with_patch): Added.
9912 2009-07-29 Jan Michael Alonzo <jmalonzo@webkit.org>
9914 Reviewed by Eric Seidel and Xan Lopez.
9916 [Gtk] Enable http/tests/appcache tests
9917 https://bugs.webkit.org/show_bug.cgi?id=27674
9919 Add support for testing http/tests/appcache tests.
9921 * DumpRenderTree/gtk/DumpRenderTree.cpp:
9922 (resetWebViewToConsistentStateBeforeTesting):
9923 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
9924 (LayoutTestController::setAppCacheMaximumSize):
9926 2009-07-28 Mark Rowe <mrowe@apple.com>
9928 Reviewed by Oliver Hunt.
9930 Prevent nightly builds of WebKit from launching against old Safari versions that we no longer work with.
9932 * WebKitLauncher/main.m:
9933 (checkSafariVersion): Add a minimum required Safari version of 4.0. This matches the requirement on Windows.
9934 (main): If the minimum version requirement is not met, display an alert and bail out.
9936 2009-07-28 David Levin <levin@chromium.org>
9938 Reviewed by Adam Treat.
9940 cpplint* should be named cpp_style*
9941 https://bugs.webkit.org/show_bug.cgi?id=27752
9943 The files were renamed. A few renames were done:
9945 cpplint -> cpp_style
9947 * Scripts/check-webkit-style:
9948 * Scripts/modules/cpp_style.py: Copied from cpplint.py and
9950 * Scripts/modules/cpp_style_unittest.py: Copied from cpplint_unittest.py and
9952 * Scripts/modules/cpplint.py: Removed.
9953 * Scripts/modules/cpplint_unittest.py: Removed.
9955 2009-07-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
9957 Rubber-stamped by Holger Freyther.
9959 Add Steve Falkenburg to bugzilla-tools' reviewers list
9961 * Scripts/modules/bugzilla.py:
9963 2009-07-28 Zoltan Horvath <hzoltan@inf.u-szeged.hu>
9965 Reviewed by Simon Hausmann.
9967 Implement test result archive support for the Qt port.
9969 * BuildSlaveSupport/test-result-archive:
9971 2009-07-27 Brady Eidson <beidson@apple.com>
9973 Reviewed by Sam Weinig.
9975 https://bugs.webkit.org/show_bug.cgi?id=27755
9976 Layout tests that dump resource load delegate calls should dump the request method and the response status code.
9978 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
9979 (-[NSURLResponse _drt_descriptionSuitableForTestResult]):
9980 (-[NSURLRequest _drt_descriptionSuitableForTestResult]):
9982 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
9983 (descriptionSuitableForTestResult):
9985 2009-07-27 Pierre d'Herbemont <pdherbemont@apple.com>
9987 Reviewed by David Levin.
9989 "bugzilla-tool post-commit head" doesn't work because it can't find the bug id from the commit load.
9990 https://bugs.webkit.org/show_bug.cgi?id=27747
9992 modules.bugzilla is not found because not included.
9994 * Scripts/modules/scm.py: Properly import modules.bugzilla.
9996 2009-07-24 Pierre d'Herbemont <pdherbemont@apple.com>
9998 Reviewed by David Kilzer.
10000 commit-log-editor should allow git commit --amend to regenerate the commit log based on the modifed ChangeLog
10001 https://bugs.webkit.org/show_bug.cgi?id=27664
10003 * Scripts/commit-log-editor: Add --regenerate-log option.
10004 The user is asked if he wants to suppress previous ChangeLog and regenerate it,
10005 if this option is enabled.
10007 2009-07-27 Gabor Rapcsanyi <rapcsanyi.gabor@stud.u-szeged.hu>
10009 Reviewed by Simon Hausmann.
10011 Generating remote links causes a lot of unnecessary spew on Qt build bot too
10013 * Scripts/run-webkit-tests:
10015 2009-07-25 Kwang Yul Seo <skyul@company100.net>
10017 Reviewed by Darin Adler.
10019 Windows build break due to warning C4819
10020 https://bugs.webkit.org/show_bug.cgi?id=27416
10022 Disable C4819 warning to fix build.
10024 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
10026 2009-07-24 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
10028 Not reviewed. Add Kevin McCullough as reviewer in bugzilla.py
10030 * Scripts/modules/bugzilla.py:
10032 2009-07-24 Eli Fidler <eli.fidler@torchmobile.com>
10034 Reviewed by Adam Treat.
10036 Improve git workflow by populating commit messages with ChangeLog entries.
10037 https://bugs.webkit.org/show_bug.cgi?id=27605
10039 If the user doesn't manually modify the ChangeLog files, use
10040 prepare-ChangeLog to populate the git commit message. This behaviour
10041 can be disabled by the 'webkitGenerateCommitMessage' git configuration option.
10043 * Scripts/commit-log-editor:
10045 2009-07-24 David Levin <levin@chromium.org>
10047 Reviewed by Adam Treat.
10049 cpplint crash when there is a duplicate header followed by another header.
10050 https://bugs.webkit.org/show_bug.cgi?id=27625
10052 * Scripts/modules/cpplint.py: Ensure that include_state.header_types is updated even
10053 there is a duplicate header, which resulted in some code rearrangement. Also,
10054 changed some if's in this function to return early. This avoids having nearly the
10055 whole function content being indented.
10056 * Scripts/modules/cpplint_unittest.py: Added a test which would have exposed the crash.
10058 2009-07-24 Jakob Petsovits <jakob.petsovits@torchmobile.com>
10060 Reviewed by Adam Treat.
10062 Filetype support changes for cpplint and check_webkit_style
10063 https://bugs.webkit.org/show_bug.cgi?id=27653
10065 Introduce .c support for check_webkit_style, and remove support for
10066 .cc files in favor of .cpp.
10068 * Scripts/check-webkit-style:
10069 * Scripts/modules/cpplint.py:
10070 * Scripts/modules/cpplint_unittest.py:
10072 2009-07-24 Eli Fidler <eli.fidler@torchmobile.com>
10074 Reviewed by David Levin.
10076 Improve git workflow by populating commit messages with ChangeLog entries.
10077 https://bugs.webkit.org/show_bug.cgi?id=27605
10079 add --[no-]write prepare-ChangeLog options to bash completion
10081 * Scripts/webkit-tools-completion.sh:
10083 2009-07-24 Andrei Popescu <andreip@google.com>
10085 Reviewed by Anders Carlsson.
10087 ApplicationCache should have size limit
10088 https://bugs.webkit.org/show_bug.cgi?id=22700
10090 Adds a new method on the LayoutTestController that
10091 allows a JS unit test to configure the maximum size
10092 of the Application Cache.
10094 * DumpRenderTree/LayoutTestController.cpp:
10095 (setAppCacheMaximumSizeCallback):
10096 (LayoutTestController::staticFunctions):
10097 * DumpRenderTree/LayoutTestController.h:
10098 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
10099 (LayoutTestController::setAppCacheMaximumSize):
10100 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
10101 (LayoutTestController::setAppCacheMaximumSize):
10102 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
10103 (LayoutTestController::setAppCacheMaximumSize):
10104 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
10105 (LayoutTestController::setAppCacheMaximumSize):
10107 2009-07-24 Adam Barth <abarth@webkit.org>
10109 Rubber stamped by Eric Seidel.
10111 Added andersca to list of reviewers.
10113 * Scripts/modules/bugzilla.py:
10115 2009-07-24 Mark Rowe <mrowe@apple.com>
10117 Reviewed by Xan Lopez.
10119 Fix dozens of "Deallocation of a pointer not malloced" messages seen while running
10120 layout tests on the build bot.
10122 Memory allocated via FastMalloc was being deleted via the system memory allocator
10123 due to an inconsistent including of FastMalloc.h. We address this by including it
10124 from config.h and including config.h from every implementation file, as in our other
10127 * DumpRenderTree/ForwardingHeaders/wtf/FastMalloc.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/FastMalloc.h.
10128 * DumpRenderTree/config.h:
10129 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
10130 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
10131 * DumpRenderTree/mac/AppleScriptController.m:
10132 * DumpRenderTree/mac/CheckedMalloc.cpp:
10133 * DumpRenderTree/mac/DumpRenderTree.mm:
10134 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
10135 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
10136 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
10137 * DumpRenderTree/mac/EditingDelegate.mm:
10138 * DumpRenderTree/mac/EventSendingController.mm:
10139 * DumpRenderTree/mac/FrameLoadDelegate.mm:
10140 * DumpRenderTree/mac/GCControllerMac.mm:
10141 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
10142 * DumpRenderTree/mac/NavigationController.m:
10143 * DumpRenderTree/mac/ObjCController.m:
10144 * DumpRenderTree/mac/ObjCPlugin.m:
10145 * DumpRenderTree/mac/ObjCPluginFunction.m:
10146 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
10147 * DumpRenderTree/mac/PlainTextController.mm:
10148 * DumpRenderTree/mac/PolicyDelegate.mm:
10149 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
10150 * DumpRenderTree/mac/TextInputController.m:
10151 * DumpRenderTree/mac/UIDelegate.mm:
10152 * DumpRenderTree/mac/WorkQueueItemMac.mm:
10154 2009-07-24 Mark Rowe <mrowe@apple.com>
10156 Reviewed by Simon Hausmann.
10158 Add a command line option to run-javascriptcore-tests to explicitly opt out of attempting to rebuild JavaScriptCore.
10159 This is primarily useful to speed up the build bots where one machine builds JavaScriptCore and a second runs the tests,
10160 leading to situations where the build system unnecessarily feels that the need to recompile.
10162 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
10163 * Scripts/run-javascriptcore-tests:
10165 2009-07-23 Jan Michael Alonzo <jmalonzo@webkit.org>
10167 Reviewed by Eric Seidel.
10169 [Gtk] Add implementation of GCController for DRT
10170 https://bugs.webkit.org/show_bug.cgi?id=27636
10172 * DumpRenderTree/gtk/DumpRenderTree.cpp:
10173 (webViewWindowObjectCleared):
10175 * DumpRenderTree/gtk/GCControllerGtk.cpp:
10176 (GCController::collect):
10177 (GCController::collectOnAlternateThread):
10178 (GCController::getJSObjectCount):
10180 2009-07-23 Mark Rowe <mrowe@apple.com>
10182 Update build.webkit.org config for new machine.
10184 * BuildSlaveSupport/build.webkit.org-config/config.json:
10186 2009-07-23 Brady Eidson <beidson@apple.com>
10188 Remove accidentally checked in code.
10190 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
10191 (waitUntilDoneWatchdogFired):
10192 (LayoutTestController::setWaitToDump):
10194 2009-07-23 Brady Eidson <beidson@apple.com>
10196 Reviewed by Geoff Garen.
10198 WebCore has a few places that don't gracefully handle a null request returned from willSendRequest.
10199 https://bugs.webkit.org/show_bug.cgi?id=27595
10201 Add the ability to tell the LayoutTestController to return a null request for willSendRequest
10202 redirect callbacks.
10204 * DumpRenderTree/LayoutTestController.cpp:
10205 (LayoutTestController::LayoutTestController):
10206 (setWillSendRequestReturnsNullOnRedirectCallback):
10207 (LayoutTestController::staticFunctions):
10208 * DumpRenderTree/LayoutTestController.h:
10209 (LayoutTestController::willSendRequestReturnsNullOnRedirect):
10210 (LayoutTestController::setWillSendRequestReturnsNullOnRedirect):
10212 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
10213 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
10214 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
10215 (ResourceLoadDelegate::willSendRequest):
10217 2009-07-23 Mark Rowe <mrowe@apple.com>
10219 Reviewed Oliver Hunt.
10221 Fix DumpRenderTree to not fail an assertion on launch on a new machine.
10223 * DumpRenderTree/mac/DumpRenderTree.mm:
10224 (setDefaultsToConsistentValuesForTesting): Disable the XSS auditor. It being enabled
10225 breaks all of the JavaScript tests within testStringByEvaluatingJavaScriptFromString,
10226 which causes us to exit due to an assertion failure. It's not clear why the XSS auditor
10227 decides to interfere with these tests.
10229 2009-07-23 Mark Rowe <mrowe@apple.com>
10231 Reviewed by Oliver Hunt.
10233 Update default state of the XSS auditor in GTK DumpRenderTree to match Mac and Windows
10234 in hopes of fixing some layout test failures seen on the build bot.
10236 * DumpRenderTree/gtk/DumpRenderTree.cpp:
10237 (resetWebViewToConsistentStateBeforeTesting):
10239 2009-07-23 Jakob Petsovits <jakob.petsovits@torchmobile.com>
10241 Reviewed by Adam Treat.
10243 Fix false positives for switch statement indentation check in cpplint.
10244 https://bugs.webkit.org/show_bug.cgi?id=27615
10246 Makes one-line case statements (e.g. "case foo: bar();") work.
10247 Also a few general improvements to the robustness and readability of
10248 the check, and more test cases.
10250 * Scripts/modules/cpplint.py:
10251 * Scripts/modules/cpplint_unittest.py:
10253 2009-07-23 Jakob Petsovits <jakob.petsovits@torchmobile.com>
10255 Reviewed by Adam Treat.
10257 Add check for line-breaking rule #3 to cpplint.
10258 https://bugs.webkit.org/show_bug.cgi?id=27610
10260 "An else if statement should be written as an if statement when
10261 the prior if concludes with a return statement."
10263 Implemented by a multi-line (kind of back-tracking) algorithm.
10264 Comes with loads of unit tests. Fixes the check for label indentation
10265 to be not so overzealous, as it didn't allow for completely unindented
10266 goto labels (at the very start of a line).
10268 * Scripts/modules/cpplint.py:
10269 * Scripts/modules/cpplint_unittest.py:
10271 2009-07-23 Eli Fidler <eli.fidler@torchmobile.com>
10273 Reviewed by Adam Treat.
10275 Improve git workflow by populating commit messages with ChangeLog entries.
10276 https://bugs.webkit.org/show_bug.cgi?id=27605
10278 add --[no-]write option to optionally output new ChangeLog entries to
10279 stdout instead of modifying ChangeLog files
10281 fix Torch Mobile copyright
10283 * Scripts/prepare-ChangeLog:
10285 2009-07-23 Jakob Petsovits <jakob.petsovits@torchmobile.com>
10287 Reviewed by Adam Treat.
10289 Enable cpplint for .c files.
10290 https://bugs.webkit.org/show_bug.cgi?id=27604
10292 Also make sure that the check for NULL does not apply to .c files.
10294 * Scripts/modules/cpplint.py:
10295 * Scripts/modules/cpplint_unittest.py:
10297 2009-07-22 Steve Falkenburg <sfalken@apple.com>
10299 Checkpoint new Windows nightly launcher.
10301 Reviewed by Mark Rowe.
10303 * WebKitLauncherWin: Added.
10304 * WebKitLauncherWin/Resource.h: Added.
10305 * WebKitLauncherWin/WebKitLauncherWin.cpp: Added.
10306 (getStringValue): Retrieve a string registry value.
10307 (applePathFromRegistry): Get an Apple-related path out of the registry.
10308 (copyEnvironmentVariable): Copy an environment variable.
10309 (safariInstallDir): Helper function to get the install directory for Safari.
10310 (safariBrowserExe): Helper function to get the full path of the Safari executable.
10311 (_tWinMain): Locate Safari and launch it after setting up an environment variable.
10312 * WebKitLauncherWin/WebKitLauncherWin.h: Added.
10313 * WebKitLauncherWin/WebKitLauncherWin.rc: Added.
10314 * WebKitLauncherWin/WebKitLauncherWin.vcproj: Added.
10315 * WebKitLauncherWin/webkit.ico: Added.
10317 2009-07-22 David Levin <levin@chromium.org>
10319 Reviewed by Adam Treat.
10321 run-webkit-lint should be named check-webkit-style
10322 https://bugs.webkit.org/show_bug.cgi?id=27568
10324 This name better reflects the fact that it is about checking the style of files.
10326 * Scripts/check-webkit-style: Renamed from WebKitTools/Scripts/run-webkit-lint.
10328 2009-07-22 Takeshi Yoshino <tyoshino@google.com>
10330 Reviewed by Darin Adler.
10332 VC++ 2005 Express failed to build WebKit due to raw UTF-8 string in WebKit/win/WebCoreLocalizedStrings.cpp
10333 https://bugs.webkit.org/show_bug.cgi?id=26375
10335 Make it able to use hexadecimal escape sequences in .*UI_STRING(_KEY)? macros. Now,
10336 the extract-localizable-strings script unescapes hexadecimal escape sequences in string literals
10337 in the macros before writing out them into the file to update.
10339 By this fix, we can eliminate raw UTF-8 strings in source code while using raw UTF-16 big endian
10340 strings in the Localizable.strings file.
10342 Bonus: There's no longer extract-webkit-localizable-strings script. Fix usage message to guide
10343 users to update-webkit-localizable-strings.
10345 * Scripts/extract-localizable-strings:
10347 2009-07-22 Shinichiro Hamaji <hamaji@google.com>
10349 Reviewed by David Levin.
10351 Tiny typo fixes for cpplint.py
10352 https://bugs.webkit.org/show_bug.cgi?id=27530
10354 * Scripts/modules/cpplint.py:
10356 2009-07-22 Shinichiro Hamaji <hamaji@chromium.org>
10358 Reviewed by David Levin.
10360 run-webkit-lint checks code which are not changed
10361 https://bugs.webkit.org/show_bug.cgi?id=27529
10363 Add check if the line is newly added.
10365 * Scripts/run-webkit-lint:
10367 2009-07-22 Shinichiro Hamaji <hamaji@chromium.org>
10369 Reviewed by David Levin.
10371 run-webkit-lint should have --git-commit option
10372 https://bugs.webkit.org/show_bug.cgi?id=27528
10374 * Scripts/modules/cpplint.py:
10375 * Scripts/run-webkit-lint:
10377 2009-07-22 Peter Kasting <pkasting@google.com>
10379 Reviewed by David Kilzer.
10381 https://bugs.webkit.org/show_bug.cgi?id=27323
10382 Factor svn-create-patch's "determineSvnRoot()" into a function in
10383 VCSUtils.pm so commit-log-editor can use it too.
10385 * Scripts/VCSUtils.pm: Add determineSVNRoot().
10386 * Scripts/commit-log-editor: Use determineSVNRoot() instead of old
10387 code (which didn't work as well).
10388 * Scripts/svn-create-patch: Remove determineSvnRoot() (moved).
10390 2009-07-22 Jakob Petsovits <jakob.petsovits@torchmobile.com>
10392 Reviewed by Adam Treat.
10394 Fix false positives in namespace indentation checks.
10395 https://bugs.webkit.org/show_bug.cgi?id=27567
10397 The regular expression detecting goto labels (in order
10398 to skip those) was too permissive, which caused other
10399 code like "Foo::Bar()" to be treated as a label too,
10400 thereby not stopping the processing loop as expected.
10402 Now comes with a stricter regexp, and more demanding
10403 test cases to check for these issues.
10405 * Scripts/modules/cpplint.py:
10406 * Scripts/modules/cpplint_unittest.py:
10408 2009-07-22 Jakob Petsovits <jakob.petsovits@torchmobile.com>
10410 Reviewed by Adam Treat.
10412 Fix cpplint generating false positives for
10413 "primary" includes in headers.
10414 https://bugs.webkit.org/show_bug.cgi?id=27553
10416 Doing so by only flagging includes in header files
10417 as primary when the include filename exactly matches
10418 the header filename.
10420 * Scripts/modules/cpplint.py:
10421 * Scripts/modules/cpplint_unittest.py:
10423 2009-07-22 Jakob Petsovits <jakob.petsovits@torchmobile.com>
10425 Reviewed by Adam Treat.
10427 cpplint generates false positives for primary includes
10428 https://bugs.webkit.org/show_bug.cgi?id=27544
10430 Fix false positives for instances when cpplint would
10431 normally classify multiple includes as primary: After
10432 the first primary include, classify subsequent ones as
10433 "other" includes even if they look like primary ones.
10435 * Scripts/modules/cpplint.py:
10436 * Scripts/modules/cpplint_unittest.py:
10438 2009-07-22 Gabor Rapcsanyi <rapcsanyi.gabor@stud.u-szeged.hu>
10440 Reviewed by Simon Hausmann.
10442 Pass XAUTHORITY environment variable to $dumpTool as well.
10444 * Scripts/run-webkit-tests:
10446 2009-07-21 Jakob Petsovits <jakob.petsovits@torchmobile.com>
10448 Reviewed by Adam Treat.
10450 Add check for correct wtf includes to cpplint.
10451 https://bugs.webkit.org/show_bug.cgi?id=27524
10453 * Scripts/modules/cpplint.py:
10454 * Scripts/modules/cpplint_unittest.py:
10456 2009-07-21 Jakob Petsovits <jakob.petsovits@torchmobile.com>
10458 Reviewed by David Levin.
10460 Add checks for multi-line boolean operator placement.
10461 https://bugs.webkit.org/show_bug.cgi?id=27496
10463 * Scripts/modules/cpplint.py:
10464 * Scripts/modules/cpplint_unittest.py:
10466 2009-07-21 Adam Treat <adam.treat@torchmobile.com>
10468 Reviewed by David Levin.
10470 We can't match implementation file and primary header exactly
10471 since we have so many files in WebKit where the port suffix
10472 is appended to the filename.
10474 Example: FooQt.cpp and the primary header is Foo.h.
10476 * Scripts/modules/cpplint.py:
10478 2009-07-21 Jakob Petsovits <jakob.petsovits@torchmobile.com>
10480 Reviewed by David Levin.
10482 Add checks for switch statement indentation to cpplint.
10483 https://bugs.webkit.org/show_bug.cgi?id=27508
10485 * Scripts/modules/cpplint.py:
10486 * Scripts/modules/cpplint_unittest.py:
10488 2009-07-21 Kenneth Rohde Christiansen <kenneth@webkit.org>
10490 Reviewed by Adam Treat.
10492 Feature request: cpplint should check for braces - rule 2
10493 https://bugs.webkit.org/show_bug.cgi?id=27497
10495 Add the requested feature: Make sure { is on the same line
10496 as the foreach "keyword".
10498 * Scripts/modules/cpplint.py:
10499 * Scripts/modules/cpplint_unittest.py:
10501 2009-07-20 Jakob Petsovits <jakob.petsovits@torchmobile.com>
10503 Reviewed by David Levin.
10505 Add checks for namespace indentation to cpplint.
10506 https://bugs.webkit.org/show_bug.cgi?id=27461
10508 * Scripts/modules/cpplint.py:
10509 * Scripts/modules/cpplint_unittest.py:
10511 2009-07-20 Adam Treat <adam.treat@torchmobile.com>
10513 Reviewed by David Levin.
10515 Add cpplint check for proper include order
10516 https://bugs.webkit.org/show_bug.cgi?id=27462
10518 Add a new check to cpplint to flag cases where the include section of a file
10519 does not match the mandated include order and style of the Webkit coding style
10522 Add associated tests.
10524 * Scripts/modules/cpplint.py:
10525 * Scripts/modules/cpplint_unittest.py:
10527 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
10529 Reviewed by David Levin.
10531 Support lint for patches
10532 https://bugs.webkit.org/show_bug.cgi?id=27291
10534 Add run-webkit-lint script, which lints recent changes in local
10535 repository. Also, modified cpplint.py so that we don't need to
10536 specify verbose level for process_file().
10538 * Scripts/modules/cpplint.py:
10539 * Scripts/run-webkit-lint: Added.
10541 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
10543 Reviewed by David Levin.
10545 diff_parser should accept lines without trailing \n
10546 https://bugs.webkit.org/show_bug.cgi?id=27483
10548 Normalize the input lines by removing a trailing newline.
10549 Also, add a case for unittest for newly added files.
10551 * Scripts/modules/diff_parser.py:
10552 * Scripts/modules/diff_parser_unittest.py:
10554 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
10556 Reviewed by David Levin.
10558 cpplint.py's process_file() should accept customized error function
10559 https://bugs.webkit.org/show_bug.cgi?id=27487
10561 * Scripts/modules/cpplint.py:
10563 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
10565 Reviewed by David Levin.
10567 cpplint.py should have an interface to get global error count
10568 https://bugs.webkit.org/show_bug.cgi?id=27486
10570 * Scripts/modules/cpplint.py:
10571 * Scripts/modules/cpplint_unittest.py:
10573 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
10575 Reviewed by David Levin.
10577 cpplint's parse_argument should not exit even if no files are specified
10578 https://bugs.webkit.org/show_bug.cgi?id=27489
10580 * Scripts/modules/cpplint.py:
10581 * Scripts/modules/cpplint_unittest.py:
10583 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
10585 Reviewed by David Levin.
10587 diff_parser: s/add_deleted_line/add_old_line/g
10588 https://bugs.webkit.org/show_bug.cgi?id=27484
10590 * Scripts/modules/diff_parser.py:
10592 2009-07-21 Roland Steiner <rolandsteiner@google.com>
10594 Reviewed by David Levin.
10596 Add ENABLE_RUBY to list of build options
10597 https://bugs.webkit.org/show_bug.cgi?id=27324
10599 * Scripts/build-webkit: Added flag ENABLE_RUBY.
10601 2009-07-20 Mark Rowe <mrowe@apple.com>
10603 Reviewed by David D. Kilzer.
10605 Fix <https://bugs.webkit.org/show_bug.cgi?id=27482>.
10606 Bug 27482: svn-apply cannot apply patch generated by Windows SVN
10608 A regexp in svn-apply was treating everything prior to a \n as part of the
10609 file name. The native Windows SVN client uses \r\n for line endings which
10610 meant that the \r was being included in the file name. This defeated the
10611 special-case logic for ChangeLogs to apply them with an increased fuzz factor,
10612 meaning that the ChangeLog portions of such patches would fail to apply.
10614 Also updated two other regexps that look like they would hit similar problems
10615 with line-endings so that they will correctly handle patches from Windows SVN.
10617 * Scripts/svn-apply:
10619 2009-07-20 Peter Kasting <pkasting@google.com>
10621 Reviewed by Mark Rowe.
10623 https://bugs.webkit.org/show_bug.cgi?id=27468
10624 Back out r46060, which caused problems for some Apple developers.
10626 * DumpRenderTree/win/DumpRenderTree.vcproj:
10627 * DumpRenderTree/win/ImageDiff.vcproj:
10628 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
10630 2009-07-20 Peter Kasting <pkasting@google.com>
10632 Reviewed by Darin Adler.
10634 https://bugs.webkit.org/show_bug.cgi?id=27323
10635 Use shorter, more correct code for determining the current directory,
10636 which works better with symbolic links on some systems. Also switch
10637 from checking repository root to checking UUID, to match scm.py.
10639 * Scripts/svn-create-patch:
10641 2009-07-20 Mark Rowe <mrowe@apple.com>
10643 Rubber-stamped by Dan Bernstein.
10645 Work around <rdar://problem/7075373> by ensuring that the URL is absolute before handing it off to CoreText.
10647 * DumpRenderTree/mac/DumpRenderTree.mm:
10650 2009-07-20 David Levin <levin@chromium.org>
10652 Reviewed by Adam Treat.
10654 Enable filename completion for run-webkit-test (added "-o default").
10656 * Scripts/webkit-tools-completion.sh:
10658 2009-07-20 Simon Hausmann <simon.hausmann@nokia.com>
10660 No review, just adding Gavin Barraclough as reviewer.
10662 * Scripts/modules/bugzilla.py:
10664 2009-07-20 Kenneth Rohde Christiansen <kenneth@webkit.org>
10666 Reviewed by David Levin.
10668 Add support for Qt's foreach to cpplint
10669 https://bugs.webkit.org/show_bug.cgi?id=27386
10671 * Scripts/modules/cpplint.py:
10672 * Scripts/modules/cpplint_unittest.py:
10674 2009-07-18 Jan Michael Alonzo <jmalonzo@webkit.org>
10676 https://bugs.webkit.org/show_bug.cgi?id=27145
10677 [Gtk][REGRESSION] subframe-navigate-during-main-frame-load.html fails after r45615
10679 Reviewed by Gustavo Noronha.
10681 Normalize file URLs.
10683 * DumpRenderTree/gtk/DumpRenderTree.cpp:
10686 2009-07-17 Peter Kasting <pkasting@google.com>
10688 Reviewed by David Kilzer.
10690 https://bugs.webkit.org/show_bug.cgi?id=27323
10691 Further improve non-Cygwin SVN support.
10693 * Scripts/prepare-ChangeLog: Harmless change to be consistent with other
10694 places that consume whitespace at the end of svn output.
10695 * Scripts/resolve-ChangeLogs: Add support for SVN 1.6. Slightly
10696 optimize svn info parsing based on technique in svn-create-patch.
10697 Normalize paths and consume whitespace in the same way as
10698 prepare-ChangeLog, for Windows systems with a non-Cygwin SVN. Force
10699 diff and patch to run in binary mode so that they won't
10700 "intelligently" screw up line endings.
10702 2009-07-18 Simon Fraser <simon.fraser@apple.com>
10704 Fix Tiger DRT build.
10706 * DumpRenderTree/mac/DumpRenderTree.mm:
10707 (createWebViewAndOffscreenWindow):
10708 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
10710 2009-07-17 Simon Fraser <simon.fraser@apple.com>
10712 Reviewed by Dan Bernstein.
10714 DRT doesn't reliably snapshot composited layers
10715 https://bugs.webkit.org/show_bug.cgi?id=27399
10717 If we're doing an "onscreen" pixel capture, it means that we're snapshotting a view
10718 with composited content. In that case we need to force the view to display so that
10719 the composited layers are rendered to the screen.
10721 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
10722 (createBitmapContextFromWebView):
10724 2009-07-17 Adam Barth <abarth@webkit.org>
10726 Reviewed by David Levin.
10728 bugzilla-tool does not understand nested SVN repos
10729 https://bugs.webkit.org/show_bug.cgi?id=27404
10731 Determine the root of the working copy by looking at SVN's UUIDs.
10733 * Scripts/modules/scm.py:
10735 2009-07-17 David Levin <levin@chromium.org>
10737 Reviewed by Mark Rowe.
10739 webkit-tools-completion.sh has two typos and sorting issues.
10740 https://bugs.webkit.org/show_bug.cgi?id=27401
10742 * Scripts/webkit-tools-completion.sh: Fix two typos "--dif" and "-clean".
10743 Also, sort all lists including items in the case statement and flags for
10746 2009-07-17 Peter Kasting <pkasting@google.com>
10748 Reviewed by David Kilzer.
10750 https://bugs.webkit.org/show_bug.cgi?id=27323
10751 Tweak some regexes for correctness.
10753 * Scripts/prepare-ChangeLog: Allow 1-character filenames (my previous
10754 change here didn't quite get things right).
10755 * Scripts/update-webkit: Detect conflicting ChangeLogs correctly by not
10756 including any trailing whitespace in the name "ChangeLog", and by
10757 normalizing paths before calling basename() to avoid confusing it.
10758 (normalizePath() copied from prepare-ChangeLog.)
10760 2009-07-17 Peter Kasting <pkasting@google.com>
10762 Reviewed by Steve Falkenburg.
10764 https://bugs.webkit.org/show_bug.cgi?id=27323
10765 Only add Cygwin to the path when it isn't already there. This avoids
10766 causing problems for people who purposefully have non-Cygwin versions of
10767 executables like svn in front of the Cygwin ones in their paths.
10769 * DumpRenderTree/win/DumpRenderTree.vcproj:
10770 * DumpRenderTree/win/ImageDiff.vcproj:
10771 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
10773 2009-07-17 David Levin <levin@chromium.org>
10775 Reviewed by Adam Treat.
10777 WebKit should have a bash completion script to aid with common commands.
10778 https://bugs.webkit.org/show_bug.cgi?id=27374
10780 * Scripts/webkit-tools-completion.sh: The script which enables option completion
10781 for several WebKit command line scripts.
10783 2009-07-17 Peter Kasting <pkasting@google.com>
10785 Reviewed by David Kilzer.
10787 https://bugs.webkit.org/show_bug.cgi?id=27323
10788 Avoid error spew on Macs, and fix a few other tiny details.
10790 * Scripts/svn-create-patch:
10792 2009-07-17 Adam Treat <adam.treat@torchmobile.com>
10794 Reviewed by Dave Levin.
10796 https://bugs.webkit.org/show_bug.cgi?id=27377
10797 This makes cpplint complain about this for instance:
10804 Add the appropriate unit tests.
10806 * Scripts/modules/cpplint.py:
10807 * Scripts/modules/cpplint_unittest.py:
10809 2009-07-17 Adam Treat <adam.treat@torchmobile.com>
10811 Reviewed by Dave Levin.
10813 https://bugs.webkit.org/show_bug.cgi?id=27377
10814 Don't filter whitespace at the end of the line. This is not
10815 explicitly a rule of webkit coding style, but there is no reason
10816 not to warn of this common style problem.
10818 Don't filter whitespace newline. Now, cpplint will complain
10819 about the following situation:
10823 doSomethingAgain();
10828 Which is a webkit coding style rule violation.
10830 * Scripts/modules/cpplint.py:
10832 2009-07-17 Adam Treat <adam.treat@torchmobile.com>
10834 Reviewed by Dave Levin.
10836 https://bugs.webkit.org/show_bug.cgi?id=27377
10837 Move this comment to where it belongs.
10839 * Scripts/modules/cpplint_unittest.py:
10841 2009-07-17 Brent Fulgham <bfulgham@webkit.org>
10843 Reviewed by Adam Roben.
10845 Correct crash in WinLauncher due to improper mixing of BSTR
10847 https://bugs.webkit.org/show_bug.cgi?id=27381
10849 * WinLauncher/WinLauncher.cpp:
10850 (loadURL): Perform SysReAllocString to update the BSTR with
10851 the contents of the TCHAR string.
10853 2009-07-17 David Levin <levin@chromium.org>
10855 Reviewed by Adam Treat.
10857 cpplint should flag usages of NULL.
10858 https://bugs.webkit.org/show_bug.cgi?id=27341
10860 * Scripts/modules/cpplint.py: Add the check for NULL test and call it.
10861 Make the collapse_strings method public.
10862 * Scripts/modules/cpplint_unittest.py: Add several tests to verify
10863 the check for NULL behavior. Adjust existing tests due to the
10865 1. Several had NULL removed (or were just removed completely).
10866 2. Two tests now do an assert that allows the caller to check
10867 that a particular error is one of several that was returned.
10869 2009-07-17 Shinichiro Hamaji <hamaji@chromium.org>
10871 Reviewed by David Levin.
10873 Add a parser of patches for linter.
10874 https://bugs.webkit.org/show_bug.cgi?id=27363
10876 Adds a simple parser for unified diff format.
10878 * Scripts/modules/diff_parser.py: Added.
10879 * Scripts/modules/diff_parser_unittest.py: Added.
10881 2009-06-30 Holger Hans Peter Freyther <zecke@selfish.org>
10883 Reviewed by Simon Hausmann.
10885 [GTK+] Remove check to be loadable in firefox
10886 https://bugs.webkit.org/show_bug.cgi?id=27345
10888 if (aMozillaVTable->size < sizeof (NPNetscapeFuncs))
10889 fails in firefox but no other example in the mozilla tree is
10890 doing that check. Remove and be happy.
10892 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
10895 2009-07-17 Adam Treat <adam.treat@torchmobile.com>
10897 Reviewed by Simon Hausmann.
10899 Something about having a single TAB in a style checking tool like this
10900 is equivalent to nails on a chalk board to me...
10902 * Scripts/modules/cpplint.py:
10904 2009-07-17 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>
10906 Reviewed by Simon Hausmann.
10908 Overwrite the plugin directories for the DRT.
10909 Part of https://bugs.webkit.org/show_bug.cgi?id=27215
10911 * DumpRenderTree/qt/DumpRenderTree.cpp:
10912 (WebCore::DumpRenderTree::DumpRenderTree):
10914 2009-07-16 Fumitoshi Ukai <ukai@chromium.org>
10916 Reviewed by David Levin.
10918 Add --web-sockets flag and ENABLE_WEB_SOCKETS define.
10919 https://bugs.webkit.org/show_bug.cgi?id=27206
10921 Add --web-sockets flag.
10923 * Scripts/build-webkit: add --web-sockets flag.
10925 2009-07-16 Adam Treat <adam.treat@torchmobile.com>
10927 Reviewed by Dave Levin.
10929 cpplint should check for one line control clauses that are surrounded
10931 https://bugs.webkit.org/show_bug.cgi?id=27354
10933 * Scripts/modules/cpplint.py: Added the new lint check.
10934 * Scripts/modules/cpplint_unittest.py: Add tests for the new lint check
10935 and fix the other tests as they were not passing this new lint check.
10937 2009-07-16 Peter Kasting <pkasting@google.com>
10939 Reviewed by David Kilzer.
10941 https://bugs.webkit.org/show_bug.cgi?id=27323
10942 Improve support for WebKit checkouts hosted inside other checkouts
10943 (possible for some ports, e.g. Chromium).
10945 * Scripts/svn-create-patch: Determine SVN root by looking for Repository
10946 Root string and aborting when it's missing or different than what
10947 we've already seen.
10949 2009-07-16 Peter Kasting <pkasting@google.com>
10951 Reviewed by Adam Roben.
10953 https://bugs.webkit.org/show_bug.cgi?id=27323
10954 Improve support for non-Cygwin SVNs on Windows.
10956 * Scripts/commit-log-editor: Modify regex so that trailing whitespace
10957 (e.g. \r) isn't included in filenames.
10958 * Scripts/prepare-ChangeLog: Fix a case of adding "\n" to the ChangeLog
10959 without normalizing. Normalize file paths early instead of late so
10960 all stages of the script work. Modify regexes so that trailing
10961 whitespace (e.g. \r) isn't included in filenames.
10962 * Scripts/svn-create-patch: Use a regex instead of chomp so we cut off
10963 line endings even if they don't match Perl's.
10965 2009-07-16 Joseph Pecoraro <joepeck02@gmail.com>
10967 Reviewed by Darin Adler.
10969 WebKitTools/Scripts/svn-create-patch is broken
10970 https://bugs.webkit.org/show_bug.cgi?id=27328
10972 * Scripts/svn-create-patch: one line fix for unusual perl behavior
10974 2009-07-16 David Levin <levin@chromium.org>
10976 Reviewed by David Kilzer.
10978 cpplint should check for equality comparisons to 0/true/false
10979 https://bugs.webkit.org/show_bug.cgi?id=27333
10981 * Scripts/modules/cpplint.py: Added the new lint check.
10982 * Scripts/modules/cpplint_unittest.py: Add tests for the new lint check
10983 and fix a regex that in another unit test that caused it to fail when
10984 you have a directory with a number in it (like WebKit-2)
10986 2009-07-16 David D. Kilzer <ddkilzer@webkit.org>
10988 <http://webkit.org/b/27241> bugzilla-tool post-commits silently fails with bad args
10990 Reviewed by Eric Seidel.
10992 * Scripts/bugzilla-tool:
10993 (PostCommitsAsPatchesToBug.execute): Added more error checking
10994 when consuming arguments.
10996 2009-07-16 David D. Kilzer <ddkilzer@webkit.org>
10998 TOOL FIX: scm.py: CommitMessage.message is ambiguous
11000 Fixes this error when running bugzilla-tool apply-patches
11003 File "bugzilla-tool", line 188, in apply_patches
11004 scm.commit_locally_with_message(commit_message.message() or patch['name'])
11005 TypeError: 'list' object is not callable
11007 * Scripts/modules/scm.py: After r45940 (and r45971), rename
11008 CommitMessage.message attribute to CommitMessage.message_lines.
11009 (CommitMessage.__init__):
11010 (CommitMessage.body):
11011 (CommitMessage.description):
11012 (CommitMessage.message):
11013 (CommitMessage.parse_bug_id):
11015 2009-07-16 David D. Kilzer <ddkilzer@webkit.org>
11017 TOOL FIX: bugzilla-tool: import CommitMessage class
11019 * Scripts/bugzilla-tool: After r45940, the CommitMessage class
11020 needs to be imported for commit_message_for_this_commit().
11022 2009-07-16 David Levin <levin@chromium.org>
11024 Reviewed by Maciej Stachowiak.
11026 prepare-ChangeLog should display the --bug option in its help text.
11027 https://bugs.webkit.org/show_bug.cgi?id=27334
11029 * Scripts/prepare-ChangeLog: Added the help text.
11031 2009-07-15 Darin Adler <darin@apple.com>
11033 * Scripts/do-webcore-rename: Check in the version used to
11034 rename parseURL to deprecatedParseURL.
11036 2009-07-10 David Kilzer <ddkilzer@apple.com>
11038 bugzilla-tool: create CommitMessage class
11040 Reviewed by Eric Seidel.
11042 Create a CommitMessage class to encapsulate related code.
11044 * Scripts/bugzilla-tool:
11045 (bug_id_from_commit_message): Moved to
11046 CommitMessage.parse_bug_id().
11047 (commit_message_for_this_commit): Return a CommitMessage.
11048 (ApplyPatchesFromBug.apply_patches): Use CommitMessage.message().
11049 (LandPatchesFromBugs.build_and_commit): Ditto.
11050 (CommitMessageForCurrentDiff.execute): Ditto.
11051 (PostCommitsAsPatchesToBug.execute): Switched from
11052 Git.commit_message_for_commit() to
11053 Git.commit_message_for_local_commit(). Switched from
11054 bug_id_from_commit_message() to CommitMessage.parse_bug_id().
11056 * Scripts/modules/scm.py:
11057 (first_non_empty_line_after_index): Added.
11058 (CommitMessage.__init__): Added.
11059 (CommitMessage.body): Added.
11060 (CommitMessage.description): Added.
11061 (CommitMessage.message): Added.
11062 (CommitMessage.parse_bug_id): Added. Moved from
11063 bug_id_from_commit_message() in bugzilla-tool.
11064 (Git.commit_message_for_local_commit): Renamed from
11065 commit_message_for_commit(). Return a CommitMessage.
11067 2009-07-15 Joseph Pecoraro <joepeck02@gmail.com>
11069 Reviewed by David Kilzer.
11071 bugzilla-tool/svn-apply can't handle patches made from a non-root directory
11072 https://bugs.webkit.org/show_bug.cgi?id=26999
11074 * Scripts/svn-create-patch:
11076 2009-07-15 Shinichiro Hamaji <hamaji@chromium.org>
11078 Reviewed by David Levin.
11080 Move cpplint.py to module directory
11081 https://bugs.webkit.org/show_bug.cgi?id=27302
11083 * Scripts/modules/cpplint.py: Renamed from WebKitTools/Scripts/cpplint.py.
11084 * Scripts/modules/cpplint_unittest.py: Renamed from WebKitTools/Scripts/cpplint_unittest.py.
11086 2009-07-15 Simon Hausmann <simon.hausmann@nokia.com>
11088 Reviewed by Adam Treat.
11090 https://bugs.webkit.org/show_bug.cgi?id=27295
11092 Re-implement QWebPage::shouldInterruptJavaScript to disable
11093 js interruption and avoid showing a messagebox during Qt DRT
11094 runs when script execution takes a bit longer.
11096 * DumpRenderTree/qt/DumpRenderTree.cpp:
11097 (WebCore::WebPage::shouldInterruptJavaScript): Return false
11098 in re-implemented slot.
11100 2009-07-15 Zoltan Horvath <hzoltan@inf.u-szeged.hu>
11102 Reviewed by Jan Alonzo.
11104 Fix the DumpRenderTree GTK+ build
11105 https://bugs.webkit.org/show_bug.cgi?id=27290
11107 Set USE_SYSTEM_MALLOC macro for the DumpRenderTree build to
11108 disable using TCmalloc in DumpRenderTree.
11112 2009-07-14 Steve Falkenburg <sfalken@apple.com>
11114 Reorganize JavaScriptCore headers into:
11115 API: include/JavaScriptCore/
11116 Private: include/private/JavaScriptCore/
11118 Reviewed by Darin Adler.
11120 * DumpRenderTree/win/DumpRenderTree.vcproj:
11121 * DumpRenderTree/win/ImageDiff.vcproj:
11123 2009-07-14 Shinichiro Hamaji <hamaji@chromium.org>
11125 Reviewed by David Levin.
11127 WebKit needs a style linting tool
11128 https://bugs.webkit.org/show_bug.cgi?id=25884
11130 Modifies cpplint (http://google-styleguide.googlecode.com/svn/trunk/cpplint/)
11131 based on WebKit's style guide.
11133 * Scripts/cpplint.py: Added.
11134 * Scripts/cpplint_unittest.py: Added.
11136 2009-07-14 Laszlo Gombos <laszlo.1.gombos@nokia.com>
11138 Reviewed by Simon Hausmann.
11140 [Qt] DumpRenderTree no longer builds with Qt4.4
11141 https://bugs.webkit.org/show_bug.cgi?id=27257
11143 Flag Qt 4.5 dependency to allow building with Qt 4.4.
11145 * DumpRenderTree/qt/main.cpp:
11148 2009-07-13 Brent Fulgham <bfulgham@webkit.org>
11150 Reviewed by Adam Roben.
11152 Add new configuration flag for redistributable Windows build.
11153 https://bugs.webkit.org/show_bug.cgi=27087
11155 * DumpRenderTree/config.h: Check for presence of WIN_CAIRO and
11156 select appropriate configuration. Defaults to standard Apple build.
11157 * DumpRenderTree/win/DumpRenderTree.vcproj: Add new WinCairo.vsprops
11158 to Debug_Cairo and Release_Cairo targets.
11160 2009-07-13 Simon Hausmann <simon.hausmann@nokia.com>
11162 Reviewed by Ariya Hidayat.
11164 Always run the Qt DRT with the raster graphicssystem on X11, for
11165 increased stability in the image based tests, in particular canvas.
11167 * DumpRenderTree/qt/main.cpp:
11170 2009-07-13 Simon Hausmann <simon.hausmann@nokia.com>
11172 Reviewed by Ariya Hidayat.
11174 Fix test netscape plugin usage with the Qt DRT.
11176 * DumpRenderTree/qt/DumpRenderTree.cpp:
11177 (WebCore::WebPage::WebPage): Enable plugins in the settings.
11178 * Scripts/run-webkit-tests: Set the QT_WEBKIT_PLUGIN path to the correct build
11179 directory to make Qt DRT find the test netscape plugin.
11181 2009-07-13 Simon Hausmann <hausmann@webkit.org>
11183 Reviewed by Ariya Hidayat.
11185 Make sure to disable the fixed contents size when resetting the page/view
11186 state between test runs, to avoid side-effects.
11188 * DumpRenderTree/qt/DumpRenderTree.cpp:
11189 (WebCore::DumpRenderTree::open): Call setFixedContentsSize() with an invalid
11190 QSize to disable the fixed layout.
11192 2009-07-13 Simon Hausmann <hausmann@webkit.org>
11194 Reviewed by Ariya Hidayat.
11196 When creating new windows, don't forget to connect the new
11197 page's main frame. This ensures that for example the layoutTestController
11198 is also available there.
11200 * DumpRenderTree/qt/DumpRenderTree.cpp:
11201 (WebCore::DumpRenderTree::createWindow):
11203 2009-07-13 Simon Hausmann <hausmann@webkit.org>
11205 Reviewed by Ariya Hidayat.
11207 Added support for LayoutTestController.setPrivateBrowsingEnabled.
11209 * DumpRenderTree/qt/jsobjects.cpp:
11210 (LayoutTestController::reset):
11211 (LayoutTestController::setPrivateBrowsingEnabled):
11212 * DumpRenderTree/qt/jsobjects.h:
11214 2009-07-13 Simon Hausmann <hausmann@webkit.org>
11216 Reviewed by Ariya Hidayat.
11218 Added support for database callbacks, storage quota setting,
11219 and clearing of all databases.
11221 * DumpRenderTree/qt/DumpRenderTree.cpp:
11222 (WebCore::DumpRenderTree::DumpRenderTree):
11223 (WebCore::DumpRenderTree::dumpDatabaseQuota):
11224 * DumpRenderTree/qt/DumpRenderTree.h:
11225 * DumpRenderTree/qt/jsobjects.cpp:
11226 (LayoutTestController::reset):
11227 (LayoutTestController::setDatabaseQuota):
11228 (LayoutTestController::clearAllDatabases):
11229 * DumpRenderTree/qt/jsobjects.h:
11230 (LayoutTestController::shouldDumpDatabaseCallbacks):
11231 (LayoutTestController::dumpDatabaseCallbacks):
11232 * DumpRenderTree/qt/main.cpp:
11235 2009-07-13 Simon Hausmann <hausmann@webkit.org>
11237 Reviewed by Ariya Hidayat.
11239 Setup the path in the Qt DRT for HTML 5 Databases, to enable some of
11240 the storage layout tests.
11242 * DumpRenderTree/qt/main.cpp:
11245 2009-07-13 Simon Hausmann <hausmann@webkit.org>
11247 Reviewed by Ariya Hidayat.
11249 Make the test output more robust by dumping only when the main
11250 frame finishes loading, instead of when _any_ frame finishes.
11252 * DumpRenderTree/qt/DumpRenderTree.cpp:
11253 (WebCore::DumpRenderTree::DumpRenderTree): Connect to the
11254 main frame's loadFinished() signal instead of the page's one.
11256 2009-07-13 Simon Hausmann <hausmann@webkit.org>
11258 Reviewed by Ariya Hidayat.
11260 Implement the GCController DRT interface.
11262 * DumpRenderTree/qt/DumpRenderTree.cpp:
11263 (WebCore::DumpRenderTree::DumpRenderTree): Allocate the GCController.
11264 (WebCore::DumpRenderTree::initJSObjects): Register the interface with the JS engine.
11265 * DumpRenderTree/qt/DumpRenderTree.h: Declare m_gcController.
11266 * DumpRenderTree/qt/jsobjects.cpp: Implement GCController.
11267 (GCController::GCController):
11268 (GCController::collect):
11269 (GCController::collectOnAlternateThread):
11270 (GCController::getJSObjectCount):
11271 * DumpRenderTree/qt/jsobjects.h: Declare GCController.
11273 2009-07-13 Simon Hausmann <hausmann@webkit.org>
11275 Reviewed by Ariya Hidayat.
11277 Implement the GCController DRT interface in the Qt DRT.
11279 * DumpRenderTree/qt/DumpRenderTree.cpp:
11280 (WebCore::DumpRenderTree::DumpRenderTree): Allocate the GCController.
11281 (WebCore::DumpRenderTree::initJSObjects): Register the interface with the JS engine.
11282 * DumpRenderTree/qt/DumpRenderTree.h: Declare m_gcController.
11283 * DumpRenderTree/qt/jsobjects.cpp: Implement GCController.
11284 (GCController::GCController):
11285 (GCController::collect):
11286 (GCController::collectOnAlternateThread):
11287 (GCController::getJSObjectCount):
11288 * DumpRenderTree/qt/jsobjects.h: Declare GCController.
11290 2009-07-13 Jan Michael Alonzo <jmalonzo@webkit.org>
11292 https://bugs.webkit.org/show_bug.cgi?id=26718 [Gtk] Add support for javascript windows for DRT
11294 Reviewed by Gustavo Noronha and Xan Lopez.
11296 Support running of tests that open and close JS windows automatically.
11298 * DumpRenderTree/gtk/DumpRenderTree.cpp:
11299 (dumpFramesAsText):
11300 (dumpBackForwardListForAllWebViews):
11301 (resetWebViewToConsistentStateBeforeTesting):
11308 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
11309 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
11310 (LayoutTestController::windowCount):
11311 (LayoutTestController::setPopupBlockingEnabled):
11313 2009-07-13 Shinichiro Hamaji <hamaji@chromium.org>
11315 Reviewed by Maciej Stachowiak.
11317 prepare-ChangeLog should decode HTML entities in short description
11318 https://bugs.webkit.org/show_bug.cgi?id=27122
11320 Decode the short description by adding a function which decodes HTML
11321 entities. It can decode &, <, >, ", and ' . They may be sufficient
11322 as the description seems to be encoded by xml_quote in
11323 http://mxr.mozilla.org/bugzilla/source/Bugzilla/Util.pm
11325 * Scripts/prepare-ChangeLog:
11327 2009-07-13 Drew Wilson <atwilson@google.com>
11329 Reviewed by David Levin.
11331 Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs
11332 https://bugs.webkit.org/show_bug.cgi?id=26932
11334 Added support for --shared-workers (turned off by default)
11336 * Scripts/build-webkit:
11338 2009-07-12 Dan Bernstein <mitz@apple.com>
11340 Reviewed by Maciej Stachowiak.
11342 https://bugs.webkit.org/show_bug.cgi?id=27196
11343 Update check-for-global-initializers for the renaming for bidi.cpp to
11344 RenderBlockLineLayout.cpp
11346 * Scripts/check-for-global-initializers:
11348 2009-07-11 Simon Fraser <simon.fraser@apple.com>
11350 Enable support for accelerated compositing and 3d transforms on Leopard.
11351 <https://bugs.webkit.org/show_bug.cgi?id=20166>
11352 <rdar://problem/6120614>
11354 Reviewed by Oliver Hunt.
11356 * Configurations/FeatureDefines.xcconfig:
11359 2009-07-10 David Kilzer <ddkilzer@apple.com>
11361 <http://webkit.org/b/27173> svn-apply: Fix typo in git command used to find deleted files
11363 Reviewed by Eric Seidel.
11365 * Scripts/svn-apply:
11366 (scmWillDeleteFile): Changed 'head' to 'HEAD'.
11368 2009-07-10 David Kilzer <ddkilzer@apple.com>
11370 <http://webkit.org/b/27167> bugzilla-tool: hide help for unsupported commands
11372 Reviewed by Eric Seidel.
11374 When bugzilla-tool -h|--help is invoked in an svn working
11375 directory, don't print help for commands that are only supported
11376 on git working directories.
11378 * Scripts/bugzilla-tool:
11379 (Command.__init__): Added requires_local_commits argument with a
11380 default of False. Set self.requires_local_commits attribute.
11381 (PostCommitsAsPatchesToBug.execute): Removed
11382 SCM.supports_local_commits() check since this is now handled by
11383 BugzillaTool.main().
11384 (PostCommitsAsPatchesToBug.__init__): Added
11385 requires_local_commits=True argument to Command.__init__().
11386 (BugzillaTool.commands_usage): Don't print help for commands if
11387 they require local commits and the current SCM doesn't support
11389 (BugzillaTool.main): If command_object requires local commits
11390 and the current SCM doesn't, exit with an error message.
11392 2009-07-10 David Kilzer <ddkilzer@apple.com>
11394 <http://webkit.org/b/27117> bugzilla-tool: use Mac OS X keychain for authentication
11396 Reviewed by Eric Seidel.
11398 Try reading credentials from git config first, then keychain if
11399 running on Mac OS X, else prompt at the command-line.
11401 * Scripts/modules/bugzilla.py: Added "import platform".
11402 (credentials_from_git): Added.
11403 (credentials_from_keychain): Added.
11404 (is_mac_os_x): Added.
11405 (read_credentials): Added.
11406 (Bugzilla.__init__): Moved instance attribute bug_server to a
11407 static attribute named bug-server_url.
11408 (Bugzilla.bug_server_host): Added. Extracted host name from
11410 (Bugzilla.bug_server_regex): Updated to be created using
11412 (Bugzilla.bug_server_url): Renamed from bug_server.
11413 (Bugzilla.bug_url_for_bug_id): Updated for renaming of
11414 bug_server to bug_server_url.
11415 (Bugzilla.attachment_url_for_id): Ditto.
11416 (Bugzilla.fetch_bug_ids_from_commit_queue): Ditto.
11417 (Bugzilla.authenticate): Ditto. Updated to use
11418 read_credentials().
11419 (Bugzilla.add_patch_to_bug): Ditto.
11421 2009-07-10 David Kilzer <ddkilzer@apple.com>
11423 <http://webkit.org/b/27115> bugzilla-tool: extract duplicate logging methods into a module
11425 Reviewed by Adam Roben.
11427 * Scripts/bugzilla-tool: Removed error() and log() methods and
11428 added import of new logging module.
11429 * Scripts/modules/bugzilla.py: Ditto. Removed "import sys".
11430 * Scripts/modules/scm.py: Ditto.
11432 * Scripts/modules/logging.py: Added.
11434 (error): Added. Prefix error messages with "ERROR: ".
11436 2009-07-10 Adam Roben <aroben@apple.com>
11438 Sort all our Xcode projects
11440 Accomplished using sort-Xcode-project-file.
11442 Requested by Dave Kilzer.
11444 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
11445 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11446 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
11448 2009-07-10 Adam Roben <aroben@apple.com>
11450 Print prepare-ChangeLog's reminders to STDERR so they don't end up in
11453 Fixes REGRESSION (r45647): prepare-ChangeLog -d puts non-diff lines
11455 <https://bugs.webkit.org/show_bug.cgi?id=27150>
11457 Reviewed by Maciej Stachowiak.
11459 * Scripts/prepare-ChangeLog:
11461 2009-07-08 Adam Roben <aroben@apple.com>
11463 Use case-insensitive comparisons when sorting Xcode project files
11465 This matches the sorting used in Xcode's files list.
11467 Fixes Bug 27079: sort-Xcode-project-file should sort
11468 case-insensitively, to match Xcode's files list
11469 <https://bugs.webkit.org/show_bug.cgi?id=27079>
11471 Reviewed by Dave Kilzer.
11473 * Scripts/sort-Xcode-project-file:
11474 (sortChildrenByFileName):
11475 (sortFilesByFileName):
11476 Lowercase the strings before comparing them so that the comparison
11477 will be case-insensitive.
11479 2009-07-08 Simon Hausmann <hausmann@webkit.org>
11481 Reviewed by Holger Freyther.
11483 https://bugs.webkit.org/show_bug.cgi?id=27109
11485 Fix side-effects in the Qt DRT with tests using application fonts.
11487 Detect if a test used application fonts and re-initialize the fontconfig
11488 application fontset accordingly.
11490 * DumpRenderTree/qt/DumpRenderTree.cpp:
11491 (WebCore::DumpRenderTree::open): call initializeFonts and remove all application fonts
11492 after running a testcase.
11493 (WebCore::DumpRenderTree::initializeFonts): Moved fontconfig initialization code
11495 * DumpRenderTree/qt/DumpRenderTree.h: Declare initializeFonts.
11496 * DumpRenderTree/qt/main.cpp:
11497 (main): Moved fontconfig initialization code to DRT::initializeFonts.
11499 2009-07-10 Antonio Gomes <antonio.gomes@openbossa.org>
11501 Reviewed by Simon Hausmann.
11503 [QT] [ARM] Add pkg-config entry for FontConfig on DRT.pro
11504 https://bugs.webkit.org/show_bug.cgi?id=26990
11506 Missing pkg-config entry for FontConfig in DRT.pro causes some compilers to
11507 not link fine against FontConfig bits.
11509 * DumpRenderTree/qt/DumpRenderTree.pro:
11511 2009-07-09 Drew Wilson <atwilson@google.com>
11513 Reviewed by Alexey Proskuryakov.
11515 https://bugs.webkit.org/show_bug.cgi?id=26903
11517 Turned on CHANNEL_MESSAGING by default because the MessageChannel API
11518 can now be implemented for Web Workers and is reasonably stable.
11520 * Scripts/build-webkit:
11522 2009-07-09 David Kilzer <ddkilzer@apple.com>
11524 <http://webkit.org/b/27114> bugzilla-tool: Parse short bug URL from commit log messages
11526 Reviewed by Adam Roben.
11528 * Scripts/bugzilla-tool:
11529 (bug_id_from_commit_message): Check for the short bug URL before
11530 checking for the longer bugs.webkit.org URL.
11532 2009-07-08 David Kilzer <ddkilzer@apple.com>
11534 Bug 27062: bugzilla-tool: post-commits should read bug id from commit log and actually work
11536 <https://bugs.webkit.org/show_bug.cgi?id=27062>
11538 Reviewed by Eric Seidel.
11540 Removed the required BUGID argument from the "post-commits"
11541 command and replaced it with a -b|--bug-id switch or parsing the
11542 commit log message for the bug URL. Fixed a bug in the
11543 "post-commits" that would ignore the COMMITISH used and post a
11544 patch of local changes against HEAD. Added --no-commit switch
11545 to disable using the bulk of the ChangeLog entry as the comment
11548 * Scripts/bugzilla-tool:
11549 (bug_id_from_commit_message): Added. Returns a bug id from the
11550 commit log message, thus enforcing the need for a bug URL in the
11552 (PostCommitsAsPatchesToBug.__init__): Updated help description
11553 to match new behavior of pulling bug ids from commit log
11554 messages instead of from the command line. Added -b|--bug-id
11555 switch and --no-comment switch.
11556 (PostCommitsAsPatchesToBug.execute): Updated to use
11557 bug_id_from_commit_message() to pull bug ids from commit log
11558 messages. Also switched from SCM.create_patch() to use
11559 SCM.create_patch_from_local_commit() to fix a bug where local
11560 repository changes were posted as a patch instead of the
11561 specific COMMITISH. Fall back to -b|--bug-id if no URL is found
11562 in the commit log message. Don't specify a comment for the
11563 patch if --no-comment is used. Set cherry_pick argument to True
11564 for Git.commit_ids_from_range_arguments() since we don't want
11565 implicit commit range behavior for this command.
11567 * Scripts/modules/bugzilla.py: Import datetime module.
11568 (timestamp): Added. Returns a timestamp in the form of
11570 (Bugzilla.bug_server_regex): Added static attribute.
11571 (Bugzilla.add_patch_to_bug): Construct a more meaningful patch
11572 file name using the bug_id and timestamp().
11574 * Scripts/modules/scm.py:
11575 (SCM.create_patch_from_local_commit): Added.
11576 (Git.create_patch_from_local_commit): Added. Runs "git diff" to
11577 return a patch for the given commit_id.
11579 2009-07-08 Maciej Stachowiak <mjs@apple.com>
11581 Reviewed by Mark Rowe.
11583 Make prepare-ChangeLog less shouty
11584 https://bugs.webkit.org/show_bug.cgi?id=27098
11586 * Scripts/prepare-ChangeLog:
11588 2009-07-08 David Kilzer <ddkilzer@apple.com>
11590 Bug 27083: bugzilla.py: Clean up bug_server use
11592 <https://bugs.webkit.org/show_bug.cgi?id=27083>
11594 Reviewed by Darin Adler.
11596 * Scripts/modules/bugzilla.py:
11597 (Bugzilla.fetch_bug_ids_from_commit_queue): Use bug_server
11598 instead of hard-coding the URL.
11599 (Bugzilla.authenticate): Remove extra '/' before URL path.
11600 (Bugzilla.add_patch_to_bug): Ditto.
11602 2009-07-08 Brent Fulgham <bfulgham@webkit.org>
11604 Build fix for Windows Cairo.
11606 Cairo build was incorrectly #including the PixelDumpSupportCG.h
11607 instead of PixelDumpSupportCairo.h
11609 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Correct #include
11611 2009-07-08 David Faure <faure@kde.org>
11613 Reviewed by Ariya Hidayat.
11615 Small documentation improvement for build-webkit --help
11617 * Scripts/build-webkit: mention --debug option
11619 2009-07-07 Brady Eidson <beidson@apple.com>
11621 Tiger build fix, work around missing NSString API.
11623 * DumpRenderTree/mac/DumpRenderTree.mm:
11626 2009-07-07 Brady Eidson <beidson@apple.com>
11628 Reviewed by Mark Rowe.
11630 https://bugs.webkit.org/show_bug.cgi?id=27049 - In dumpBackForwardList() mode, DRT should normalize file urls.
11632 Make the dump of a history item agnostic to the layout of filesystem on the testing machine.
11634 * DumpRenderTree/mac/DumpRenderTree.mm:
11636 * DumpRenderTree/win/DumpRenderTree.cpp:
11639 2009-07-07 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
11641 Rubber-stamped by Simon Hausmann.
11643 Correct git url of the Qt test-fonts.
11645 * DumpRenderTree/qt/main.cpp:
11648 2009-07-07 Simon Hausmann <hausmann@webkit.org>
11650 Reviewed by Holger Freyther.
11652 Clear the main frame's name between loading pages, like in r36652. This
11653 reduces the side-effects between test cases.
11655 * DumpRenderTree/qt/DumpRenderTree.cpp:
11656 (WebCore::DumpRenderTree::open):
11658 2009-07-06 Simon Hausmann <hausmann@webkit.org>
11660 Reviewed by Holger Freyther.
11662 Fix various layout tests with Qt's DRT.
11664 Remember to set the focus on the web page before
11667 * DumpRenderTree/qt/DumpRenderTree.cpp:
11668 (WebCore::DumpRenderTree::open):
11670 2009-07-07 Simon Hausmann <hausmann@webkit.org>
11672 Reviewed by Tor Arne Vestbø and Holger Freyther.
11674 Fix timeout timer handling in Qt DRT.
11676 Use QBasicTimer instead of startTimer/killTimer, to fix the
11677 problem that starting the timeout timer did not stop a
11678 previously started timer, causing multiple emissions of timeout.
11679 The timerEvent() implementation now also checks the timer id, to
11680 protect against double timeouts.
11682 * DumpRenderTree/qt/jsobjects.cpp:
11683 (LayoutTestController::LayoutTestController):
11684 (LayoutTestController::reset):
11685 (LayoutTestController::waitUntilDone):
11686 (LayoutTestController::notifyDone):
11687 (LayoutTestController::timerEvent):
11688 * DumpRenderTree/qt/jsobjects.h:
11690 2009-07-06 Eric Seidel <eric@webkit.org>
11692 Reviewed by Maciej Stachowiak.
11694 bugzilla-tool fails to close bugs with bugzilla 3.0
11695 https://bugs.webkit.org/show_bug.cgi?id=27008
11697 Update bugzilla.py to match changes in the bug page "changeform"
11698 Update scm.py to add bug_ids to attachments to make error reporting nicer.
11700 * Scripts/modules/bugzilla.py:
11701 * Scripts/modules/scm.py:
11703 2009-07-03 Maciej Stachowiak <mjs@apple.com>
11705 Reviewed by Eric Seidel.
11707 bugzilla-tool forgot how to obsolete patches
11708 https://bugs.webkit.org/show_bug.cgi?id=26951
11710 * Scripts/modules/bugzilla.py:
11712 2009-07-02 Brent Fulgham <bfulgham@webkit.org>
11714 Unreviewed build fix (Cairo this time) for DumpRenderTree.
11715 Put Cairo code back in, but use original include order
11716 for the CG stuff to avoid compile issues.
11718 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
11719 (createBitmapContextFromWebView):
11721 2009-07-02 Eric Seidel <eric@webkit.org>
11723 Correct blatant typo (missing []), no review.
11725 * Scripts/modules/scm.py:
11727 2009-07-02 Brent Fulgham <bfulgham@webkit.org>
11729 Windows build fix, no review.
11732 Reverting PixelDumpSupportWin.cpp change to avoid strange
11733 error on the build-bot.
11735 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
11736 (createBitmapContextFromWebView):
11738 2009-07-02 Brent Fulgham <bfulgham@webkit.org>
11740 Build fix, no review.
11742 * DumpRenderTree/config.h:
11744 2009-07-02 Eric Seidel <eric@webkit.org>
11746 Reviewed by David Levin.
11748 bugzilla-tool needs to handle login failure
11749 https://bugs.webkit.org/show_bug.cgi?id=26913
11751 We now exit(1) on login failure.
11753 * Scripts/modules/bugzilla.py:
11755 2009-06-30 Brent Fulgham <bfulgham@webkit.org>
11757 Reviewed by Adam Roben.
11759 Add build support for a Windows Cairo version of
11760 DumpRenderTree. Share as much logic between the
11761 CG and Cairo builds as possible.
11762 https://bugs.webkit.org/show_bug.cgi?id=26457
11764 * DumpRenderTree/PixelDumpSupport.cpp: Added.
11765 (dumpWebViewAsPixelsAndCompareWithExpected): Moved common logic
11766 from CG-specific file.
11767 (printPNG): Moved common logic from CG-specific file.
11768 * DumpRenderTree/PixelDumpSupport.h: Add declaration for new
11769 common printPNG function.
11770 * DumpRenderTree/cairo: Added.
11771 * DumpRenderTree/cairo/PixelDumpSupportCairo.cpp: Added.
11772 Implement cairo-specific logic for dealing with Cairo surfaces.
11774 (printPNG): Cairo-specific PNG handling logic.
11775 (computeMD5HashStringForBitmapContext): New Cairo routine using
11776 the generic BitmapContext signature.
11777 (dumpBitmap): New function containing Cairo-specific portions of
11778 the dumping routine.
11779 * DumpRenderTree/cairo/PixelDumpSupportCairo.h: Added.
11780 Provide Cairo version of the BitmapContext structure so that
11781 dumping routines can work on an abstract type.
11782 (BitmapContext::createByAdoptingBitmapAndContext):
11783 (BitmapContext::~BitmapContext):
11784 (BitmapContext::cairoContext):
11785 (BitmapContext::BitmapContext):
11786 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
11787 (printPNG): CG-specific PNG handling logic.
11788 (computeMD5HashStringForBitmapContext): Revised to use generic
11789 BitmapContext signature.
11790 (dumpBitmap): New function containing CG-specific portions of
11791 the dumping routine.
11792 * DumpRenderTree/cg/PixelDumpSupportCG.h: Add new signatures.
11793 * DumpRenderTree/win/DumpRenderTree.cpp: Disable CFNetwork logic
11794 when building the non-CFNetwork version.
11796 * DumpRenderTree/win/DumpRenderTree.vcproj:
11797 * DumpRenderTree/win/PixelDumpSupportWin.cpp:
11798 (createBitmapContextFromWebView): Provide parallel Cairo implementation
11799 of CG bitmap/context setup.
11801 2009-07-02 Eric Seidel <eric@webkit.org>
11803 No review, just adding Antti as a reviewer.
11805 * Scripts/modules/bugzilla.py:
11807 2009-07-02 Antonio Gomes <antonio.gomes@openbossa.org>
11809 Reviewed by Simon Hausmann.
11811 https://bugs.webkit.org/show_bug.cgi?id=26896
11813 [Qt] Set DRT's default fontsize to 13.
11815 * DumpRenderTree/qt/DumpRenderTree.cpp:
11816 (WebCore::WebPage::WebPage):
11818 2009-07-01 Eric Seidel <eric@webkit.org>
11820 Reviewed by Adam Barth.
11822 bugzilla-tool fails for SVN users
11823 https://bugs.webkit.org/show_bug.cgi?id=26914
11825 To fix this I moved svn from -F - to using -m
11826 In order for -m to work I had to move us off of shell=True
11827 To move off of shell=True all call sites for run_command
11828 which take args, need to pass their args as an list instead of a string.
11830 In order for the final bug update to work correctly, I had to
11831 abstract the way that we parse out revision numbers from the commit text.
11833 * Scripts/bugzilla-tool:
11834 * Scripts/modules/scm.py:
11836 2009-07-01 Eric Seidel <eric@webkit.org>
11838 Reviewed by Maciej Stachowiak.
11840 prepare-ChangeLog should have a --bug= argument and use it for url autofill
11841 https://bugs.webkit.org/show_bug.cgi?id=26383
11843 prepare-ChangeLog now knows how to grab the bug title from bugs.webkit.org
11844 I also added a bit more template text in an effort to get better ChangeLogs
11845 from casual contributers.
11847 * Scripts/prepare-ChangeLog:
11849 2009-07-01 Eric Seidel <eric@webkit.org>
11851 Reviewed by Adam Roben.
11853 prepare-ChangeLog should fail when EMAIL_ADDRESS or REAL_NAME are missing:
11854 https://bugs.webkit.org/show_bug.cgi?id=26692
11856 I also made prepare-ChangeLog sanity-check names and email addresses a little.
11857 Names must contain a space, and email addresses must contain '@'
11859 Also "fixed" $email_address to $emailAddress. This script uses mixed variable name styles.
11861 * Scripts/prepare-ChangeLog:
11863 2009-07-01 Chris Fleizach <cfleizach@apple.com>
11865 Reviewed by Beth Dakin.
11867 Bug 26900: AX: Manual spell check with Command-; does not bring up suggestions
11868 https://bugs.webkit.org/show_bug.cgi?id=26900
11870 Expose the ability to get the click point of an element through accessibility.
11872 * DumpRenderTree/AccessibilityUIElement.cpp:
11873 (getClickPointXCallback):
11874 (getClickPointYCallback):
11875 (AccessibilityUIElement::getJSClass):
11876 * DumpRenderTree/AccessibilityUIElement.h:
11877 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
11878 (AccessibilityUIElement::clickPointX):
11879 (AccessibilityUIElement::clickPointY):
11880 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
11881 (AccessibilityUIElement::clickPointX):
11882 (AccessibilityUIElement::clickPointY):
11884 2009-07-01 Mark Rowe <mrowe@apple.com>
11886 Reviewed by Simon Fraser.
11888 Change how WebKitNightlyEnabler.dylib lies about Safari's identity to LaunchServices.
11889 This makes WebKit.app behave as expected when set as the default web browser on a wider
11890 range of OS versions.
11892 * WebKitLauncher/WebKitNightlyEnabler.m:
11894 (enableWebKitNightlyBehaviour):
11896 2009-07-01 Mark Rowe <mrowe@apple.com>
11898 Reviewed by Simon Fraser.
11900 Shuffle some code around in preparation for a change to how poseAsWebKitApp works.
11902 * WebKitLauncher/WebKitNightlyEnabler.m:
11904 (webKitLauncherBundle):
11905 (insideSafari4OnTigerTrampoline):
11907 2009-06-30 Xan Lopez <xlopez@igalia.com>
11909 Reviewed by Jan Alonzo.
11911 https://bugs.webkit.org/show_bug.cgi?id=26877
11912 [GTK] DRT fixes to pass new plugin test
11914 Silence compiler warnings.
11916 Newer GCC don't like using or returning a static string where a
11917 'char*' is expected. Ideally we'd change the function signatures
11918 to return or take 'const char*' I suppose, but since we can't do
11919 that just cast the strings to 'char*'.
11921 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
11922 (webkit_test_plugin_get_value):
11924 2009-06-30 Xan Lopez <xlopez@igalia.com>
11926 Reviewed by Jan Alonzo.
11928 https://bugs.webkit.org/show_bug.cgi?id=26877
11929 [GTK] DRT fixes to pass new plugin test
11931 Use the common pluginLog function instead of a local copy.
11933 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
11934 (webkit_test_plugin_new_instance):
11935 (webkit_test_plugin_destroy_instance):
11936 (webkit_test_plugin_set_window):
11937 (webkit_test_plugin_handle_event):
11939 2009-06-30 Xan Lopez <xlopez@igalia.com>
11941 Reviewed by Jan Alonzo.
11943 https://bugs.webkit.org/show_bug.cgi?id=26877
11944 [GTK] DRT fixes to pass new plugin test
11946 Modify our DRT as done in bug #15457 to log logSrc as src in order
11947 to pass test plugins/netscape-plugin-map-data-to-src.html.
11949 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
11950 (webkit_test_plugin_new_instance):
11952 2009-06-30 Adrien Nader <camaradetux@gmail.com>
11954 Reviewed by Jan Alonzo.
11956 [GTK] GtkLauncher depends on gtk+2-2.15 because of gtk_orientable_set_orientation()
11957 https://bugs.webkit.org/show_bug.cgi?id=26835
11959 * GtkLauncher/main.c:
11962 2009-06-30 Eric Seidel <eric@webkit.org>
11964 Typo fix only, no review.
11966 Fix typo causing failure during land-diff
11968 * Scripts/bugzilla-tool:
11970 2009-06-30 Simon Fraser <simon.fraser@apple.com>
11972 Reviewed by Dan Bernstein.
11974 Fix drawing of view background in pixel snapshots when using compositing.
11975 We still need to call -displayIfNeeded to ensure that the NSView drawing
11978 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
11979 (createBitmapContextFromWebView):
11981 2009-06-30 Simon Fraser <simon.fraser@apple.com>
11983 Reviewed by Mark Rowe.
11985 createBitmapContextFromWebView() incorrectly used #ifdef BUILDING_ON_LEOPARD,
11986 and thus failed on SnowLeopard.
11988 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
11989 (createBitmapContextFromWebView):
11991 2009-06-30 Eric Seidel <eric@webkit.org>
11993 Reviewed by Nikolas Zimmermann.
11995 Make bugzilla tool print a message explaining how to get help on failure:
11996 https://bugs.webkit.org/show_bug.cgi?id=26861
11999 Usage: bugzilla-tool [options] command [command-options] [command-arguments]
12001 bugzilla-tool: error: No command specified
12003 Type 'bugzilla-tool --help' to see usage.
12005 * Scripts/bugzilla-tool:
12007 2009-06-30 Eric Seidel <eric@webkit.org>
12009 Reviewed by Maciej Stachowiak.
12011 Include a built copy of BeautifulSoup 3.1.0.1 so that
12012 bugzilla-tool users do not need to install it manually.
12013 https://bugs.webkit.org/show_bug.cgi?id=26833
12015 BeautifulSoup is BSD-licensed (thus WebKit compatible) and available from:
12016 http://www.crummy.com/software/BeautifulSoup
12018 * Scripts/bugzilla-tool: fixed a typo in a log message.
12019 * Scripts/modules/BeautifulSoup.py: Added.
12020 * Scripts/modules/bugzilla.py:
12022 2009-06-30 Eric Seidel <eric@webkit.org>
12024 Reviewed by Simon Hausmann.
12026 Fix our create_patch handling to not
12027 hang when creating large patches.
12028 https://bugs.webkit.org/show_bug.cgi?id=26834
12030 We're now using StringIO to make an in-memory buffer for the patch
12031 instead of piping from the patch command directly to the upload.
12032 The previous hang was caused by calling wait() when the process had already
12033 filed the stdout buffer.
12035 * Scripts/modules/scm.py:
12037 2009-06-29 Sam Weinig <sam@webkit.org>
12039 Reviewed by Mark Rowe.
12041 Remove more unused scons support.
12043 * Scripts/build-jsc:
12044 * Scripts/build-webkit:
12045 * Scripts/webkitdirs.pm:
12047 2009-06-26 Eric Seidel <eric@webkit.org>
12049 Reviewed by David Levin.
12051 Rename land-and-update to land-diff and make it awesome.
12052 https://bugs.webkit.org/show_bug.cgi?id=26734
12054 Renamed land-and-update to land-diff
12055 Made the BUGID argument optional.
12056 Added optional support for building and testing before landing.
12058 land-diff [options] [BUGID] Lands the current working directory diff and updates the bug if provided.
12060 -r REVIEWER, --reviewer=REVIEWER
12061 Update ChangeLogs to say Reviewed by REVIEWER.
12062 --no-close Leave bug open after landing.
12063 --no-build Commit without building first, implies --no-test.
12064 --no-test Commit without running run-webkit-tests.
12066 * Scripts/bugzilla-tool:
12068 2009-06-28 Jan Michael Alonzo <jmalonzo@webkit.org>
12070 Gtk build fix - include stdarg.h for va_start/va_end.
12072 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
12074 2009-06-28 John Abd-El-Malek <jam@chromium.org>
12076 https://bugs.webkit.org/show_bug.cgi?id=15457
12078 Modify NPAPI test plugin to verify that "src" paramater is added when
12079 it's missing but "data" is present.
12081 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
12083 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
12084 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
12088 (handleEventCarbon):
12089 (handleEventCocoa):
12090 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
12093 2009-06-27 Emilio Pozuelo Monfort <pochu27@gmail.com>
12095 Reviewed by Jan Alonzo.
12097 [GTK] Don't use deprecated GTK+ symbols.
12098 https://bugs.webkit.org/show_bug.cgi?id=26583
12100 * GtkLauncher/main.c:
12103 2009-06-26 Adam Barth <abarth@webkit.org>
12105 Reviewed by Eric Seidel.
12107 Make SVN work (again?).
12109 * Scripts/modules/scm.py:
12111 2009-06-26 Chris Fleizach <cfleizach@apple.com>
12113 Reviewed by Oliver Hunt.
12115 Add ability to query isEnabled
12117 * DumpRenderTree/AccessibilityUIElement.cpp:
12118 (getIsEnabledCallback):
12119 (AccessibilityUIElement::getJSClass):
12120 * DumpRenderTree/AccessibilityUIElement.h:
12121 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
12122 (AccessibilityUIElement::isEnabled):
12123 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
12124 (AccessibilityUIElement::isEnabled):
12126 2009-06-26 Brady Eidson <beidson@apple.com>
12128 Reviewed by Sam Weinig
12130 <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails
12132 Add a dumpResourceResponseMIMETypes() mode so the ResourceLoadDelegate will dump the mime type from
12133 the NSURLResponse. Needed for the test for this bug fix.
12135 * DumpRenderTree/LayoutTestController.cpp:
12136 (LayoutTestController::LayoutTestController):
12137 (dumpResourceResponseMIMETypesCallback):
12138 (LayoutTestController::staticFunctions):
12139 * DumpRenderTree/LayoutTestController.h:
12140 (LayoutTestController::dumpResourceResponseMIMETypes):
12141 (LayoutTestController::setDumpResourceResponseMIMETypes):
12143 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
12144 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
12146 2009-06-26 David Kilzer <ddkilzer@apple.com>
12148 Update build-dumprendertree to use buildXCodeProject()
12150 Reviewed by Adam Roben.
12152 * Scripts/build-dumprendertree: Updated to use
12153 buildXCodeProject() when building for isAppleMacWebKit(). This
12154 provides additional command-line switch parsing for free. Also
12155 added --clean and --help switches. Updated copyright.
12157 2009-06-26 Eric Seidel <eric@webkit.org>
12159 Reviewed by Tor Arne Vestbø.
12161 Remove non-sense --update option to land-patches
12162 and make land-patches update before every patch application.
12163 This makes it slightly less likely that multi-patch landings will fail.
12165 Also updated git diff command to include staged modifications.
12167 * Scripts/bugzilla-tool:
12168 * Scripts/modules/scm.py:
12170 2009-06-25 Eric Seidel <eric@webkit.org>
12172 Reviewed by Jan Alonzo.
12174 Fix obsolete_attachment to work when passed a comment.
12175 https://bugs.webkit.org/show_bug.cgi?id=26745
12177 * Scripts/modules/bugzilla.py:
12179 2009-06-25 Jan Michael Alonzo <jmalonzo@webkit.org>
12181 Reviewed by Mark Rowe.
12183 bugzilla-tool apply-patch throws exception in Linux
12184 https://bugs.webkit.org/show_bug.cgi?id=26738
12186 HEAD is case-sensitive in Linux. Convert uses of head to HEAD in
12189 * Scripts/modules/scm.py:
12191 2009-06-25 Eric Seidel <eric@webkit.org>
12193 Reviewed by Jan Alonzo.
12195 bugzilla-tool post-diff needs to obsolete old patches before posting
12196 https://bugs.webkit.org/show_bug.cgi?id=26740
12198 I've also added a --no-obsolete to disable this behavior.
12200 I also finally updated the bug page parsing to use XML. So much less code!
12202 * Scripts/bugzilla-tool:
12203 * Scripts/modules/bugzilla.py:
12205 2009-06-25 Eric Seidel <eric@webkit.org>
12207 Reviewed by Mark Rowe.
12209 Call WebKitTools/Scripts scripts by their absolute paths
12210 https://bugs.webkit.org/show_bug.cgi?id=26704
12212 bugzilla-tool used to use whatever build-webkit was in your path.
12213 That could end up building the wrong copy of WebKit.
12215 * Scripts/bugzilla-tool:
12216 * Scripts/modules/scm.py:
12218 2009-06-25 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
12220 Reviewed by Dave Levin.
12222 Use unicode() instead of str when reading from bugzilla.
12223 Also add Simon Fraser as a reviewer.
12224 https://bugs.webkit.org/show_bug.cgi?id=26719
12226 * Scripts/modules/bugzilla.py:
12228 2009-06-25 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
12230 Reviewed by Simon Hausmann.
12232 Use Q_ASSERT in Qt's DumpRenderTree instead of JSC's ASSERT
12234 The WTFReportAssertionFailure function in JSC is not exported when
12235 building QtWebKit in both debug and release on Mac, so DRT fails to
12238 We can revert this patch once the Qt port builds JSC as a separate
12239 library, and we add the proper export macros to Assertions.cpp
12241 * DumpRenderTree/qt/WorkQueue.cpp:
12242 (WorkQueue::queue):
12243 (WorkQueue::dequeue):
12245 2009-06-25 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
12247 Reviewed by Jan Alonzo.
12249 bugzilla-tool: Add Simon Hausmann as reviewer
12251 * Scripts/modules/bugzilla.py:
12253 2009-06-24 Eric Seidel <eric@webkit.org>
12255 Reviewed by Dave Levin.
12257 Support local commits during apply-patches
12258 and let land-patches take multiple bug ids.
12259 https://bugs.webkit.org/show_bug.cgi?id=26703
12261 I also restructured parts of land-patches into
12262 class methods and static methods in preparation
12263 for future code sharing with other commands.
12265 * Scripts/bugzilla-tool:
12266 * Scripts/modules/bugzilla.py:
12267 * Scripts/modules/scm.py:
12269 2009-06-25 Eric Seidel <eric@webkit.org>
12271 Reviewed by Tor Arne Vestbø.
12273 Make svn-apply work with Git too
12274 https://bugs.webkit.org/show_bug.cgi?id=26299
12276 Add an --force option to svn-apply and otherwise make svn-apply
12277 exit non-zero when patch application fails.
12278 https://bugs.webkit.org/show_bug.cgi?id=26300
12280 I did not update svn-unapply, because it makes no sense in a Git world.
12281 You don't roll in and out patch files. You make commits and deal with those.
12282 Git users can just git reset --hard to get the same functionality.
12284 * Scripts/svn-apply:
12286 2009-06-25 Eric Seidel <eric@webkit.org>
12288 Reviewed by Tor Arne Vestbø.
12290 Remove use of os.system to fix reviewers with unicode chars in their names
12291 https://bugs.webkit.org/show_bug.cgi?id=26713
12293 Also change to latin1 encoding of ø to make python happy.
12295 * Scripts/modules/bugzilla.py:
12296 * Scripts/modules/scm.py:
12298 2009-06-25 Eric Seidel <eric@webkit.org>
12300 Reviewed by Tor Arne Vestbø.
12302 Add Adam Roben and Tor Arne Vestbø to the reviewers list.
12304 * Scripts/modules/bugzilla.py:
12306 2009-06-24 Chris Fleizach <cfleizach@apple.com>
12310 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
12311 (AccessibilityUIElement::language):
12313 2009-06-24 Chris Fleizach <cfleizach@apple.com>
12315 Reviewed by Oliver Hunt.
12317 Bug 26668: AX: need a way to retrieve the language for an element
12318 Support ability to retrieve AXLanguage for testing
12320 * DumpRenderTree/AccessibilityUIElement.cpp:
12321 (getLanguageCallback):
12322 (AccessibilityUIElement::getJSClass):
12323 * DumpRenderTree/AccessibilityUIElement.h:
12324 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
12325 (AccessibilityUIElement::language):
12327 2009-06-24 Eric Seidel <eric@webkit.org>
12329 Reviewed by Maciej Stachowiak.
12331 Spell Maciej's name right and add Brady Eidson.
12333 * Scripts/modules/bugzilla.py:
12335 2009-06-23 Eric Seidel <eric@webkit.org>
12337 Reviewed by Dave Levin.
12339 Fix missing comment message during land-patches and SVN.commit_with_message respecting --dry-run
12340 https://bugs.webkit.org/show_bug.cgi?id=26669
12342 * Scripts/bugzilla-tool:
12343 * Scripts/modules/scm.py:
12345 2009-06-23 Takeshi Yoshino <tyoshino@google.com>
12347 Reviewed by Mark Rowe.
12349 Bug 26537: Builds from command-line fail if custom build product directory is set and ~/Library/Preferences/xcodebuild.plist exists
12350 https://bugs.webkit.org/show_bug.cgi?id=26537
12352 Let determineBaseProductDir subroutine remove
12353 ~/Library/Preferences/xcodebuild.plist. It can prevent xcodebuild from
12354 respecting global settings such as a custom build products directory
12355 (<rdar://problem/5585899>).
12357 * Scripts/webkitdirs.pm:
12359 2009-06-23 Eric Seidel <eric@webkit.org>
12361 Reviewed by Dave Levin.
12363 Make SCM.run_command smarter, and make all previous
12364 os.system and subprocess.popen use SCM.run_command instead.
12365 https://bugs.webkit.org/show_bug.cgi?id=26666
12367 This makes it easier to handle errors in a standard way throughout all the code.
12368 Since this new code raises by default when the exit_code != 0,
12369 we should prevent future problems of bugzilla-tool continuing after
12370 a git or svn command failed.
12372 * Scripts/modules/scm.py:
12374 2009-06-23 Joe Mason <joe.mason@torchmobile.com>
12376 Reviewed by Adam Treat.
12378 https://bugs.webkit.org/show_bug.cgi?id=26664
12379 * Scripts/prepare-ChangeLog: Added --git-index mode to list only the
12380 changes which are already staged in the index. Useful to create an
12381 entry for what you're about to commit while ignoring unstaged changes.
12383 2009-06-23 Anders Carlsson <andersca@apple.com>
12385 Reviewed by Darin Adler.
12387 Update for WebKit changes.
12389 * DumpRenderTree/win/UIDelegate.h:
12390 (UIDelegate::willPerformDragSourceAction):
12392 2009-06-23 Eric Seidel <eric@webkit.org>
12394 Reviewed by Mark Rowe.
12396 * Scripts/modules/scm.py: Fix commit_with_message to return the commit output.
12398 2009-06-23 Eric Seidel <eric@webkit.org>
12400 Reviewed by Mark Rowe.
12402 * Scripts/modules/scm.py: Fix error seen when commiting r44979.
12404 2009-06-18 Eric Seidel <eric@webkit.org>
12406 Reviewed by Dave Levin.
12408 WebKit needs a script to interact with bugzilla and automate
12409 parts of the patch posting and commit processes.
12410 https://bugs.webkit.org/show_bug.cgi?id=26283
12412 This is really a first-draft tool.
12413 It's to the point where it's useful to more people than just me now though.
12414 Git support works. SVN support is written, but mostly untested.
12416 This tool requires BeautifulSoup and mechanize python modules to run:
12417 sudo easy_install BeautifulSoup
12418 sudo easy_install mechanize
12420 More important than the tool itself are the Bugzilla, Git and SVN class abstractions
12421 which I hope will allow easy writing of future tools.
12423 The tool currently implements 10 commands, described below.
12425 Helpers for scripting dealing with the commit queue:
12426 bugs-to-commit Bugs in the commit queue
12427 patches-to-commit Patches attached to bugs in the commit queue
12429 Dealing with bugzilla:
12430 reviewed-patches BUGID r+'d patches on a bug
12431 apply-patches BUGID Applies all patches on a bug to the local working directory without committing.
12432 land-and-update BUGID Lands the current working directory diff and updates the bug.
12433 land-patches [options] BUGID Lands all patches on a bug optionally testing them first
12434 obsolete-attachments BUGID Marks all attachments on a bug as obsolete.
12435 commit-message Prints a commit message suitable for the uncommitted changes.
12437 These effectively replace git-send-bugzilla:
12438 post-diff BUGID Attaches the current working directory diff to a bug as a patch file.
12439 post-commits BUGID COMMITISH Attaches a range of local commits to a bug as patch files.
12441 post-diff works for SVN and Git, post-commits only works for SCMs with local-commit support (like Git)
12443 land-* commands in a Git environment only work with simple patches due to svn-apply bugs:
12444 https://bugs.webkit.org/show_bug.cgi?id=26299
12445 https://bugs.webkit.org/show_bug.cgi?id=26300
12447 This script follows python style (similar to how for Obj-C we follow AppKit style)
12448 http://www.python.org/doc/essays/styleguide.html
12449 The Python community has a strong style culture and the WebKit style guide is silent re: Python.
12451 I've filed a bug to update the WebKit style guide to mention python:
12452 https://bugs.webkit.org/show_bug.cgi?id=26524
12454 * Scripts/bugzilla-tool: Added.
12456 2009-06-22 Steve Falkenburg <sfalken@apple.com>
12458 Remove errant line of code mistakenly checked in.
12460 * DumpRenderTree/win/DumpRenderTree.cpp:
12463 2009-06-22 Steve Falkenburg <sfalken@apple.com>
12465 Pass correct value to setShouldPaintNativeControls.
12467 Rubber stamped by Mark Rowe.
12469 * DumpRenderTree/win/DumpRenderTree.cpp:
12472 2009-06-22 Steve Falkenburg <sfalken@apple.com>
12474 Fix last DumpRenderTree change to correctly set preferences flag without crashing.
12476 Reviewed by Mark Rowe.
12478 * DumpRenderTree/win/DumpRenderTree.cpp:
12481 2009-06-21 Steve Falkenburg <sfalken@apple.com>
12483 Set up global native controls flag before creating the first WebView.
12485 Reviewed by Darin Adler.
12487 * DumpRenderTree/win/DumpRenderTree.cpp:
12490 2009-06-21 Mark Rowe <mrowe@apple.com>
12492 Reviewed by Sam Weinig.
12494 Set a sensible user agent string for the HTTP requests that Sparkle makes (checking for and downloading updates).
12496 * WebKitLauncher/WebKitNightlyEnablerSparkle.m:
12497 (userAgentStringForSparkle):
12498 (initializeSparkle):
12500 2009-06-21 Mark Rowe <mrowe@apple.com>
12502 Reviewed by Sam Weinig.
12504 Add a hook to the WebKit launcher application to allow a link on the nightly build start page to
12505 trigger an update via the built-in software update mechanism.
12507 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
12508 * WebKitLauncher/WebKitLauncherURLProtocol.h: Added.
12509 * WebKitLauncher/WebKitLauncherURLProtocol.m: Added.
12510 (+[WebKitLauncherURLProtocol load]):
12511 (+[WebKitLauncherURLProtocol canInitWithRequest:]): Only allow use of the x-webkit-launcher scheme from .webkit.org subdomains.
12512 (+[WebKitLauncherURLProtocol canonicalRequestForRequest:]):
12513 (-[WebKitLauncherURLProtocol startLoading]):
12514 (-[WebKitLauncherURLProtocol stopLoading]):
12515 (-[WebKitLauncherURLProtocol handleIsWebKitLauncherAvailableJS]): Return a brief JavaScript snippet that can be used to programatically
12516 determine whether the x-webkit-launcher is available and working.
12517 (-[WebKitLauncherURLProtocol handleCheckForUpdates]): Trigger a software update on the main thread.
12518 (-[WebKitLauncherURLProtocol resourceNotFound]): Fail with a generic "File does not exist" error.
12520 2009-06-20 Jan Michael Alonzo <jmalonzo@webkit.org>
12522 Reviewed by Gustavo Noronha and Xan Lopez.
12524 [Gtk] Implement DRT XSS auditor support
12525 https://bugs.webkit.org/show_bug.cgi?id=26571
12527 * DumpRenderTree/gtk/DumpRenderTree.cpp:
12528 (resetWebViewToConsistentStateBeforeTesting):
12529 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
12530 (LayoutTestController::setXSSAuditorEnabled):
12532 2009-06-19 Darin Adler <darin@apple.com>
12534 * Scripts/do-webcore-rename: More renaming ideas.
12536 2009-06-15 Andre Pedralho <andre.pedralho@openbossa.org>
12538 Reviewed by Tor Arne Vestbø.
12540 Only pass --makeargs along if an argument is given.
12542 * Scripts/build-webkit:
12544 2009-06-19 Adam Barth <abarth@webkit.org>
12546 Unreviewed attempt to fix Windows build.
12548 * DumpRenderTree/win/DumpRenderTree.cpp:
12549 (resetWebViewToConsistentStateBeforeTesting):
12550 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
12551 (LayoutTestController::setXSSAuditorEnabled):
12553 2009-06-18 Adam Barth <abarth@webkit.org>
12555 Reviewed by Sam Weinig.
12557 https://bugs.webkit.org/show_bug.cgi?id=26199
12559 Add support for testing the XSSAuditor.
12561 * DumpRenderTree/LayoutTestController.cpp:
12562 (setXSSAuditorEnabledCallback):
12563 (LayoutTestController::staticFunctions):
12564 * DumpRenderTree/LayoutTestController.h:
12565 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
12566 (LayoutTestController::setXSSAuditorEnabled):
12567 * DumpRenderTree/mac/DumpRenderTree.mm:
12568 (resetWebViewToConsistentStateBeforeTesting):
12569 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
12570 (LayoutTestController::setXSSAuditorEnabled):
12571 * DumpRenderTree/win/DumpRenderTree.cpp:
12572 (resetWebViewToConsistentStateBeforeTesting):
12573 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
12574 (LayoutTestController::setXSSAuditorEnabled):
12575 (LayoutTestController::setPopupBlockingEnabled):
12576 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
12577 (LayoutTestController::setXSSAuditorEnabled):
12579 2009-06-18 Darin Adler <darin@apple.com>
12581 Rubber stamped by Mark Rowe.
12583 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
12584 (-[DumpRenderTreeWindow close]): Resolved crashes seen during regression
12585 tests. The close method can be called on a window that's already closed
12586 so we can't assert here.
12588 2009-06-17 Steve Falkenburg <sfalken@apple.com>
12590 Updated for consolidated WebKit COM interfaces.
12592 Reviewed by Adam Roben.
12594 * DumpRenderTree/win/FrameLoadDelegate.cpp:
12595 * DumpRenderTree/win/FrameLoadDelegate.h:
12596 * DumpRenderTree/win/UIDelegate.cpp:
12597 * DumpRenderTree/win/UIDelegate.h:
12598 * WinLauncher/WinLauncher.h:
12600 2009-06-16 Adam Barth <abarth@webkit.org>
12602 Reviewed by Darin Adler.
12604 https://bugs.webkit.org/show_bug.cgi?id=26437
12606 Make the commit-log-editor match the ambient line endings in commit
12609 * Scripts/commit-log-editor:
12611 2009-06-16 Xan Lopez <xlopez@igalia.com>
12613 Reviewed by Gustavo Noronha.
12615 Update GtkLauncher to recent API changes in the progress property,
12616 which now goes from 0.0 to 1.0.
12618 * GtkLauncher/main.c:
12620 2009-06-16 Adam Barth <abarth@webkit.org>
12622 Reviewed by Darin Adler.
12624 https://bugs.webkit.org/show_bug.cgi?id=26000
12626 Teach prepare-ChangeLog to match the line ends that are already present
12627 in ChangeLog files. This helps folks whose use cygwin perl with CR LF
12628 line endings on Windows.
12630 Also, teach prepare-ChangeLog to normalize backslashes in paths. This
12631 helps folks who use Windows SVN prepare correct ChangeLogs.
12633 * Scripts/prepare-ChangeLog:
12635 == Rolled over to ChangeLog-2009-06-16 ==