1 2009-09-15 Kevin Ollivier <kevino@theolliviers.com>
3 wx build fix. Allow waf build to support Python < 2.6.
5 * wx/build/waf_extensions.py:
7 2009-09-14 Chris Marrin <cmarrin@apple.com>
9 Reviewed by Oliver Hunt.
11 Add LayoutTests infrastructure to enable and disable webgl tests.
12 https://bugs.webkit.org/show_bug.cgi?id=29254
14 * Scripts/run-webkit-tests:
15 * Scripts/webkitdirs.pm:
17 2009-09-14 Simon Fraser <simon.fraser@apple.com>
19 Reviewed by Darin Adler.
21 Add --iterations option to run-webkit-tests to repeat the tests N times
22 https://bugs.webkit.org/show_bug.cgi?id=29263
24 When run with --iterations N, run-webkit-tests will repeat the tests N times.
26 * Scripts/run-webkit-tests:
28 2009-09-14 Brady Eidson <beidson@apple.com>
30 Not reviewed, maybe should've been:
32 Cleaning up more Windows-specific fallout from the fix for:
33 <rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160
35 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
36 (ResourceLoadDelegate::didReceiveAuthenticationChallenge): Correct printf() formatter,
37 and call the correct method to get the Sender.
39 2009-09-14 Jon Honeycutt <jhoneycutt@apple.com>
45 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
46 (AccessibilityController::setLogScrollingStartEvents):
48 2009-09-11 Jon Honeycutt <jhoneycutt@apple.com>
51 <rdar://problem/7197644> WebKit should broadcast an MSAA event when
52 jumping to a named anchor
54 https://bugs.webkit.org/show_bug.cgi?id=28899
56 Reviewed by Adam Roben.
58 * DumpRenderTree/AccessibilityController.cpp:
59 (logScrollingStartEventsCallback):
60 Turn on logging of scrolling start events.
61 (AccessibilityController::getJSClass):
62 Add a "logScrollingStartEvents" to the AccessibilityController's JS
64 (AccessibilityController::resetToConsistentState):
65 Turn off logging of scrolling start events.
67 * DumpRenderTree/AccessibilityController.h:
68 Declare setLogScrollingStartEvents(). Add a member for the scrolling
71 * DumpRenderTree/mac/AccessibilityControllerMac.cpp:
72 (AccessibilityController::setLogScrollingStartEvents):
75 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
76 (AccessibilityController::AccessibilityController):
77 Initialize the handle to 0.
79 Renamed from logFocusEventProc; now logs scrolling start events, too.
80 Removed the assertion that the event is a focus event. Added a switch
81 to print a message for focus, scrolling start, and other, unknown
83 (AccessibilityController::setLogFocusEvents):
84 Changed to use logEventProc.
85 (AccessibilityController::setLogScrollingStartEvents):
86 If turning logging off, unhook the scrolling start event hook, and clear
87 the member holding the handle. If turning on, query for the root
88 accessible, so that accessibility is enabled for the WebView, and call
89 SetWinEventHook to setup an event hook using logEventProc as the
92 2009-09-14 Brady Eidson <beidson@apple.com>
96 * DumpRenderTree/LayoutTestController.cpp:
97 (setAuthenticationPasswordCallback):
98 (setAuthenticationUsernameCallback):
100 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
101 (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
103 2009-09-14 Brady Eidson <beidson@apple.com>
105 Reviewed by Alexey Proskuryakov.
107 Safari 4 cannot be used to update firmware on Linksys routers.
108 <rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160
110 Add the ability for DRT to handle authentication challenges.
112 * DumpRenderTree/LayoutTestController.cpp:
113 (setAuthenticationPasswordCallback):
114 (setAuthenticationUsernameCallback):
115 (setHandlesAuthenticationChallengesCallback):
116 (LayoutTestController::staticFunctions):
118 * DumpRenderTree/LayoutTestController.h:
119 (LayoutTestController::handlesAuthenticationChallenges):
120 (LayoutTestController::setHandlesAuthenticationChallenges):
121 (LayoutTestController::authenticationUsername):
122 (LayoutTestController::setAuthenticationUsername):
123 (LayoutTestController::authenticationPassword):
124 (LayoutTestController::setAuthenticationPassword):
126 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
127 (-[ResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
129 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
130 (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
131 * DumpRenderTree/win/ResourceLoadDelegate.h:
133 2009-09-12 Mark Rowe <mrowe@apple.com>
135 Reviewed by Dan Bernstein.
137 Test for <rdar://problem/6954546> and <rdar://problem/7090444>.
139 Add a flag on the test plug-in that asks it to clear the document during the call to NPP_New.
140 This is the trigger for both <rdar://problem/6954546> and <rdar://problem/7090444>.
142 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
145 2009-09-14 Kevin Ollivier <kevino@theolliviers.com>
147 wx build fix for non-wxPython builds and a fix for errors when updating swig.py.
149 * wx/build/build_utils.py:
150 * wx/build/settings.py:
152 2009-09-14 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
154 Reviewed by Tor Arne Vestbø.
156 [Qt] Build fix for windows build.
158 * Scripts/bisect-builds: Add missing paranthesis for tmpdir function.
160 2009-09-13 Kevin Ollivier <kevino@theolliviers.com>
162 Fix typo accidently landed in last commit.
164 * wx/build/settings.py:
166 2009-09-13 Kevin Ollivier <kevino@theolliviers.com>
168 wx build fix, error out if using the wrong Python.
170 * wx/build/settings.py:
172 2009-09-13 Xan Lopez <xlopez@igalia.com>
174 Build fix for GTK+ < 2.14.
176 Do not use gtk_widget_get_window, access the window directly
179 * DumpRenderTree/gtk/EventSender.cpp:
180 (contextClickCallback):
183 (mouseMoveToCallback):
186 2009-09-13 Martin Robinson <martin.james.robinson@gmail.com>
188 Reviewed by Xan Lopez and Jan Alonzo.
190 [GTK] EventSender does not set 'window' property on synthesized GDK events
191 https://bugs.webkit.org/show_bug.cgi?id=29169
193 Set the window property on synthesized GDK events in the GTK+ EventSender.
195 * DumpRenderTree/gtk/EventSender.cpp:
196 (contextClickCallback):
199 (mouseMoveToCallback):
202 2009-09-12 Drew Wilson <atwilson@google.com>
204 Reviewed by Mark Rowe.
206 run-webkit-tests has a timeout value that is too low
207 https://bugs.webkit.org/show_bug.cgi?id=29223
209 * Scripts/run-webkit-tests:
210 Changed timeout value to 20 seconds to avoid timing out too early.
212 2009-09-11 Kevin Ollivier <kevino@theolliviers.com>
214 wx build fix. Mark dependencies as mandatory and declare which MSVC versions and
215 architectures are supported for building wxWebKit.
217 * wx/build/settings.py:
219 2009-09-11 Eric Seidel <eric@webkit.org>
221 Reviewed by David Levin.
223 bugzilla-tool rollout threw exception under svn
224 https://bugs.webkit.org/show_bug.cgi?id=29211
226 * Scripts/modules/scm.py: add missing return, and convert number arguments to strings.
227 * Scripts/modules/scm_unittest.py: add testing for this fix.
229 2009-09-11 Brian Weinstein <bweinstein@apple.com>
231 Add myself to the committers list.
233 * Scripts/modules/committers.py:
235 2009-09-11 Eric Seidel <eric@webkit.org>
237 Reviewed by Adam Barth.
239 bugzilla-tool land-patches should only fail-fast in --commit-queue mode
240 https://bugs.webkit.org/show_bug.cgi?id=29201
242 * Scripts/bugzilla-tool:
244 2009-09-11 Adam Roben <aroben@apple.com>
246 Make commit-log-editor move common prefixes to the top of the log
248 Fies <http://webkit.org/b/29190> commit-log-editor should move common
249 prefixes to the top of the commit log
251 Reviewed by Darin Adler.
253 * Scripts/commit-log-editor: Find and remove the longest common prefix
254 ending in a double newline from each ChangeLog entry, then put that
255 common prefix at the top of the commit log.
256 (removeLongestCommonPrefixEndingInDoubleNewline): Added. Finds,
257 removes, and returns the longest common prefix ending in a double
258 newline from a hash of strings
260 2009-09-11 Eric Seidel <eric@webkit.org>
262 Fix obvious typo in previous commit, no review.
264 bugzilla-tool should automate rollouts
265 https://bugs.webkit.org/show_bug.cgi?id=26715
267 * Scripts/bugzilla-tool: add back missing "scm" argument.
269 2009-09-11 Eric Seidel <eric@webkit.org>
271 Reviewed by Adam Barth.
273 bugzilla-tool should automate rollouts
274 https://bugs.webkit.org/show_bug.cgi?id=26715
276 bugzilla-tool rollout will do the rollout locally and leave the diff for you to verify and commit.
277 The --complete-rollout option will automatically land and update the bug.
278 Eventually --complete-rollout will be default, but that will require more testing.
280 This first pass is good enough for others to try and file bugs about.
282 * Scripts/bugzilla-tool:
283 - Move modified_changelogs into scm.py.
284 - Move svn_revision_from_commit_text logic into scm.py.
285 - Add RolloutCommit command.
286 * Scripts/modules/bugzilla.py:
287 - Add reopen_bug command used by RolloutCommit.
288 * Scripts/modules/scm.py:
289 - Add functions to support RolloutCommit.
290 - Abstract find_uuid into value_from_svn_info so it can be re-used for _repository_url (needed by svn merge).
291 - Add a str() call so that svn_commit_log can take a numeric argument.
292 - Remove a bunch of very slow code from last_svn_commit_log and used the built-in 'BASE' alias instead.
293 - Made dry_run commits return something that svn_revision_from_commit_text can parse.
294 * Scripts/modules/scm_unittest.py:
295 - Add read_from_path for easy file reading.
296 - Put test4 on a new line to make reverts work w/o conflict.
297 - Add an "svn update" call so that the checkout revision matches the server revision.
298 - Add tests for svn_revision_from_commit_text.
299 - Add a simple test for apply_reverse_diff.
300 - Add a new self.scm member and use it in the new tests (eventually other tests can use it too).
301 - Add test for svn_commit_log to make sure my 'BASE' change above worked as expected.
303 2009-09-11 Adam Roben <aroben@apple.com>
305 Get user script/stylesheet tests running on Windows
307 Fixes <http://webkit.org/b/29181> User script/stylesheet tests are
310 Reviewed by John Sullivan.
312 * DumpRenderTree/win/DumpRenderTree.vcproj: Link all configurations
313 against comsuppw.lib so we can use _bstr_t.
315 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Fixed #include
316 order, added #include of comutil.h for _bstr_t.
318 (bstrT): Helper function to convert a JSStringRef to a _bstr_t.
319 (LayoutTestController::addUserScript):
320 (LayoutTestController::addUserStyleSheet):
321 Implemented. Implementations were based on those in
322 LayoutTestControllerMac.mm.
324 2009-09-10 David Kilzer <ddkilzer@apple.com>
326 <http://webkit.org/b/29147> run-webkit-tests: make -h show help
328 Reviewed by Mark Rowe.
330 * Scripts/run-webkit-tests: Updated to make -h switch show help.
332 2009-09-10 Fumitoshi Ukai <ukai@chromium.org>
334 Reviewed by Alexey Proskuryakov.
336 Add WebCore/websockets directory in wx build system.
337 https://bugs.webkit.org/show_bug.cgi?id=28038
339 * wx/build/settings.py:
341 2009-09-10 Martin Robinson <martin.james.robinson@gmail.com>
343 [GTK] EventSender does not properly convert some keyDown strings
344 https://bugs.webkit.org/show_bug.cgi?id=29119
346 Add more keyDown string to character code conversions for GTK+ EventSender.
348 * DumpRenderTree/gtk/EventSender.cpp:
351 2009-09-09 Steve Block <steveblock@google.com>
353 Reviewed by Maciej Stachowiak.
355 Geolocation Coordinates::toString() prints bogus values for unspecified properties.
356 https://bugs.webkit.org/show_bug.cgi?id=29080
358 * Scripts/make-script-test-wrappers: Modified. Adds asynchronous Geolocation tests to exclusion list.
360 2009-09-09 Eric Seidel <eric@webkit.org>
362 Reviewed by Eric Carlson.
364 reviewer/committer lookups are backwards
365 https://bugs.webkit.org/show_bug.cgi?id=29113
367 I also moved Eric Carlson from the committer list to the reviewer list now that he is one.
369 * Scripts/modules/bugzilla.py:
370 * Scripts/modules/committers.py:
372 2009-09-09 Cameron McCormack <cam@mcc.id.au>
374 Reviewed by Eric Seidel.
376 svn-unapply doesn't revert directories correctly
377 https://bugs.webkit.org/show_bug.cgi?id=29065
379 * Scripts/svn-unapply: Make svnStatus consistently return status
380 lines including a newline.
381 * Scripts/svn-apply: Keep svnStatus in sync with the one in
382 svn-unapply, in lieu of moving it to a common file.
384 2009-09-09 Cameron McCormack <cam@mcc.id.au>
386 Reviewed by Eric Seidel.
388 svn-apply doesn't handle changes to files copied to new directories properly
389 https://bugs.webkit.org/show_bug.cgi?id=29059
391 * Scripts/svn-apply: Don't treat "--- revision 0" patches as being
392 additions if we know that we've just copied a file to this name.
394 2009-09-09 Eric Seidel <eric@webkit.org>
396 Reviewed by David Levin.
398 commit-queue hangs if a builder has never built
399 https://bugs.webkit.org/show_bug.cgi?id=29091
401 * Scripts/modules/buildbot.py:
402 * Scripts/modules/buildbot_unittest.py:
404 2009-09-09 Zan Dobersek <zandobersek@gmail.com>
406 Reviewed by Gustavo Noronha.
408 [GTK] DumpRenderTree needs eventSender object and implementation
409 https://bugs.webkit.org/show_bug.cgi?id=25990
411 Implements most of the EventSender object's functionality for
412 the DumpRenderTree tool. Implementation still lacks support
413 for drag and drop tests and forward leaps.
415 Based on work by Holger Hans Peter Freyther.
417 * DumpRenderTree/gtk/DumpRenderTree.cpp:
418 (runTest): Focus on the view before loading a new test.
419 (webViewWindowObjectCleared):
420 * DumpRenderTree/gtk/EventSender.cpp: Added.
421 (getDragModeCallback):
422 (setDragModeCallback):
423 (leapForwardCallback):
424 (contextClickCallback):
428 (mouseMoveToCallback):
429 (beginDragWithFilesCallback):
432 (textZoomInCallback):
433 (textZoomOutCallback):
434 (zoomPageInCallback):
435 (zoomPageOutCallback):
438 * DumpRenderTree/gtk/EventSender.h: Added.
439 * GNUmakefile.am: Add build rules for EventSender.
441 2009-09-09 Daniel Bates <dbates@webkit.org>
443 Reviewed by Adam Roben.
445 https://bugs.webkit.org/show_bug.cgi?id=28953
447 Added pre- and post- build events so that on build failure, the file
448 buildfailed is written to the directory $(WebKitOutputDir).
450 * WinLauncher/WinLauncher.vcproj:
452 2009-09-09 Kenneth Rohde Christiansen <kenneth@webkit.org>
456 Add myself to list of committers.
458 * Scripts/modules/committers.py:
460 2009-09-08 Eric Seidel <eric@webkit.org>
462 Reviewed by David Levin.
464 commit-queue gets stuck if a non-committer sets commit-queue+ or review+
465 https://bugs.webkit.org/show_bug.cgi?id=28605
466 https://bugs.webkit.org/show_bug.cgi?id=28916
468 * Scripts/bugzilla-tool:
469 - Fix comment and adjust reject_patch_from_commit_queue call to pass "manual commit"
470 comment now that it's used for rejecting patches for invalid committers too.
471 - Pass reject_invalid_patches=True for commit-queue calls, normally we just ignore patches with invalid reviewers, the commit-queue rejects them.
472 - Make the commit queue print patches count instead of bugs count, this also fixes https://bugs.webkit.org/show_bug.cgi?id=28916.
473 * Scripts/modules/bugzilla.py:
474 - Make _parse_attachment_element not validate reviewer/committer.
475 - Share flag parsing code in _parse_attachment_flag.
476 - Add _validate* methods for validating reviewers and committers and updating bugs when validation fails.
477 - Add reject_invalid_patches argument so the commit-queue can update bugs on failed validation and other "read only" commands will not.
478 - Add reject_patch_from_review_queue using a new _set_flag_on_attachment abstraction.
479 * Scripts/modules/bugzilla_unittest.py:
480 - Update this test to no longer expect committer/reviewer validation.
481 * Scripts/modules/committers.py:
482 - Return None on failed lookups instead of raising Exceptions.
483 * Scripts/modules/committers_unittest.py:
484 - Update tests to expect None returns instead of exceptions.
486 2009-09-09 David Kilzer <ddkilzer@apple.com>
488 <http://webkit.org/b/29061> Fix obvious copy-paste error in AccessibilityUIElement::clickPointY()
490 Reviewed by Mark Rowe.
492 No change to layout test results.
494 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
495 (AccessibilityUIElement::clickPointY): Changed to return y value
498 2009-09-08 Dimitri Glazkov <dglazkov@chromium.org>
500 Reviewed by Mark Rowe.
502 Reduce dglazkov's boboiness by properly concatenating revision value.
504 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Used substitution
507 2009-09-08 Kevin Ollivier <kevino@theolliviers.com>
509 wxWebKit Python extension build fix - get swig.py if it doesn't exist.
511 * wx/build/build_utils.py:
513 2009-09-08 Mark Rowe <mrowe@apple.com>
515 Fix an incorrect variable name in UpdateChromiumSource.
517 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
519 2009-09-08 Mark Rowe <mrowe@apple.com>
521 Don't check for leaks on the release SnowLeopard builder.
523 * BuildSlaveSupport/build.webkit.org-config/config.json:
525 2009-09-08 Mark Rowe <mrowe@apple.com>
527 Add a SnowLeopard release builder.
529 * BuildSlaveSupport/build.webkit.org-config/config.json:
531 2009-09-08 David Levin <levin@chromium.org>
533 Reviewed by Darin Adler.
535 Remove end of line whitespace check from check-webkit-style.
536 https://bugs.webkit.org/show_bug.cgi?id=29053
538 * Scripts/modules/cpp_style.py:
540 2009-09-08 Cameron McCormack <cam@mcc.id.au>
542 Reviewed by Darin Adler.
544 Fix DumpRenderTree build from clean tree on Tiger
545 https://bugs.webkit.org/show_bug.cgi?id=28927
547 * DumpRenderTree/mac/PerlSupport/Makefile: Ensure the
548 DerivedSources/DumpRenderTree directory exists when
551 2009-09-08 Kevin Ollivier <kevino@theolliviers.com>
553 wx build fix after introduction of platform/mock directory.
555 * wx/build/settings.py:
557 2009-09-08 Yael Aharon <yael.aharon@nokia.com>
561 Add myself to list of committers.
563 * Scripts/modules/committers.py:
565 2009-09-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
569 Add myself to list of committers.
571 * Scripts/modules/committers.py:
573 2009-09-08 Cameron McCormack <cam@mcc.id.au>
575 Reviewed by Darin Adler.
577 prepare-ChangeLog too chatty on file additions
578 https://bugs.webkit.org/show_bug.cgi?id=29019
580 * Scripts/prepare-ChangeLog: Omit description of added properties
581 on newly added files.
583 2009-09-08 Steve Block <steveblock@google.com>
585 Reviewed by Adam Barth.
587 Adds a LayoutTestController method to set the permission state for Geolocation.
588 This is required to use the mock Geolocation service for testing.
589 https://bugs.webkit.org/show_bug.cgi?id=29027
591 * DumpRenderTree/LayoutTestController.cpp: Modified.
592 (setDatabaseQuotaCallback): Modified. Style fix.
593 (setGeolocationPermissionCallback): Added. Sets the Geolocation permission state.
594 (LayoutTestController::staticFunctions): Modified. Registers the above function on the LayoutTestController.
595 * DumpRenderTree/LayoutTestController.h: Modified.
596 (LayoutTestController::setGeolocationPermission): Added. Sets the Geolocation permission state.
597 (LayoutTestController::isGeolocationPermissionSet): Added. Returns whether the Geolocation permission has been set.
598 (LayoutTestController::geolocationPermission): Added. Returns the Geolocation permission state.
599 * DumpRenderTree/mac/UIDelegate.mm: Modified.
600 (-[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.
602 2009-09-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
604 Reviewed by Simon Hausmann.
606 [Qt] QtWebKit single API to enable persistency
607 https://bugs.webkit.org/show_bug.cgi?id=28682
609 Use the new enablePersistentStorage API instead
610 of enabling all persistent features one-by-one.
612 * DumpRenderTree/qt/DumpRenderTree.cpp:
613 (WebCore::WebPage::WebPage):
614 (WebCore::DumpRenderTree::DumpRenderTree):
616 2009-09-07 Andras Becsi <becsi.andras@stud.u-szeged.hu>
618 Reviewed by Tor Arne Vestbø.
620 Refactor --strict switch to --ignore-metrics and correct the
621 implementation to make the feature usable on all platforms.
622 https://bugs.webkit.org/show_bug.cgi?id=28907
624 run-webkit-tests --ignore-metrics strips the font related metrics from
625 the actual and expected data before comparing them.
626 In this way the render trees can be checked for obvious differences but
627 a successful test implies by no means that the layout is actually correct.
629 * Scripts/run-webkit-tests:
631 2009-09-07 Steve Block <steveblock@google.com>
633 Reviewed by Adam Barth.
635 Adds a mock Geolocation service. This will be used to provide predictable behavior of the
636 Geolocation API for use in LayoutTests. Later changes will integrate the the mock
637 Geolocation service with DumpRenderTree.
638 https://bugs.webkit.org/show_bug.cgi?id=28264
640 * DumpRenderTree/LayoutTestController.cpp: Modified.
641 (setMockGeolocationPositionCallback): Added. Configures the mock Geolocation service.
642 (setMockGeolocationErrorCallback): Added. Configures the mock Geolocation service.
643 (LayoutTestController::staticFunctions): Added. Registers the above functions on the LayoutTestController.
644 * DumpRenderTree/LayoutTestController.h: Modified.
645 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Modified.
646 (LayoutTestController::setMockGeolocationPosition): Added. Configures the mock Geolocation service.
647 (LayoutTestController::setMockGeolocationError): Added. Configures the mock Geolocation service.
649 2009-09-07 Drew Wilson <atwilson@google.com>
651 Reviewed by David Levin.
653 Enable SHARED_WORKERS by default
654 https://bugs.webkit.org/show_bug.cgi?id=28959
656 * Scripts/build-webkit:
658 2009-09-07 Kevin Ollivier <kevino@theolliviers.com>
660 wx build fixes for wx SVN trunk.
662 * wx/build/settings.py:
664 2009-09-04 Kevin Ollivier <kevino@theolliviers.com>
666 wx build fix. Switch USE_ defines over to the compiler so that they can be
667 checked by files not including config.h (like WebCorePrefix.h).
669 * wx/build/settings.py:
671 2009-09-04 Adam Barth <abarth@webkit.org>
673 Unreviewed build fix.
675 Update declaration of FrameLoadDelegate to reflect that
676 IWebFrameLoadDelegatePrivate2 inherits from
677 IWebFrameLoadDelegatePrivate.
679 * DumpRenderTree/win/FrameLoadDelegate.h:
681 2009-09-04 Adam Barth <abarth@webkit.org>
683 Reviewed by Eric Seidel.
685 https://bugs.webkit.org/show_bug.cgi?id=24696
687 Add testing instrumentation for mixed content.
689 * DumpRenderTree/mac/FrameLoadDelegate.mm:
690 (-[FrameLoadDelegate webView:]):
691 (-[FrameLoadDelegate webView:didRunInsecureContent:]):
692 * DumpRenderTree/win/FrameLoadDelegate.cpp:
693 (descriptionSuitableForTestResult):
694 (FrameLoadDelegate::QueryInterface):
695 (FrameLoadDelegate::didDisplayInsecureContent):
696 (FrameLoadDelegate::didRunInsecureContent):
697 * DumpRenderTree/win/FrameLoadDelegate.h:
699 2009-09-03 Kevin Watters <kevinwatters@gmail.com>
701 Reviewed by Kevin Ollivier.
704 https://bugs.webkit.org/show_bug.cgi?id=19041
708 2009-09-02 David Kilzer <ddkilzer@apple.com>
710 <http://webkit.org/b/28880> svn-apply --force doesn't actually work
712 Reviewed by Eric Seidel.
714 This fixes "svn-apply --force" and adds unit tests for the
715 scm.apply_patch() method which uses this script.
717 * Scripts/svn-apply: Created $globalExitCode variable that
718 defaults to 0. Exit with a value of $globalExitCode when the
720 (applyPatch): Ignore a non-zero $exitCode if $force is true, but
721 set $globalExitCode to $exitCode so that svn-apply exits with a
722 non-zero status if any patches did not apply cleanly. Also
723 print out the actual patch command if $force was not true.
725 * Scripts/modules/scm.py:
726 (scripts_directory): Added. Extracted from script_path().
727 (script_path): Extracted scripts_directory().
728 * Scripts/modules/scm_unittest.py: Import urllib.
729 (SVNTestRepository.setup): Save the original working directory
730 in test_object since this represents the WebKit repository from
731 where the unit tests are run.
732 (SCMTest): Created new super class to hold utility methods.
733 (SCMTest._create_patch): Creates a patch file on disk and a
734 dictionary for use with scm.svn_apply().
735 (SCMTest._setup_webkittools_scripts_symlink): Sets up a symlink
736 back to WebKitTools/Scripts in the test repository so that
737 scm.apply_patch() is able to find the svn-apply script.
738 (SVNTest): Inherit from SCMTest instead of unittest.TestCase.
739 (SVNTest.tearDown): Make sure to change directories back to the
740 original_path before the next test.
741 (SVNTest.test_apply_svn_patch): New test case for applying an
742 svn patch with scm.apply_patch().
743 (SVNTest.test_apply_svn_patch_force): New test case for applying
744 an svn patch with scm.apply_patch() that conflicts.
745 (GitTest): Inherit from SCMTest instead of unittest.TestCase.
746 (GitTest.tearDown): Make sure to change directories back to the
747 original_path before the next test.
748 (GitTest.test_apply_git_patch): New test case for applying a git
749 patch with scm.apply_patch().
750 (GitTest.test_apply_git_patch_force): New test case for applying
751 a git patch with scm.apply_patch() that conflicts.
753 2009-09-02 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
755 Reviewed by Mark Rowe.
757 [Qt] Add support for platform-spesific layout-test results
759 For the Qt port we use the qt-[mac|linux|win] directories and then fall
760 back to the generic qt directory for both test results and skipped list.
762 * Scripts/run-webkit-tests:
763 * Scripts/webkitdirs.pm:
765 2009-09-02 Laurent Cerveau <lcerveau@me.com>
767 Reviewed by David Kilzer.
769 <http://webkit.org/b/25517> build-webkit script should print build time at end
771 * Scripts/build-webkit:
772 Added startTime and endTime variable so that the build time is computed and printed as
773 part of the build message; display formatting has been separated in a dedicated subroutine.
775 2009-09-02 David Kilzer <ddkilzer@apple.com>
777 <http://webkit.org/b/28881> svn-create-patch should check if the repo path is the same when trying to find the root
779 Reviewed by Eric Seidel.
781 * Scripts/VCSUtils.pm:
782 (determineSvnRoot): Added back check for repository root that
783 was removed in r46134 when this code lived in svn-create-patch.
784 It's necessary to check both the repository root and the
785 repository UUID in case two different working directories are
786 checked out from the same repository.
788 2009-09-02 Timothy Hatcher <timothy@apple.com>
790 Use new 512x512 icons for nightly builds.
792 Rubber-stamped by Mark Rowe.
794 * WebKitLauncher/webkit.icns:
796 2009-09-02 Kevin Ollivier <kevino@theolliviers.com>
798 waf build fix. Remove local variable shadowing global.
800 * wx/build/settings.py:
802 2009-09-02 Zan Dobersek <zandobersek@gmail.com>
804 Reviewed by David Kilzer.
806 Calls exitStatus function from the main package where it is also defined.
808 * Scripts/VCSUtils.pm:
810 2009-09-02 Kevin Ollivier <kevino@theolliviers.com>
812 waf build fixes for Windows/MSVC and Mac/Snow Leopard.
814 * wx/browser/wscript:
815 * wx/build/build_utils.py:
816 * wx/build/settings.py:
818 2009-08-10 Kevin Ollivier <kevino@theolliviers.com>
820 Reviewed by Eric Seidel.
822 Changes needed for build-webkit to support the waf build system for the wx port.
824 https://bugs.webkit.org/show_bug.cgi?id=27619
826 * Scripts/build-webkit:
827 * Scripts/run-launcher:
828 * Scripts/webkitdirs.pm:
830 2009-09-02 David Kilzer <ddkilzer@apple.com>
832 <http://webkit.org/b/27168> With Subversion 1.6, update-webkit prompts on conflicts
834 Reviewed by Eric Seidel.
836 * Scripts/update-webkit: Added "--accept postpone" to
837 @svnOptions when running with svn-1.6 or newer.
839 2009-09-02 David Kilzer <ddkilzer@apple.com>
841 Moved svn 1.6 version check into VCSUtils::isSVNVersion16OrNewer()
843 Reviewed by Eric Seidel.
845 * Scripts/VCSUtils.pm:
846 (@EXPORT): Added &isSVNVersion16OrNewer.
847 (svnVersion): Added. Internal method that gets the SVN version
849 (isSVNVersion16OrNewer): Added. Method that does the SVN 1.6
851 * Scripts/prepare-ChangeLog: Switched to use new
852 isSVNVersion16OrNewer() method.
853 * Scripts/resolve-ChangeLogs: Ditto.
854 * Scripts/svn-create-patch: Ditto.
856 2009-09-02 David Kilzer <ddkilzer@apple.com>
860 Reviewed by Eric Seidel.
862 * Scripts/VCSUtils.pm: Added proper package statement. Fixed
863 indentation of BEGIN block. Listed each exported method on a
864 line by itself. Added methods to the export list after adding
865 the package statement. Sorted module variables. Moved
866 definiton of $gitRoot next to other module variables.
868 2009-09-01 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
870 Rubber-stamped by Simon Hausmann.
872 [Qt] Fix layout-test plugins/plugin-javascript-access.html
874 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
876 2009-09-02 Shinichiro Hamaji <hamaji@chromium.org>
878 Reviewed by Eric Seidel.
880 js tests should move into jstests subdirectory instead of resources/
881 https://bugs.webkit.org/show_bug.cgi?id=25880
883 make-script-wrappers supports both resources and script-tests directories.
884 run-webkit-tests ignores files in script-tests.
885 Move script tests of animations to check the new script is working.
887 * Scripts/make-script-test-wrappers:
888 * Scripts/run-webkit-tests:
890 2009-09-02 Szabo Carol <carol.szabo@nokia.com>
892 Reviewed by David Levin.
894 check-webkit-style uses python from /usr/bin instead of the PATH
895 https://bugs.webkit.org/show_bug.cgi?id=28225
897 * Scripts/bugzilla-tool:
898 * Scripts/check-webkit-style:
899 * Scripts/run-webkit-unittests:
900 * Scripts/update-sources-list.py:
901 Changed the first line from
904 #!/usr/bin/env python
905 which causes python to be invoked from the path location returned
906 by "which python" when any of these scripts are launched.
907 these are currently all the python scripts in WebKitTools/Scripts.
909 2009-09-01 David Kilzer <ddkilzer@apple.com>
911 <http://webkit.org/b/28601> bugzilla-tool post-commits posts commits backwards
913 Reviewed by Adam Barth.
915 * Scripts/modules/scm.py:
916 (Git.commit_ids_from_commitish_arguments): Reverse the list of
917 commits returned from git-rev-list since we always want to post
918 the oldest patches first to bugs.webkit.org.
919 * Scripts/modules/scm_unittest.py:
920 (run): Added return statement to return the output now that we
922 (SVNTestRepository._setup_test_commits): Added a fourth commit
923 so the GitTest.test_commitish_order() test has more commits to
925 (GitTest.test_commitish_order): Added unit test for change to
926 Git.commit_ids_from_commitish_arguments() in scm.py.
928 2009-09-01 David Kilzer <ddkilzer@apple.com>
930 <http://webkit.org/b/28877> Implement bugzilla-tool mark-fixed
932 Reviewed by David Levin.
934 The mark-fixed subcommand is for those times when you don't use
935 bugzilla-tool to commit a patch, but you want to use it to close
936 the bug with a committed-revision message.
938 * Scripts/bugzilla-tool:
939 (bug_comment_from_svn_revision): Added. Extracted from
940 bug_comment_from_commit_text().
941 (bug_comment_from_commit_text): Extracted
942 bug_comment_from_svn_revision() from this method.
943 (MarkBugFixed.__init__): Added.
944 (MarkBugFixed._fetch_commit_log): Added. Retrieves the commit
945 log from the last commit if no svn revision is specified, else
946 the commit log for the specified svn revision.
947 (MarkBugFixed._determine_bug_id_and_svn_revision): Added.
948 Attempts to determine the bug id and svn revision if one or both
949 were not defined on the command line.
950 (MarkBugFixed.execute): Added. Adds a comment about the
951 revision that fixed the bug and closes the bug.
952 (BugzillaTool.__init__): Added mark-fixed subcommand.
953 * Scripts/modules/bugzilla.py:
954 (Bugzilla.fetch_title_from_bug): Added. Returns the title of a
956 * Scripts/modules/scm.py:
957 (SCM.strip_r_from_svn_revision): Added. Utility method to strip
958 the leading 'r' from an svn revision.
959 (SCM.svn_commit_log): Added. Subclasses must override.
960 (SCM.last_svn_commit_log): Added. Subclasses must override.
961 (SVN.svn_commit_log): Added. Returns svn log for a given
963 (SVN.last_svn_commit_log): Added. Uses svnversion to find the
964 last commit in an svn working directory and then runs svn log.
965 (Git.svn_commit_log): Added. Returns svn log for a given
967 (Git.last_svn_commit_log): Added. Runs git-svn-log with a limit
970 2009-09-01 David Kilzer <ddkilzer@apple.com>
972 <http://webkit.org/b/28880> svn-apply --force doesn't actually work
974 Reviewed by Brady Eidson.
977 (applyPatch): Add "--force" to $options arrayref if $force is
980 2009-09-01 David Kilzer <ddkilzer@apple.com>
982 <http://webkit.org/b/28725> resolve-ChangeLogs: determineVCSRoot() returns incorrect repository root during git filter-branch
984 Reviewed by Adam Roben.
986 When git-filter-branch has been invoked to rewrite ChangeLog
987 files on series of git commits, it changes directories into
988 .git-rewrite/t before re-running resolve-ChangeLogs. This
989 causes determineVCSRoot() in VCSUtils.pm to return
990 ".git-rewrite/t", which causes that path to be prepended to all
991 ChangeLog paths, which results in an error like this:
993 error: pathspec '.git-rewrite/t/ChangeLog' did not match any file(s) known to git.
994 Died at WebKitTools/Scripts/resolve-ChangeLogs line 376.
996 The correct way to fix this is not to try to find the repository
997 root when invoked by git-filter-branch.
999 * Scripts/resolve-ChangeLogs: If isInGitFilterBranch() is true,
1000 set $relativePath to '.' instead of calling
1001 chdirReturningRelativePath(determineVCSRoot()).
1002 (isInGitFilterBranch): Added. Checks for the existence of the
1003 MAPPED_PREVIOUS_COMMIT environment variable.
1005 2009-09-01 Xan Lopez <xlopez@igalia.com>
1007 Reviewed by Gustavo Noronha.
1009 Add support for Fedora distros in the http tests
1010 https://bugs.webkit.org/show_bug.cgi?id=28263
1012 Add detection code for Fedora distribution, and use the proper
1013 httpd conf file when needed.
1015 * Scripts/run-webkit-httpd:
1016 * Scripts/run-webkit-tests:
1017 * Scripts/webkitdirs.pm:
1019 2009-09-01 Jan Michael Alonzo <jmalonzo@webkit.org>
1021 Reviewed by Eric Seidel.
1023 [Gtk] DRT needs implementation of overridePreference
1024 https://bugs.webkit.org/show_bug.cgi?id=28830
1026 Implement overridePreference.
1028 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1029 (resetDefaultsToConsistentValues):
1030 (setDefaultsToConsistentStateValuesForTesting):
1032 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1034 (LayoutTestController::overridePreference):
1036 2009-09-01 Joseph Pecoraro <joepeck@webkit.org>
1038 <http://webkit.org/b/28623> svn-[un]apply should change directories to the repository root before [un]applying
1040 Reviewed by Eric Seidel.
1042 Jump back and forth between the repository root directory (to apply) and the
1043 directory the script was run from (to find the patch).
1045 * Scripts/svn-apply:
1046 * Scripts/svn-unapply:
1048 2009-08-31 Adam Roben <aroben@apple.com>
1050 Fall back to a Release version of Safari if a Debug one doesn't exist
1052 <http://webkit.org/b/28849>
1054 Reviewed by Sam Weinig.
1056 * Scripts/webkitdirs.pm:
1057 (safariPath): If the user is working with a Debug build, but there's
1058 no Debug version of Safari present, fall back to using a Release
1061 2009-08-31 Adam Roben <aroben@apple.com>
1063 Make safariPath() work for Debug builds of Safari on Windows
1065 <http://webkit.org/b/28849>
1067 Reviewed by Sam Weinig.
1069 * Scripts/webkitdirs.pm:
1070 (safariPath): If the user is working with a Debug build, add the
1071 _debug suffix to Safari.exe.
1073 2009-08-28 Eric Seidel <eric@webkit.org>
1075 Reviewed by Adam Barth.
1077 commit-queue needs a master process
1078 https://bugs.webkit.org/show_bug.cgi?id=28040
1080 Add a bugzilla-tool commit-queue command
1081 Keeps per-bug logs, but doesn't yet upload them anywhere.
1083 * Scripts/bugzilla-tool: Add LandPatchesFromCommitQueue to handle 'commit-queue'
1084 * Scripts/modules/buildbot.py: remove noisy log message
1085 * Scripts/modules/logging.py: add a 'tee()' call for splitting outputs in python
1087 2009-08-28 Jan Michael Alonzo <jmalonzo@webkit.org>
1089 Reviewed by Gustavo Noronha.
1091 [GTK] Geolocation needs permission API before being enabled by default
1093 Build the Gtk port with geolocation enabled. This option is only
1094 enabled for the buildbot. The autotools option will be enabled by
1095 default once the permissions API is implemented.
1097 * Scripts/build-webkit:
1099 2009-08-26 Cameron McCormack <cam@mcc.id.au>
1101 Reviewed by David Kilzer.
1103 Make prepare-ChangeLog notice property changes
1104 https://bugs.webkit.org/show_bug.cgi?id=28675
1106 Make the generated ChangeLog entry include a short description of
1107 property changes if there were such changes. Also make
1108 prepare-ChangeLog not bail if the only changes are property changes.
1110 * Scripts/prepare-ChangeLog:
1112 2009-08-26 Adam Barth <abarth@webkit.org>
1114 Reviewed by Oliver Hunt.
1116 Don't let local files access web URLs
1117 https://bugs.webkit.org/show_bug.cgi?id=28480
1119 A bunch of our LayoutTests rely on our old behavior, so we explicitly
1120 grant local files universal access during testing. Mainly, these tests
1121 involve making XMLHttpRequests for data URLs.
1123 * DumpRenderTree/mac/DumpRenderTree.mm:
1124 (resetDefaultsToConsistentValues):
1125 * DumpRenderTree/qt/DumpRenderTree.cpp:
1126 (WebCore::WebPage::WebPage):
1127 * DumpRenderTree/win/DumpRenderTree.cpp:
1128 (resetDefaultsToConsistentValues):
1130 2009-08-26 John Gregg <johnnyg@google.com>
1132 Reviewed by David Levin.
1134 Minor style correction and include fix for notifications
1135 https://bugs.webkit.org/show_bug.cgi?id=28745
1137 * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
1138 change to correct EnumStyle
1139 (DRTDesktopNotificationPresenter::checkNotificationPermission):
1141 2009-08-26 David Levin <levin@chromium.org>
1143 Reviewed by Alexey Proskuryakov.
1145 XMLHttpRequest.withCredentials=false shouldn't save cookies.
1146 https://bugs.webkit.org/show_bug.cgi?id=28743
1148 Added the support to the layout test controller on OSX and
1149 Windows (for CFNETWORK) to allow for changing the accept cookie
1152 * DumpRenderTree/LayoutTestController.cpp:
1153 (LayoutTestController::LayoutTestController): Added a bool
1154 to track the state of accepting cookies.
1155 (setAlwaysAcceptCookiesCallback): Standard wrapper method
1156 to go from js to a C++ method.
1157 (LayoutTestController::staticFunctions): Added the
1158 setAlwaysAcceptCookies method to the js layoutTestController.
1159 * DumpRenderTree/LayoutTestController.h:
1160 (LayoutTestController::alwaysAcceptCookies): Returns the value.
1161 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1162 (LayoutTestController::setAlwaysAcceptCookies): Stub out method.
1163 * DumpRenderTree/mac/DumpRenderTree.mm:
1164 (resetDefaultsToConsistentValues): Reset the accept cookie to
1166 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1167 (LayoutTestController::setAlwaysAcceptCookies): Does the work for
1168 OSX to change the cookie accept policy.
1169 * DumpRenderTree/win/DumpRenderTree.cpp:
1170 (setAlwaysAcceptCookies): Method to handle all the calls necessary
1171 to change the accept cookie policy on Windows.
1172 (resetDefaultsToConsistentValues): Reset the accept cookie to
1174 * DumpRenderTree/win/DumpRenderTreeWin.h:
1175 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1176 (LayoutTestController::setAlwaysAcceptCookies): Stub out method.
1177 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1178 (LayoutTestController::setAlwaysAcceptCookies): Stub out method.
1180 2009-08-26 Dimitri Glazkov <dglazkov@chromium.org>
1184 Remove accidentally left in clobber option.
1185 https://bugs.webkit.org/show_bug.cgi?id=28400
1187 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Removed clobber option.
1189 2009-08-26 Dimitri Glazkov <dglazkov@chromium.org>
1191 Reviewed by Mark Rowe.
1193 Add canary-style Chromium WebKit build slave to the waterfall.
1194 https://bugs.webkit.org/show_bug.cgi?id=28400
1196 * BuildSlaveSupport/build.webkit.org-config/config.json: Added one Chromium/Windows slave
1197 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added support for Chromium slave commands.
1199 2009-08-25 Cameron McCormack <cam@mcc.id.au>
1201 Reviewed by Darin Adler.
1203 make-script-test-wrappers should be executable
1204 https://bugs.webkit.org/show_bug.cgi?id=28669
1206 Make make-script-test-wrappers and update-sources-list.py both be
1209 * Scripts/update-sources-list.py:
1210 * Scripts/make-script-test-wrappers:
1212 2009-08-25 Brent Fulgham <bfulgham@webkit.org>
1216 Revise Debug_Cairo targets to point inherit from the
1217 debug_wincairo.vsprops property sheet so that they link
1218 against the proper libraries in Debug build.
1220 * DumpRenderTree/win/DumpRenderTree.vcproj:
1221 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1222 * WinLauncher/WinLauncher.vcproj:
1224 2009-08-25 David Levin <levin@chromium.org>
1226 Reviewed by Adam Roben.
1228 PLATFORM(CFNETWORK) should be USE(CFNETWORK).
1229 https://bugs.webkit.org/show_bug.cgi?id=28713
1231 * DumpRenderTree/win/DumpRenderTree.cpp:
1234 2009-08-25 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1236 Reviewed by Ariya Hidayat.
1238 [Qt/Mac] Use CONFIG+=build_all only when building libraries
1240 If no configuration is specified when building WebKit we pass the
1241 debug_and_release option to QMake which results in Makefiles for
1242 both configurations being generated.
1244 Previously we built both of these configurations by default, for
1245 all targets (both the QtWebKit framework/dyldlib and the various
1246 executables such as QtLauncher and tests). This makes sense for
1247 the libraries, which get the _debug suffix and can be loaded on
1248 demand by setting the DYLD_IMAGE_SUFFIX, but for executables we
1249 ended up building the same executable twice.
1251 We now only build one instance of each executable, and since this
1252 is a developer build we build the debug-version. Passing either
1253 --debug or --release to build-webkit will override this, and
1254 even in the default case the release version can still be built
1255 by running 'make release' in the the build directory of each
1258 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
1259 * Scripts/webkitdirs.pm:
1261 2009-08-24 Hironori Bono <hbono@chromium.org>
1263 Reviewed by Adam Barth.
1265 Fix Bug 27827 "[Chromium] Functions Keys don't work in google spreadsheet".
1266 <https://bugs.webkit.org/show_bug.cgi?id=27827>.
1268 Because of the lack of mappings from GDK key-codes to WebKit key-codes,
1269 Chromium cannot send valid key-codes to JavaScript when a user types
1270 function keys. This change just copies the mappings from 'KeyEventGtk.cpp'.
1272 To write layout tests for this issue, added mappings from function-key
1273 names to platform-specific key-codes to EventSendingController objects
1274 so that eventSender.keyDown() can send function-key events without using
1275 platform-specific key codes. (Unfortunately, this eventSender.keyDown() change
1276 is only for Mac. So this change adds this new test to Skipped tests for other
1277 platforms to prevent this change from crashing the build trees.)
1279 * DumpRenderTree/mac/EventSendingController.mm:
1280 (-[EventSendingController keyDown:withModifiers:]):
1282 2009-08-23 Jan Michael Alonzo <jmalonzo@webkit.org>
1284 Reviewed by Xan Lopez.
1286 [Gtk] API for disabling local file access to web URLs
1287 https://bugs.webkit.org/show_bug.cgi?id=28663
1289 Enable this setting for DRT.
1291 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1292 (resetWebViewToConsistentStateBeforeTesting):
1294 2009-08-22 Adam Barth <abarth@webkit.org>
1296 Revert 47684. We're going to do this later once clients have had a
1297 chance to opt into the setting they like.
1299 * DumpRenderTree/mac/DumpRenderTree.mm:
1300 (resetDefaultsToConsistentValues):
1301 * DumpRenderTree/qt/DumpRenderTree.cpp:
1302 (WebCore::WebPage::WebPage):
1303 * DumpRenderTree/win/DumpRenderTree.cpp:
1304 (resetDefaultsToConsistentValues):
1306 2009-08-22 Adam Barth <abarth@webkit.org>
1308 Reviewed by Eric Seidel.
1310 Don't let local files access web URLs
1311 https://bugs.webkit.org/show_bug.cgi?id=28480
1313 A bunch of our LayoutTests rely on our old behavior, so we explicitly
1314 grant local files universal access during testing. Mainly, these tests
1315 involve making XMLHttpRequests for data URLs.
1317 * DumpRenderTree/mac/DumpRenderTree.mm:
1318 (resetDefaultsToConsistentValues):
1319 * DumpRenderTree/qt/DumpRenderTree.cpp:
1320 (WebCore::WebPage::WebPage):
1321 * DumpRenderTree/win/DumpRenderTree.cpp:
1322 (resetDefaultsToConsistentValues):
1324 2009-08-22 Mark Rowe <mrowe@apple.com>
1326 Rubber-stamped by Anders Carlsson.
1328 Bring signed updates to the Mac nightly builds.
1330 * WebKitLauncher/Info.plist:
1331 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1332 * WebKitLauncher/WebKitNightlyEnablerSparkle.m:
1333 (initializeSparkle):
1334 * WebKitLauncher/nightly.webkit.org.public.pem: Added.
1336 2009-08-21 Jan Michael Alonzo <jmalonzo@webkit.org>
1338 Rubberstamped by Simon Fraser.
1340 Remove GNOME keyring support in build-webkit. This dependency's
1341 already been removed in the Gtk port.
1343 * Scripts/build-webkit:
1345 2009-08-20 Brian Weinstein <bweinstein@apple.com>
1347 Reviewed by Adam Roben.
1348 Based on original patch by Stephanie Lewis.
1350 Added support of the Windows malloc history format to parse-malloc history, so we can
1353 * Scripts/parse-malloc-history:
1355 2009-08-20 Chris Fleizach <cfleizach@apple.com>
1357 Reviewed by Darin Adler.
1359 Enable various "grouping" ARIA roles
1360 https://bugs.webkit.org/show_bug.cgi?id=28486
1362 Expose the ability to retrieve the subrole through accessibility for DRT.
1364 * DumpRenderTree/AccessibilityUIElement.cpp:
1365 * DumpRenderTree/AccessibilityUIElement.h:
1366 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
1367 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1368 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1370 2009-08-20 Joseph Pecoraro <joepeck@webkit.org>
1374 Added myself as a committer.
1376 * Scripts/modules/committers.py:
1378 2009-08-20 Xan Lopez <xlopez@igalia.com>
1380 Reviewed by Gustavo Noronha.
1384 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1385 (LayoutTestController::whiteListAccessFromOrigin):
1386 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1387 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1389 2009-08-20 Eric Seidel <eric@webkit.org>
1391 Reviewed by Adam Barth.
1393 bugzilla-tool post-diff can post partial diffs from SVN checkouts.
1394 https://bugs.webkit.org/show_bug.cgi?id=28445
1396 Pass the checkout root as the cwd. Also wrote a test to ensure this.
1398 * Scripts/modules/scm.py:
1399 * Scripts/modules/scm_unittest.py:
1401 2009-08-20 Mark Rowe <mrowe@apple.com>
1403 Reviewed by Adele Peterson.
1405 Don't leak the JSStringRef returned by AccessibilityUIElement::attributeValue.
1407 * DumpRenderTree/AccessibilityUIElement.cpp:
1408 (attributeValueCallback):
1410 2009-08-20 Ariya Hidayat <ariya.hidayat@nokia.com>
1412 Unreviewed, build fix.
1414 [Qt] The template-based qMax() compares two qreals.
1416 * DumpRenderTree/qt/ImageDiff.cpp:
1419 2009-08-20 David Levin <levin@chromium.org>
1421 Reviewed by David Kilzer.
1423 bugzilla-tool patch retrieval should handle 302 redirects.
1424 https://bugs.webkit.org/show_bug.cgi?id=28485
1426 * Scripts/modules/scm.py: Pass the --location parameter to curl
1427 so that 302's are followed.
1429 2009-08-20 Aaron Boodman <aa@chromium.org>
1431 One more speculative build for gtk.
1433 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1435 2009-08-20 Aaron Boodman <aa@chromium.org>
1437 Speculative build for gtk.
1439 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1440 (LayoutTestController::whiteListAccessFromOrigin):
1442 2009-08-20 Mark Rowe <mrowe@apple.com>
1444 Ignore some leaks that are known to originate from ImageIO.
1446 * Scripts/run-webkit-tests:
1448 2009-08-20 Aaron Boodman <aa@chromium.org>
1452 Speculative build fix for qt.
1454 * DumpRenderTree/qt/jsobjects.cpp:
1455 (LayoutTestController::whiteListAccessFromOrigin):
1456 * DumpRenderTree/qt/jsobjects.h:
1458 2009-08-19 Mark Rowe <mrowe@apple.com>
1460 Reviewed by Dan Bernstein.
1462 Fix <http://webkit.org/b/28484> Plug-in-related leaks seen on the build bot
1464 Update check-for-global-initializers to accommodate the new uses of RefCountedLeakCounter in WebKit.
1466 * Scripts/check-for-global-initializers:
1468 2009-08-19 Aaron Boodman <aa@chromium.org>
1470 Reviewed by David Levin.
1472 https://bugs.webkit.org/show_bug.cgi?id=24853: Provide a way for WebKit clients to
1473 specify a more granular policy for cross-origin XHR access.
1475 * DumpRenderTree/LayoutTestController.cpp: Expose whiteListAccessFromOrigin() to layout tests.
1476 (whiteListAccessFromOriginCallback): Ditto.
1477 (LayoutTestController::staticFunctions): Ditto.
1478 * DumpRenderTree/LayoutTestController.h: Ditto.
1479 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Ditto.
1480 (LayoutTestController::whiteListAccessToOrigin): Ditto.
1481 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Ditto.
1482 (LayoutTestController::whiteListAccessFromOrigin): Ditto.
1483 * DumpRenderTree/qt/jsobjects.cpp: Ditto.
1484 (LayoutTestController::whiteListAccessFromOrigin): Ditto.
1485 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Stub out whiteListAccessFromOrigin().
1486 (LayoutTestController::whiteListAccessFromOrigin): Ditto.
1487 * DumpRenderTree/gtk/DumpRenderTree.cpp: Reset origin access lists before each test.
1488 (resetWebViewToConsistentStateBeforeTesting): Ditto.
1489 * DumpRenderTree/mac/DumpRenderTree.mm: Ditto.
1490 (resetWebViewToConsistentStateBeforeTesting): Ditto.
1491 * DumpRenderTree/qt/DumpRenderTree.cpp: Ditto.
1492 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): Ditto.
1494 2009-08-19 Mark Rowe <mrowe@apple.com>
1496 Rubber-stamped by Dan Bernstein.
1498 Ignore some leaks that are known to originate from QTKit.
1500 * Scripts/run-webkit-tests:
1502 2009-08-19 Eric Seidel <eric@webkit.org>
1504 Reviewed by Adam Barth.
1506 commit-queue/bugzilla-tool can get wedged if git is mid-rebase
1507 https://bugs.webkit.org/show_bug.cgi?id=28436
1509 Make clean_working_directory cancel rebases too (even though that's a bit of a hack).
1510 This code will only ever be run when --force-clean is passed.
1512 I also added a new unit test to make sure this code actually works. :)
1514 * Scripts/modules/scm.py:
1515 * Scripts/modules/scm_unittest.py:
1517 2009-08-19 Eric Seidel <eric@webkit.org>
1519 Reviewed by David Levin.
1521 WebKit needs a changelogs.py to hold changelog-related code
1522 https://bugs.webkit.org/show_bug.cgi?id=28477
1524 This is moving code and adding tests. There was only one functional
1525 change (which was removing a trailing newline from the last_entry() result).
1527 * Scripts/bugzilla-tool:
1528 * Scripts/modules/changelogs.py: Added.
1529 * Scripts/modules/changelogs_unittest.py: Added.
1530 * Scripts/run-webkit-unittests:
1532 2009-08-20 Eric Seidel <eric@webkit.org>
1534 Reviewed by Adam Barth.
1536 bugzilla-tool needs a way to ask build.webkit.org if the bots are passing
1537 https://bugs.webkit.org/show_bug.cgi?id=28222
1539 Basic support for now. This has been in testing for 24 hours now and worked great!
1541 * Scripts/bugzilla-tool:
1542 * Scripts/modules/buildbot.py: Added.
1543 * Scripts/modules/buildbot_unittest.py: Added.
1544 * Scripts/run-webkit-unittests:
1546 2009-08-19 Jan Michael Alonzo <jmalonzo@webkit.org>
1548 Reviewed by Gustavo Noronha.
1550 [Gtk] Bump waitToDumpWatchdog interval to 15 seconds to match the
1551 default timeout used by run-webkit-tests. Mac and Win ports were
1552 recently bumped in http://trac.webkit.org/changeset/r47465.
1554 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1555 (LayoutTestController::setWaitToDump):
1557 2009-08-19 David D. Kilzer <ddkilzer@webkit.org>
1559 DumpRenderTreeSupport.pm: provide pre-generated swig source for Tiger
1561 Reviewed by Mark Rowe.
1563 Provide pre-generated swig source files for Tiger so it may
1564 benefit from the faster run-webkit-tests.
1566 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupportTiger.pm:
1568 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport_wrapTiger.c: Added.
1570 (swig_type_info::SWIG_TypeNameComp):
1571 (swig_type_info::SWIG_TypeEquiv):
1572 (swig_type_info::SWIG_TypeRegisterTL):
1573 (swig_type_info::SWIG_TypeCheck):
1574 (swig_type_info::SWIG_TypeCast):
1575 (swig_type_info::SWIG_TypeDynamicCast):
1576 (swig_type_info::SWIG_TypeName):
1577 (swig_type_info::SWIG_TypePrettyName):
1578 (swig_type_info::SWIG_TypeQueryTL):
1579 (swig_type_info::SWIG_TypeClientDataTL):
1580 (swig_type_info::SWIG_PackData):
1581 (swig_type_info::SWIG_UnpackData):
1582 (swig_type_info::SWIG_PropagateClientDataTL):
1583 (swig_type_info::SWIG_PackVoidPtr):
1584 (swig_type_info::SWIG_UnpackVoidPtr):
1585 (swig_type_info::SWIG_PackDataName):
1586 (swig_type_info::SWIG_UnpackDataName):
1587 * DumpRenderTree/mac/PerlSupport/Makefile: Updated to build on
1588 Tiger using pre-generated files.
1590 2009-08-18 Shinichiro Hamaji <hamaji@chromium.org>
1592 Reviewed by David Kilzer.
1594 run-webkit-tests hangs when WebCore tries to log too much
1595 https://bugs.webkit.org/show_bug.cgi?id=15743
1597 Read stdout and stderr in parallel.
1599 * Scripts/run-webkit-tests:
1601 2009-08-18 Mark Rowe <mrowe@apple.com>
1603 Rubber-stamped by Oliver Hunt.
1605 Add a new build configuration that checks for leaks during the layout tests,
1606 and hook a new machine up to it.
1608 * BuildSlaveSupport/build.webkit.org-config/config.json:
1609 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1611 2009-08-18 Aaron Boodman <aa@chromium.org>
1613 Reviewed by Maciej Stachowiak.
1615 https://bugs.webkit.org/show_bug.cgi?id=28412: Leak of WebCore::XMLHttpRequest object during layout tests.
1617 No new tests: Already covered by existing tests.
1619 * Scripts/check-for-global-initializers: Allow global initialization of WTF::RefCountedLeakCounter for XMLHttpRequest.
1621 2009-08-18 Mark Rowe <mrowe@apple.com>
1623 Rubber-stamped by Geoff Garen.
1625 Bump waitToDumpWatchdogInterval to 15 seconds to match the time-out used by run-webkit-tests.
1627 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1628 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1630 2009-08-18 Brian Weinstein <bweinstein@apple.com>
1632 Rubber-stamped by Adam Roben.
1634 Changed use of CComBSTR in exceededDatabaseQuota to BSTRs, and free them,
1635 and removed include to fix building on VC++ Express.
1637 * DumpRenderTree/win/UIDelegate.cpp:
1638 (UIDelegate::exceededDatabaseQuota):
1640 2009-08-18 Brian Weinstein <bweinstein@apple.com>
1642 Reviewed by Oliver Hunt.
1644 Fix of <https://bugs.webkit.org/show_bug.cgi?id=28326> DRT on Windows doesn't support
1645 LayoutTestController::setQuota or print a callback on UIDelegate::exceededDatabaseQuota.
1647 Implemenent setDatabaseQuota and added a new function to the IWebDatabaseManager interface.
1648 Also added a console output on UIDelegate::exceededDatabaseQuota to match the mac.
1650 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1651 (LayoutTestController::setDatabaseQuota):
1652 * DumpRenderTree/win/UIDelegate.cpp:
1653 (UIDelegate::exceededDatabaseQuota):
1655 2009-08-18 Peter Kasting <pkasting@google.com>
1657 Reviewed by Eric Seidel.
1659 https://bugs.webkit.org/show_bug.cgi?id=28415
1660 Set svn:eol-style CRLF on all .sln and .vcproj files that don't already
1663 * record-memory-win/record-memory-win.vcproj:
1664 * WinLauncher/WinLauncher.vcproj:
1665 * WebKitLauncherWin/WebKitLauncherWin.vcproj:
1666 * DumpRenderTree/win/ImageDiff.vcproj:
1667 * FindSafari/FindSafari.vcproj:
1669 2009-08-18 Drew Wilson <atwilson@google.com>
1671 Reviewed by Eric Seidel.
1673 Need to extend DumpRenderTree to expose number of worker threads
1674 https://bugs.webkit.org/show_bug.cgi?id=28292
1676 Added layoutTestController.workerThreadCount, and implementations on various platforms that call into WebKit.
1678 * DumpRenderTree/LayoutTestController.cpp:
1679 (getWorkerThreadCountCallback):
1680 (LayoutTestController::staticValues):
1681 * DumpRenderTree/LayoutTestController.h:
1682 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1683 (LayoutTestController::workerThreadCount):
1684 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1685 (LayoutTestController::workerThreadCount):
1686 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1687 (LayoutTestController::workerThreadCount):
1688 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1689 (LayoutTestController::workerThreadCount):
1691 2009-08-18 Xan Lopez <xlopez@igalia.com>
1693 Reviewed by Jan Alonzo.
1695 Initialize x and y in the GtkAllocation structure to shut up
1698 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1701 2009-08-17 Shinichiro Hamaji <hamaji@chromium.org>
1703 Reviewed by Darin Adler.
1705 Some HTMLs are modified by make-script-test-wrappers
1706 https://bugs.webkit.org/show_bug.cgi?id=28213
1708 Add fast/js/const.js and fast/canvas/canvas-2d-imageData-create-nonfinite.js into
1709 the exclude list, modified fast/dom/Geolocation/resources/TEMPLATE.html, and
1710 re-generated wml/* and Geolocation/* .
1712 * Scripts/make-script-test-wrappers:
1714 2009-08-17 Shinichiro Hamaji <hamaji@chromium.org>
1716 Reviewed by Eric Seidel.
1718 -webkit-box-orient:horizontal doesn't work on <button> tag
1719 https://bugs.webkit.org/show_bug.cgi?id=34445
1721 Make a flexible button's anonymous child flexible and pass the
1722 parent's box-orient to the anonymous child.
1724 Also, added a renderName for anonymous flexible boxes.
1726 * Scripts/make-script-test-wrappers:
1728 2009-08-17 Eric Seidel <eric@webkit.org>
1730 Reviewed by Darin Adler.
1732 Can no longer --reset-results of a layout test directory
1733 https://bugs.webkit.org/show_bug.cgi?id=28336
1735 --reset-results and --exit-after-n-failures are incompatible.
1737 * Scripts/run-webkit-tests:
1739 2009-08-17 David Kilzer <ddkilzer@apple.com>
1741 <http://webkit.org/b/26920> bugzilla-tool dumps too much junk the the commit comment from git
1743 Reviewed by Adam Roben.
1746 Committed r12345: <http://trac.webkit.org/changeset/12345>
1748 * Scripts/bugzilla-tool:
1749 (bug_comment_from_commit_text): Print out a compact,
1750 standardized commit message for both git and svn.
1752 2009-08-17 Peter Kasting <pkasting@google.com>
1754 Reviewed by Steve Falkenburg.
1756 https://bugs.webkit.org/show_bug.cgi?id=27323
1757 Only add Cygwin to the path when it isn't already there. This avoids
1758 causing problems for people who purposefully have non-Cygwin versions of
1759 executables like svn in front of the Cygwin ones in their paths.
1761 * DumpRenderTree/win/DumpRenderTree.vcproj:
1762 * DumpRenderTree/win/ImageDiff.vcproj:
1763 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1765 2009-08-17 David Kilzer <ddkilzer@apple.com>
1767 <http://webkit.org/b/28393> check-webkit-style: add check for use of std::max()/std::min() instead of MAX()/MIN()
1769 Reviewed by David Levin.
1771 * Scripts/modules/cpp_style.py:
1772 (_ERROR_CATEGORIES): Added 'runtime/max_min_macros'.
1773 (check_max_min_macros): Added. Returns level 4 error when MAX()
1774 and MIN() macros are used in header files and C++ source files.
1775 (check_style): Added call to check_max_min_macros().
1776 * Scripts/modules/cpp_style_unittest.py: Added unit tests.
1777 (test_max_macro): Added.
1778 (test_min_macro): Added.
1780 2009-08-13 Mike Fenton <mike.fenton@torchmobile.com>
1782 Reviewed by Eric Seidel.
1784 Move adjustLineToPixelBoundaries overlapping function to GraphicsContext.cpp
1785 and remove from GraphicsContextCairo.cpp and GraphicsContextQt.cpp.
1787 https://bugs.webkit.org/show_bug.cgi?id=28268
1789 * platform/graphics/GraphicsContext.cpp:
1790 (WebCore::GraphicsContext::adjustLineToPixelBoundaries):
1791 * platform/graphics/GraphicsContext.h:
1792 * platform/graphics/cairo/GraphicsContextCairo.cpp:
1793 * platform/graphics/qt/GraphicsContextQt.cpp:
1795 2009-08-10 Mike Fenton <mike.fenton@torchmobile.com>
1797 Reviewed by Adam Treat.
1799 Style fixes for DumpRenderTree/qt/jsobjects.cpp based on cpp_style.py and
1802 https://bugs.webkit.org/show_bug.cgi?id=28161
1804 * DumpRenderTree/qt/jsobjects.cpp:
1807 (LayoutTestController::provisionalLoad):
1808 (LayoutTestController::timerEvent):
1809 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1810 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1811 (LayoutTestController::numberOfActiveAnimations):
1812 (EventSender::keyDown):
1813 (EventSender::frameUnderMouse):
1814 (TextInputController::doCommand):
1816 2009-08-16 David Kilzer <ddkilzer@apple.com>
1818 <http://webkit.org/b/28370> check-webkit-style: add check for 'using std::foo;' statements
1820 Reviewed by David Levin.
1822 In <http://webkit.org/b/28355#c1>, it was noted that new source
1823 files use 'using namespace std;' instead of individual
1824 'using std::foo;' statements. This adds a level 4 check for
1827 * Scripts/modules/cpp_style.py:
1828 (_ERROR_CATEGORIES): Added 'build/using_std'.
1829 (check_using_std): Added.
1830 (check_style): Added call to check_using_std().
1831 * Scripts/modules/cpp_style_unittest.py:
1832 (WebKitStyleTest.test_using_std): Added unit test.
1834 2009-08-16 David Kilzer <ddkilzer@apple.com>
1836 Backed out r47343 which was mistakenly committed
1838 * Scripts/bugzilla-tool:
1839 * Scripts/modules/scm.py:
1841 2009-08-16 David Kilzer <ddkilzer@apple.com>
1843 <http://webkit.org/b/28367> bugzilla.py: replace ScriptError class with BugzillaError class
1845 Reviewed by David Levin.
1847 The ScriptError class doesn't exist in bugzilla.py, so any
1848 errors print error messages about ScriptError instead of the
1851 NameError: global name 'ScriptError' is not defined
1853 * Scripts/modules/bugzilla.py:
1854 (BugzillaError): Added class. Modeled after ScriptError class
1856 (Bugzilla.authenticate): Changed to use BugzillaError instead of
1858 (Bugzilla._check_create_bug_response): Ditto.
1860 2009-08-14 Adam Bergkvist <adam.bergkvist@ericsson.com>
1862 Reviewed by Sam Weinig.
1864 Added EventSource to the build script (default on).
1865 https://bugs.webkit.org/show_bug.cgi?id=14997
1867 * Scripts/build-webkit:
1869 2009-08-15 Ryosuke Niwa <rniwa@webkit.org>
1873 Add myself to list of committers.
1875 * Scripts/modules/committers.py:
1877 2009-08-15 Jon Honeycutt <jhoneycutt@apple.com>
1879 Fix layout test failures after r47312.
1881 Reviewed by Cameron Zwarich.
1883 * DumpRenderTree/AccessibilityController.h:
1884 Replaced logFocusEvents() with setLogFocusEvents(), which takes a
1885 boolean argument to turn logging of focus events on or off.
1886 Added a function to reset the AccessibilityController to a consistent
1889 * DumpRenderTree/AccessibilityController.cpp:
1890 (logFocusEventsCallback):
1891 Call setLogFocusEvents() to enable logging.
1892 (AccessibilityController::resetToConsistentState):
1893 Call setLogFocusEvents() to disable logging.
1895 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
1896 (AccessibilityController::setLogFocusEvents):
1899 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1900 (AccessibilityController::setLogFocusEvents):
1903 * DumpRenderTree/mac/DumpRenderTree.mm:
1904 (resetWebViewToConsistentStateBeforeTesting):
1905 Call the FrameLoadDelegate's resetToConsistentState method.
1907 * DumpRenderTree/mac/FrameLoadDelegate.h:
1908 Declare the resetToConsistentState method.
1910 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1911 (-[FrameLoadDelegate resetToConsistentState]):
1912 Call the AccessibilityController's resetToConsistentState() function.
1914 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
1915 (AccessibilityController::~AccessibilityController):
1916 Turn off focus event logging when the controller is destroyed.
1917 (AccessibilityController::setLogFocusEvents):
1918 If the caller passes false, unhook the focus event, and clear
1921 * DumpRenderTree/win/DumpRenderTree.cpp:
1922 (resetWebViewToConsistentStateBeforeTesting):
1923 Call the FrameLoadDelegate's resetToConsistentState function.
1925 * DumpRenderTree/win/FrameLoadDelegate.h:
1926 Declare the resetToConsistentState() function.
1928 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1929 (FrameLoadDelegate::resetToConsistentState):
1930 Call the AccessibilityController's resetToConsistentState() function.
1933 2009-08-14 Jon Honeycutt <jhoneycutt@apple.com>
1935 Add a mechanism for logging MSAA focus events.
1937 Part of <rdar://problem/6218721> No MSAA focus events fired for Webkit
1940 https://bugs.webkit.org/show_bug.cgi?id=20866
1942 Reviewed by Oliver Hunt.
1944 * DumpRenderTree/AccessibilityController.cpp:
1945 (logFocusEventsCallback):
1946 Call the AccessibilityController's logFocusEvents() function.
1947 (AccessibilityController::getJSClass):
1948 Add a "logFocusEvents" function to the AccessibilityController's JS
1951 * DumpRenderTree/AccessibilityController.h:
1952 On Windows, include windows.h, and add a member variable to hold the
1953 handle to the event hook for focus events. Add a declaration for a
1954 function that enables logging of focus events.
1956 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
1957 (AccessibilityController::logFocusEvents):
1960 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1961 (AccessibilityController::logFocusEvents):
1964 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
1965 (AccessibilityController::AccessibilityController):
1966 (AccessibilityController::~AccessibilityController):
1967 If we hooked the focus event, unhook it.
1968 (logFocusEventProc):
1969 When we receive a focus event, get the accessible object for the event,
1970 and log its name to stdout.
1971 (AccessibilityController::logFocusEvents):
1972 Setup the focus event hook to listen for events in the current process.
1974 2009-08-14 Eric Seidel <eric@webkit.org>
1976 No review. Fix 5-space indent to be 4-spaces.
1978 * Scripts/bugzilla-tool:
1980 2009-08-14 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1982 Reviewed by Simon Hausmann.
1984 [Qt] Public API to configure the storage path for HTML5 localStorage
1985 https://bugs.webkit.org/show_bug.cgi?id=28036
1987 Turn on LocalStorage support for Qt DumpRenderTree since
1988 LocalStorage is now disabled by defult for QtWebkit.
1990 * DumpRenderTree/qt/DumpRenderTree.cpp:
1991 (WebCore::WebPage::WebPage):
1993 2009-08-14 Xan Lopez <xlopez@igalia.com>
1995 Reviewed by Jan Alonzo.
1997 Do not unref the main webview, it's owned by its parent
1998 container. Instead destroy the container, which should take care
1999 of everything (not terribly important since we exit right after
2002 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2005 2009-08-13 Eric Seidel <eric@webkit.org>
2007 No review, correcting obvious python error seen in the commit queue.
2009 args can be a string or an array. Assuming args is always an array results in
2010 double-spaced text in error logs.
2012 * Scripts/bugzilla-tool:
2014 2009-08-13 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2016 Unreviewed build fix. Include stdio.h for using stdout, stderr,
2019 * DumpRenderTree/LayoutTestController.cpp:
2021 2009-08-13 Shinichiro Hamaji <hamaji@chromium.org>
2023 Reviewed by Eric Seidel.
2025 rename make-js-test-wrappers to make-script-test-wrappers
2026 https://bugs.webkit.org/show_bug.cgi?id=28212
2028 * Scripts/make-script-test-wrappers: Renamed from WebKitTools/Scripts/make-js-test-wrappers.
2030 2009-08-13 Drew Wilson <atwilson@chromium.org>
2034 Add myself to list of committers.
2036 * Scripts/modules/committers.py:
2038 2009-08-13 John Sullivan <sullivan@apple.com>
2042 Add myself to list of committers.
2044 * Scripts/modules/committers.py:
2046 2009-08-13 Eric Seidel <eric@webkit.org>
2048 Correct spelling error in file name. No review.
2050 * Scripts/modules/committers_unittest.py: Renamed from WebKitTools/Scripts/modules/commiters_unittest.py.
2051 * Scripts/run-webkit-unittests:
2053 2009-08-13 Eric Seidel <eric@webkit.org>
2055 Reviewed by Simon Fraser.
2057 REGRESSION(r47175): error running run-webkit-tests
2058 https://bugs.webkit.org/show_bug.cgi?id=28261
2060 Fix "Use of uninitialized value in concatenation (.) or string at
2061 WebKitTools/Scripts/run-webkit-tests line 191." by setting
2062 $testsPerDumpTool to 1000 by default.
2064 * Scripts/run-webkit-tests:
2066 2009-08-13 Nate Chapin <japhet@chromium.org>
2070 Add myself to list of committers.
2072 * Scripts/modules/committers.py:
2074 2009-08-13 Brent Fulgham <bfulgham@webkit.org>
2078 Add 'Brent Fulgham' to the committers list.
2080 * Scripts/modules/committers.py:
2082 2009-08-13 Adam Langley <agl@chromium.org>
2084 Review not required.
2086 * Scripts/modules/committers.py:
2087 Adding myself to this list because Eric told me to.
2089 2009-08-13 Greg Bolsinga <bolsinga@apple.com>
2093 Add 'Greg Bolsinga' to the committers list.
2095 * Scripts/modules/committers.py:
2097 2009-08-13 Adam Roben <aroben@apple.com>
2099 Fix off-by-one result comparisons in media tests on Windows Debug
2102 media/video-played.html seems always to time out in Windows Debug
2103 builds. A race condition between media/video-test.js's "hang" timer and
2104 DumpRenderTree's built-in "watchdog" timer was causing results for
2105 media/video-played.html to be printed twice, causing all future media
2106 tests to be compared to the previous test's results.
2108 The fix is to make the watchdog timer got through the same code path
2109 as calling notifyDone manually, so that the results will only get
2110 printed once. A subsequent patch will remove video-test.js's hang
2111 timer entirely, since it is redundant.
2113 Fixes <http://webkit.org/b/28265>.
2115 Reviewed by Mark Rowe.
2117 * DumpRenderTree/LayoutTestController.cpp:
2118 (LayoutTestController::waitToDumpWatchdogTimerFired): Added. Code came
2119 from Gtk/Mac/Win's watchdog timer handlers, but we now call
2120 notifyDone() instead of dump() so that a subsequent call to
2121 notifyDone() won't print the results out again.
2123 * DumpRenderTree/LayoutTestController.h: Added
2124 waitToDumpWatchdogTimerFired.
2126 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2127 (waitToDumpWatchdogFired):
2128 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2129 (waitUntilDoneWatchdogFired):
2130 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2131 (waitUntilDoneWatchdogFired):
2132 Changed to call waitToDumpWatchdogTimerFired.
2134 2009-08-13 Eric Carlson <eric.carlson@apple.com>
2138 Added 'Eric Carlson' to the committers list.
2140 * Scripts/modules/committers.py:
2142 2009-08-13 Dirk Schulze <krit@webkit.org>
2145 Added 'Dirk Schulze' to the committers list.
2147 * Scripts/modules/committers.py:
2149 2009-08-13 Adam Roben <aroben@apple.com>
2151 Enable running testapi in run-javascriptcore-tests on Windows
2153 Fixes <http://webkit.org/b/24856> run-javascriptcore-tests should run
2156 Reviewed by Mark Rowe.
2158 * Scripts/run-javascriptcore-tests: Allow testapi to run if we're in
2159 the AppleWinWebKit configuration.
2161 2009-08-13 Adam Roben <aroben@apple.com>
2163 Re-enable testapi in run-javascriptcore-tests on Mac
2165 This seems to have been mistakenly disabled in r47089.
2167 Rubber-stamped by Mark Rowe.
2169 * Scripts/run-javascriptcore-tests: Removed comment markers that were
2170 preventing running testapi.
2172 2009-08-12 George Staikos <george.staikos@torchmobile.com>
2174 Reviewed by Adam Treat.
2176 Enable WCSS and XHTML-MP flags for build-webkit.
2178 * Scripts/build-webkit:
2180 2009-08-12 David Kilzer <ddkilzer@apple.com>
2182 run-webkit-tests: document --nthly flag in help message
2184 Reviewed by Simon Fraser.
2186 * Scripts/run-webkit-tests: Added --nthly flag to $usage string.
2187 Also noted that -1|--singly implies --nthly 1.
2189 2009-08-12 Eric Seidel <eric@webkit.org>
2191 No review, just fixing mismerged ChangeLogs.
2193 2009-08-12 Eric Seidel <eric@webkit.org>
2195 Reviewed by Mark Rowe.
2197 run-webkit-tests needs a --exit-after-failures=N option
2198 https://bugs.webkit.org/show_bug.cgi?id=28192
2200 Added the option and deployed it to bugzilla-tool.
2202 * Scripts/bugzilla-tool:
2203 * Scripts/run-webkit-tests:
2205 2009-08-11 Eric Seidel <eric@webkit.org>
2207 Reviewed by Mark Rowe.
2209 bugzilla-tool : various improvements for running the commit-queue
2210 https://bugs.webkit.org/show_bug.cgi?id=28199
2212 Make run_and_throw_if_fail silence STDERR as well as STDIN.
2213 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).
2214 Change a few "print" statements to "log" so they appear in the output.
2215 Changed all string + uses to use string formatting instead (this is less error prone as it will automatically convert non-string objects).
2216 Added a little more logging so that --quiet mode is easier to understand.
2217 Changed clear_attachment_review_flag to clear_attachment_flags and made it clear the commit-queue flag as well.
2218 Added the ability for bugzilla-tool to reject patches from the commit-queue when they fail to compile/apply/etc.
2219 Added _find_select_element_for_flag to make the code for finding flag <select> elements clearer.
2220 Made curl call (downloading patch files) quieter.
2222 * Scripts/bugzilla-tool:
2223 * Scripts/modules/bugzilla.py:
2224 * Scripts/modules/scm.py:
2226 2009-08-12 Peter Kasting <pkasting@google.com>
2228 Reviewed by Darin Adler.
2230 https://bugs.webkit.org/show_bug.cgi?id=27323
2231 Change pattern that strips all trailing whitespace to just remove EOL
2232 chars (\r, \n), to make it clear that varying EOL chars is the primary
2233 problem being solved.
2235 * Scripts/prepare-ChangeLog:
2236 * Scripts/resolve-ChangeLogs:
2237 * Scripts/svn-create-patch:
2238 * Scripts/update-webkit:
2240 2009-08-12 Kevin Ollivier <kevino@theolliviers.com>
2242 wx waf build fix, add new directories to the build.
2244 * wx/build/settings.py:
2246 2009-08-11 Adam Roben <aroben@apple.com>
2248 Update DumpRenderTree for IWebUIDelegatePrivate changes
2250 Reviewed by Dave Hyatt.
2252 * DumpRenderTree/win/UIDelegate.h: Updated to match
2253 IWebUIDelegatePrivate.
2255 2009-08-12 Adam Roben <aroben@apple.com>
2257 Don't try to seek to the end of stdin on Cygwin
2259 Doing so seems to always cause an exception (for unknown reasons).
2261 Fixes <http://webkit.org/b/28159> create-bug throws an exception in
2264 Reviewed by Dave Kilzer.
2266 * Scripts/bugzilla-tool:
2267 (CreateBug.prompt_for_bug_title_and_comments): Ignore IOErrors
2268 generated by calling sys.stdin.seek, since these seem to be generated
2269 for no good reason on Cygwin.
2271 2009-08-12 Adam Roben <aroben@apple.com>
2273 Don't raise an exception when --cc is not passed to create-bug
2275 Fixes <http://webkit.org/b/28158> create-bug throws an exception if
2276 --cc is not specified
2278 Reviewed by Dave Kilzer.
2280 * Scripts/modules/bugzilla.py:
2281 (Bugzilla.create_bug_with_patch): Only set the "cc" field if a CC
2282 string was specified. Otherwise we'll generate an exception about the
2283 "cc" variable not being a string.
2285 2009-08-11 Eric Seidel <eric@webkit.org>
2287 Reviewed by Adam Barth.
2289 bugzilla-tool : various improvements for running the commit-queue
2290 https://bugs.webkit.org/show_bug.cgi?id=28199
2292 Make run_and_throw_if_fail silence STDERR as well as STDIN.
2293 I also changed run_and_throw_if_fail to use the /dev/null trick instead of .communicate() to avoid ever buffering the out
2294 Change a few "print" statements to "log" so they appear in the output.
2295 Changed all string + uses to use string formatting instead (this is less error prone as it will automatically convert non
2296 Added a little more logging so that --quiet mode is easier to understand.
2297 Changed clear_attachment_review_flag to clear_attachment_flags and made it clear the commit-queue flag as well.
2298 Added the ability for bugzilla-tool to reject patches from the commit-queue when they fail to compile/apply/etc.
2299 Added _find_select_element_for_flag to make the code for finding flag <select> elements clearer.
2300 Made curl call (downloading patch files) quieter.
2302 * Scripts/bugzilla-tool:
2303 * Scripts/modules/bugzilla.py:
2304 * Scripts/modules/scm.py:
2306 2009-08-11 Eric Seidel <eric@webkit.org>
2308 No review, script regression fix only.
2310 run-webkit-tests --quiet hangs
2311 https://bugs.webkit.org/show_bug.cgi?id=28202
2313 Do a huge dance to get open3 to pipe to /dev/null w/o blocking.
2314 This was what I came up with after discussions in #perl.
2316 * Scripts/run-webkit-tests:
2318 2009-08-11 John Gregg <johnnyg@google.com>
2320 Reviewed by Maciej Stachowiak.
2322 Switch DumpRenderTree to contain a WebUIDelegate2, which extends
2323 WebUIDelegate, so that the notifications tests will still work.
2324 https://bugs.webkit.org/show_bug.cgi?id=28198
2326 * DumpRenderTree/win/UIDelegate.h:
2328 2009-08-11 Darin Adler <darin@apple.com>
2330 Try to fix GTK build.
2332 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2333 (AccessibilityUIElement::stringForRange): Added.
2335 2009-08-10 Mike Fenton <mike.fenton@torchmobile.com>
2337 Reviewed by Adam Treat.
2339 Add processing for string constants used by the tests to trigger
2340 common actions like up, down, left, right, etc. for the Qt
2341 implementation of DumpRenderTree.
2343 Note this allows fast/forms/textarea-arrow-navigation.html to pass
2346 https://bugs.webkit.org/show_bug.cgi?id=28161
2348 * DumpRenderTree/qt/jsobjects.cpp:
2349 (EventSender::keyDown):
2351 2009-08-11 Chris Fleizach <cfleizach@apple.com>
2353 Reviewed by Darin Adler.
2355 Bug 28200 - ListMarker should be included as part of the text value to parse
2356 https://bugs.webkit.org/show_bug.cgi?id=28200
2358 Add the ability to retrieve a string given a plain NSRange.
2360 * DumpRenderTree/AccessibilityUIElement.cpp:
2361 (stringForRangeCallback):
2362 (AccessibilityUIElement::getJSClass):
2363 * DumpRenderTree/AccessibilityUIElement.h:
2364 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2365 (AccessibilityUIElement::valueDescription):
2366 (AccessibilityUIElement::stringForRange):
2367 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2368 (AccessibilityUIElement::stringForRange):
2370 2009-08-11 Dmitry Titov <dimich@chromium.org>
2372 Reviewed by NOBODY (Speculative fix for the layout test failure).
2374 Fix fast/dom/prototype-inheritance.html
2375 and fast/dom/prototype-inheritance-2.html
2376 broken on Windows by http://trac.webkit.org/changeset/47018
2378 * DumpRenderTree/win/DumpRenderTree.cpp:
2379 (resetDefaultsToConsistentValues): enable app cache in Windows DRT.
2381 2009-08-11 Eric Seidel <eric@webkit.org>
2383 Reviewed by Adam Barth.
2385 bugzilla-tool: Re-factor shared landing logic into helper class to share more code
2386 https://bugs.webkit.org/show_bug.cgi?id=28193
2388 Added new WebKitLandingScripts class to hold this shared logic.
2389 Also added a view_source_url function to move more webkit-specific urls out of bugzilla-tool core.
2391 * Scripts/bugzilla-tool:
2393 2009-08-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2395 Reviewed by Adam Treat.
2397 Fix the current failures on the buildbot.
2399 As Qt hooks up the maybeDump to loadFinished, we need to make
2400 sure that calling dump() will not call maybeDump on loadFinished.
2402 As dump is called my emitting done() which calls dump() and then
2403 setting m_isLoading to false. So in the case m_isLoading is false,
2406 The current code is confusing, and should be made more clear
2409 * DumpRenderTree/qt/jsobjects.cpp:
2410 (LayoutTestController::maybeDump):
2411 (LayoutTestController::notifyDone):
2413 2009-08-11 John Gregg <johnnyg@google.com>
2415 Reviewed by Maciej Stachowiak.
2417 Add support for desktop notifications API to DumpRenderTree,
2418 and support for ENABLE_NOTIFICATIONS flag to build-webkit.
2420 * DumpRenderTree/LayoutTestController.cpp:
2421 (grantDesktopNotificationPermissionCallback):
2422 (LayoutTestController::staticFunctions):
2423 (LayoutTestController::grantDesktopNotificationPermission):
2424 (LayoutTestController::checkDesktopNotificationPermission):
2425 * DumpRenderTree/LayoutTestController.h:
2426 * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp: Added.
2427 (DRTDesktopNotificationPresenter::DRTDesktopNotificationPresenter):
2428 (DRTDesktopNotificationPresenter::QueryInterface):
2429 (DRTDesktopNotificationPresenter::AddRef):
2430 (DRTDesktopNotificationPresenter::Release):
2431 (DRTDesktopNotificationPresenter::showDesktopNotification):
2432 (DRTDesktopNotificationPresenter::cancelDesktopNotification):
2433 (DRTDesktopNotificationPresenter::notificationDestroyed):
2434 (DRTDesktopNotificationPresenter::checkNotificationPermission):
2435 (DRTDesktopNotificationPresenter::requestNotificationPermission):
2436 * DumpRenderTree/win/DRTDesktopNotificationPresenter.h: Added.
2437 * DumpRenderTree/win/DumpRenderTree.vcproj:
2438 * DumpRenderTree/win/UIDelegate.cpp:
2439 (UIDelegate::UIDelegate):
2440 (UIDelegate::desktopNotificationsDelegate):
2441 * DumpRenderTree/win/UIDelegate.h:
2442 * Scripts/build-webkit:
2444 2009-08-11 Peter Kasting <pkasting@google.com>
2446 Reviewed by Darin Adler.
2448 https://bugs.webkit.org/show_bug.cgi?id=27323
2449 Handle arbitrary line endings when manufacturing patches for additions
2452 * Scripts/svn-create-patch:
2454 2009-08-11 Peter Kasting <pkasting@google.com>
2456 Reviewed by Darin Adler.
2458 https://bugs.webkit.org/show_bug.cgi?id=28183
2459 Support VS2008 as well as VS2005 in a few scripts.
2461 * Scripts/pdevenv: Check both $VS80COMNTOOLS and $VS90COMNTOOLS.
2462 * Scripts/webkitdirs.pm: Use $VSINSTALLDIR if available instead of hardcoding the VS2005 dir.
2464 2009-08-11 Eric Seidel <eric@webkit.org>
2466 Reviewed by Adam Barth.
2468 run-webkit-tests --quiet should not output build-dumprendertree output
2469 https://bugs.webkit.org/show_bug.cgi?id=28189
2471 * Scripts/run-webkit-tests:
2473 2009-08-11 Eric Seidel <eric@webkit.org>
2475 Reviewed by Darin Adler.
2477 Exception in land-patches
2478 https://bugs.webkit.org/show_bug.cgi?id=27962
2480 Use ("%s" % object) instead of ("" + object).
2481 Added unit tests for logging.py.
2483 * Scripts/modules/logging.py:
2484 * Scripts/modules/logging_unittest.py: Added.
2485 * Scripts/run-webkit-unittests:
2487 2009-08-11 Dmitry Titov <dimich@chromium.org>
2489 Reviewed by NOBODY (Windows layout tests fix).
2491 Fix for layout tests failures. Need to initialize some preferences early
2492 because WebView on Windows uses them during create time.
2494 * DumpRenderTree/win/DumpRenderTree.cpp:
2497 2009-08-11 Dmitry Titov <dimich@chromium.org>
2499 Reviewed by Adam Roben.
2501 Originally implemented by Glenn Wilson <gwilson@chromium.org>.
2503 Added support for overriding default preferences per-test.
2504 See https://bugs.webkit.org/show_bug.cgi?id=20534
2506 * DumpRenderTree/LayoutTestController.cpp:
2507 (overridePreferenceCallback): add wiring for layoutTestController.overridePreference.
2508 (LayoutTestController::staticFunctions): same.
2509 * DumpRenderTree/LayoutTestController.h: same.
2510 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2511 (LayoutTestController::overridePreference): added empty overridePreference method.
2512 * DumpRenderTree/mac/DumpRenderTree.mm: implemented preference override.
2513 (resetDefaultsToConsistentValues): new method, resets preferences to same set of value before every test.
2514 (setDefaultsToConsistentValuesForTesting): new method, sets other details of testing environment, every time DRT starts.
2515 (resetWebViewToConsistentStateBeforeTesting): move some preference setting from here to new resetDefaultsToConsistentValues().
2516 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2517 (LayoutTestController::overridePreference):
2518 * DumpRenderTree/win/DumpRenderTree.cpp:
2519 (resetDefaultsToConsistentValues): new method, resets preferences to same set of value before every test.
2520 (resetWebViewToConsistentStateBeforeTesting): move some preference setting from here to new resetDefaultsToConsistentValues().
2521 (createWebViewAndOffscreenWindow): same.
2523 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2524 (LayoutTestController::overridePreference):
2525 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2526 (LayoutTestController::overridePreference):
2528 2009-08-11 Brian Weinstein <bweinstein@apple.com>
2530 Reviewed by Sam Weinig.
2532 Added support for DRT to support arguments for eventSender.mouseDown and eventSender.mouseUp for Windows.
2533 https://bugs.webkit.org/show_bug.cgi?id=28166.
2535 This is a step towards fixing fast/events/mouse-click-events.html on Windows.
2537 * DumpRenderTree/win/EventSender.cpp:
2538 (mouseDownCallback):
2540 (replaySavedEvents):
2542 2009-08-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2544 Reviewed by Simon Hausmann.
2546 Build the TestNetscapePlugin on Qt/Mac
2548 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
2550 2009-08-11 Dmitry Titov <dimich@chromium.org>
2552 Reviewed by NOBODY (build fix).
2554 Attempt to fix the Windows test bot. Reverted r47015 caused one of the Windows
2555 bots that runs Layout Tests to save "JS disabled" and "default font 24pt"
2556 preferences permanently. Since these preferences are not initialized explicitly in DRT,
2557 almost all Layout tests are failing. Attempt to fix by explicit
2558 initialization of these into defaults (enabled, 16pt) at the beginning of the DRT.
2560 * DumpRenderTree/win/DumpRenderTree.cpp:
2563 2009-08-10 Steve Falkenburg <sfalken@apple.com>
2565 Windows nightly fix.
2567 Reviewed by Ada Chan.
2569 * FindSafari/FindSafari.cpp:
2570 (_tmain): Copy Safari.dll if it exists.
2572 2009-08-10 David Levin <levin@chromium.org>
2574 Reviewed by David Kilzer.
2576 check-webkit-style doesn't catch braces around single line statements when followed by else.
2577 https://bugs.webkit.org/show_bug.cgi?id=28164
2579 * Scripts/modules/cpp_style.py: Added else to the regex that finds ending }'s when
2580 checking the no braces for "single lines" rule.
2581 * Scripts/modules/cpp_style_unittest.py: Added test case.
2583 2009-08-10 David Kilzer <ddkilzer@apple.com>
2585 <http://webkit.org/b/28163> bugzilla-tool: scm module should not import bugzilla module
2587 Reviewed by David Levin.
2589 * Scripts/bugzilla-tool:
2590 (parse_bug_id): Added. Moved from CommitMessage.parse_bug_id()
2592 * Scripts/modules/scm.py: Removed import of bugzilla module.
2593 (CommitMessage.parse_bug_id): Deleted.
2595 2009-08-10 Peter Kasting <pkasting@google.com>
2597 Reviewed by David Kilzer.
2599 https://bugs.webkit.org/show_bug.cgi?id=18599
2600 Work around apparent bug in abs2rel() with symlinked directories.
2602 * Scripts/resolve-ChangeLogs:
2604 2009-08-10 Dan Bernstein <mitz@apple.com>
2608 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2611 2009-08-10 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2613 Reviewed by Simon Hausmann.
2615 Fix a bunch of build warnings in TestNetscapePlugin
2617 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2618 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
2620 2009-08-10 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2622 Reviewed by Adam Roben.
2624 Allow TestNetscapePlugIn to fall back to the Carbon event model
2626 Previously the plugin would fail, even though the Carbon event
2627 model was available. The only way to get the Carbon event model
2628 was to pass the "forcecarbon" argument in the test markup, but no
2629 tests were using this.
2631 Now the plugin uses carbon either if it's forced, or if the Cocoa
2632 event model is not supported.
2634 This helps us run most of the plugin tests on Qt/Mac, which still
2635 does not support the Cocoa event model.
2637 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2640 2009-08-08 Adam Barth <abarth@webkit.org>
2642 Reviewed by Eric Seidel.
2644 bugzilla-tool needs a --quiet option
2645 https://bugs.webkit.org/show_bug.cgi?id=28060
2647 A first pass at a --quiet option. This doesn't do all the excting
2648 things we might want, but it addresses 80% of the use case.
2650 * Scripts/bugzilla-tool:
2652 2009-08-08 Jan Michael Alonzo <jmalonzo@webkit.org>
2654 Reviewed by Xan Lopez.
2656 [Gtk] Enable accessibility in Gtk DRT
2657 https://bugs.webkit.org/show_bug.cgi?id=25989
2659 Add Accessibility support to the GTK DRT.
2661 * DumpRenderTree/AccessibilityUIElement.h:
2662 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp: Added.
2663 (AccessibilityController::AccessibilityController):
2664 (AccessibilityController::~AccessibilityController):
2665 (AccessibilityController::focusedElement):
2666 (AccessibilityController::rootElement):
2667 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: Added.
2668 (AccessibilityUIElement::AccessibilityUIElement):
2669 (AccessibilityUIElement::~AccessibilityUIElement):
2670 (AccessibilityUIElement::getLinkedUIElements):
2671 (AccessibilityUIElement::getDocumentLinks):
2672 (AccessibilityUIElement::getChildren):
2673 (AccessibilityUIElement::getChildrenWithRange):
2674 (AccessibilityUIElement::childrenCount):
2675 (AccessibilityUIElement::elementAtPoint):
2676 (AccessibilityUIElement::getChildAtIndex):
2677 (AccessibilityUIElement::allAttributes):
2678 (AccessibilityUIElement::attributesOfLinkedUIElements):
2679 (AccessibilityUIElement::attributesOfDocumentLinks):
2680 (AccessibilityUIElement::titleUIElement):
2681 (AccessibilityUIElement::parentElement):
2682 (AccessibilityUIElement::attributesOfChildren):
2683 (AccessibilityUIElement::parameterizedAttributeNames):
2684 (AccessibilityUIElement::role):
2685 (AccessibilityUIElement::title):
2686 (AccessibilityUIElement::description):
2687 (AccessibilityUIElement::language):
2688 (AccessibilityUIElement::x):
2689 (AccessibilityUIElement::y):
2690 (AccessibilityUIElement::width):
2691 (AccessibilityUIElement::height):
2692 (AccessibilityUIElement::clickPointX):
2693 (AccessibilityUIElement::clickPointY):
2694 (AccessibilityUIElement::intValue):
2695 (AccessibilityUIElement::minValue):
2696 (AccessibilityUIElement::maxValue):
2697 (AccessibilityUIElement::valueDescription):
2698 (AccessibilityUIElement::isEnabled):
2699 (AccessibilityUIElement::insertionPointLineNumber):
2700 (AccessibilityUIElement::isActionSupported):
2701 (AccessibilityUIElement::isRequired):
2702 (AccessibilityUIElement::attributesOfColumnHeaders):
2703 (AccessibilityUIElement::attributesOfRowHeaders):
2704 (AccessibilityUIElement::attributesOfColumns):
2705 (AccessibilityUIElement::attributesOfRows):
2706 (AccessibilityUIElement::attributesOfVisibleCells):
2707 (AccessibilityUIElement::attributesOfHeader):
2708 (AccessibilityUIElement::indexInTable):
2709 (AccessibilityUIElement::rowIndexRange):
2710 (AccessibilityUIElement::columnIndexRange):
2711 (AccessibilityUIElement::lineForIndex):
2712 (AccessibilityUIElement::boundsForRange):
2713 (AccessibilityUIElement::cellForColumnAndRow):
2714 (AccessibilityUIElement::selectedTextRange):
2715 (AccessibilityUIElement::setSelectedTextRange):
2716 (AccessibilityUIElement::attributeValue):
2717 (AccessibilityUIElement::isAttributeSettable):
2718 (AccessibilityUIElement::increment):
2719 (AccessibilityUIElement::decrement):
2720 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2721 (webViewWindowObjectCleared):
2725 2009-08-07 Jan Michael Alonzo <jmalonzo@webkit.org>
2727 Unreviewed Gtk build fix.
2729 DRT needs internal WTF symbols so we link to libJavaScriptCore.la
2730 too. Also don't force Gtk to use USE_SYSTEM_MALLOC.
2734 2009-08-07 Darin Adler <darin@apple.com>
2736 * Scripts/commit-log-editor: Fix unchecked access to environment
2737 variable that may not be there.
2739 2009-08-07 Mark Rowe <mrowe@apple.com>
2741 Handle the case where only a single test is missing results.
2743 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2745 2009-08-07 George Wright <george.wright@torchmobile.com>
2747 Reviewed by Adam Treat
2749 Fix DumpRenderTree for the Qt port to always dump the PNG data unless
2750 the expected and actual hashes match.
2752 https://bugs.webkit.org/show_bug.cgi?id=28077
2754 * DumpRenderTree/qt/DumpRenderTree.cpp:
2755 (WebCore::DumpRenderTree::dump):
2757 2009-08-07 Pierre d'Herbemont <pdherbemont@apple.com>
2759 Reviewed by Eric Seidel.
2761 commit-log-editor does not produce a git commit log that is git friendly.
2762 https://bugs.webkit.org/show_bug.cgi?id=27754
2764 We make sure we end up with:
2765 - A first paragraph describing the bug. It is eventually prefixed by
2766 "WebKit: <line>" or "WebCore: <line>". This used to be
2767 "WebCore:\n\n<line>".
2768 - The Reviewed By line.
2769 - An eventual Patch By line if author and committer doesn't match.
2770 - The rest of the commit.
2772 * Scripts/commit-log-editor:
2774 2009-08-07 Adam Barth <abarth@webkit.org>
2776 Unreviewed. (Darin Adler indicated he'd prefer if we landed these
2777 kinds of changes unreviewed, like editing the WebKit Team wiki page.)
2779 Added Pierre d'Herbemont to list of committers.
2781 * Scripts/modules/committers.py:
2783 2009-08-07 Shinichiro Hamaji <hamaji@chromium.org>
2785 Reviewed by Adele Peterson.
2787 Cannot scroll for box-reflect:right
2788 https://bugs.webkit.org/show_bug.cgi?id=27979
2790 Update m_overflowLeft an m_overflowWidth for reflection just like
2791 m_overflowTop and m_overflowHeight.
2793 * Scripts/make-js-test-wrappers: Added regexp to skip box-shadow-overflo
2796 2009-08-06 Shinichiro Hamaji <hamaji@chromium.org>
2798 Reviewed by Adam Barth.
2800 box-shadow's spread is ignored with <table>
2801 https://bugs.webkit.org/show_bug.cgi?id=28017
2803 Use RenderStyle::getBoxShadowExtent just like RenderBlock.
2805 * Scripts/make-js-test-wrappers: Added regexp to skip box-shadow-overflow-scroll.js
2807 2009-08-06 Eric Seidel <eric@webkit.org>
2809 No review, only changing make-js-test-wrappers.
2811 Fix make-js-test-wrappers to ignore a few more js tests
2812 with custom templates.
2814 * Scripts/make-js-test-wrappers:
2816 2009-08-06 Chris Marrin <cmarrin@apple.com>
2818 Reviewed by David Hyatt.
2820 Added ENABLE_3D_CANVAS flag to build, default to off
2822 * Scripts/build-webkit:
2824 2009-08-05 Brady Eidson <beidson@apple.com>
2826 Reviewed by Darin Adler.
2828 Win DRT's resource load delegate is missing didReceiveResponse
2829 https://bugs.webkit.org/show_bug.cgi?id=28033
2831 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2833 (FrameLoadDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
2834 (FrameLoadDelegate::willPerformClientRedirectToURL):
2835 (FrameLoadDelegate::didCancelClientRedirectForFrame):
2837 Minor style cleanup:
2838 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2839 (FrameLoadDelegate::didReceiveTitle):
2840 (FrameLoadDelegate::didFinishLoadForFrame):
2841 (FrameLoadDelegate::willCloseFrame):
2842 (FrameLoadDelegate::didClearWindowObject):
2843 * DumpRenderTree/win/FrameLoadDelegate.h:
2845 2009-08-05 Brady Eidson <beidson@apple.com>
2847 Reviewed by Darin Adler.
2849 Win DRT's resource load delegate is missing didReceiveResponse
2850 https://bugs.webkit.org/show_bug.cgi?id=28033
2852 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2853 (ResourceLoadDelegate::didReceiveResponse):
2854 * DumpRenderTree/win/ResourceLoadDelegate.h:
2856 2009-08-05 Darin Fisher <darin@chromium.org>
2858 Reviewed by Darin Adler.
2860 Add layoutTestController.dumpWillCacheResponse
2861 https://bugs.webkit.org/show_bug.cgi?id=28010
2863 willCacheResponse is only interesting for embedders of mainline WebKit on Mac.
2864 Splitting off a new dumpWillCacheResponse allows a number of existings tests
2865 to run across platforms.
2867 The test that was specifically verifying willCacheResponse now calls
2868 dumpWillCacheResponse.
2870 * DumpRenderTree/LayoutTestController.cpp: Add dumpWillCacheResponse
2871 (LayoutTestController::LayoutTestController):
2872 (dumpWillCacheResponseCallback):
2873 (LayoutTestController::staticFunctions):
2874 * DumpRenderTree/LayoutTestController.h:
2875 (LayoutTestController::dumpWillCacheResponse):
2876 (LayoutTestController::setDumpWillCacheResponse):
2877 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Inspect dumpWillCacheResponse
2878 instead of dumpResourceLoadCallbacks.
2879 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2881 2009-08-05 Jeremy Orlow <jorlow@chromium.org>
2883 Reviewed by Adam Barth.
2885 Add my name to committers.py
2886 https://bugs.webkit.org/show_bug.cgi?id=28013
2888 Add my name to committers.py.
2890 * Scripts/modules/committers.py:
2892 2009-08-05 Kenneth Rohde Christiansen <kenneth@webkit.org>
2894 Reviewed by Simon Hausmann.
2896 A minor refactoring of the Qt DRT to be a bit more similar to
2897 the other DRTs, as well as more understandable.
2899 Splitting up resetJSObjects into a LayoutTestController->reset()
2900 plus a new closeRemainingWindows() method.
2902 Added a resetToConsistentStateBeforeTesting() method to keep
2903 the code in one place, making it easier to verify that we are
2904 doing things properly.
2906 * DumpRenderTree/qt/DumpRenderTree.cpp:
2907 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
2908 (WebCore::DumpRenderTree::open):
2909 (WebCore::DumpRenderTree::closeRemainingWindows):
2910 * DumpRenderTree/qt/DumpRenderTree.h:
2912 2009-08-05 Kenneth Rohde Christiansen <kenneth@webkit.org>
2914 Reviewed by Simon Hausmann.
2916 Make the Qt DRT WorkQueue work similarily to the cross platform
2917 one. This means that all items return true if they started
2920 This change paves the way for unforking the WorkQueue, if we [Qt]
2923 * DumpRenderTree/qt/WorkQueue.cpp:
2924 (WorkQueue::processWork):
2925 * DumpRenderTree/qt/WorkQueue.h:
2926 * DumpRenderTree/qt/WorkQueueItem.h:
2927 * DumpRenderTree/qt/jsobjects.cpp:
2929 (ReloadItem::invoke):
2930 (ScriptItem::invoke):
2931 (BackForwardItem::invoke):
2932 (LayoutTestController::processWork):
2933 (LayoutTestController::maybeDump):
2935 2009-08-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
2937 Reviewed by Simon Hausmann.
2939 If load of a test fails, don't dump as it will be dumped
2940 in the preceding test, resulting in a invalid incorrect layout.
2942 * DumpRenderTree/qt/jsobjects.cpp:
2943 (LayoutTestController::maybeDump):
2945 2009-08-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
2947 Reviewed by Simon Hausmann.
2949 Make the Qt DumpRenderTree more similar to the mac one.
2952 1) Reset zoom factor before each test
2953 2) Only dump the backforward list when we got other dump result
2954 3) When we dump the render tree, and got zero result print out:
2955 [mainFrame renderTreeAsExternalRepresentation]
2957 [frame renderTreeAsExternalRepresentation]
2959 * DumpRenderTree/qt/DumpRenderTree.cpp:
2960 (WebCore::DumpRenderTree::open):
2961 (WebCore::methodNameStringForFailedTest):
2962 (WebCore::DumpRenderTree::dump):
2964 2009-08-05 chris fleizach <cfleizach@apple.com>
2966 Fix Tiger build breakage.
2968 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2970 2009-08-04 Chris Fleizach <cfleizach@apple.com>
2972 Reviewed by Darin Adler.
2974 Bug 27994 - WAI-ARIA: aria-valuetext needs to be implemented
2975 https://bugs.webkit.org/show_bug.cgi?id=27994
2977 Expose valueDescription for accessibility.
2979 * DumpRenderTree/AccessibilityUIElement.cpp:
2980 (getValueDescriptionCallback):
2981 (AccessibilityUIElement::getJSClass):
2982 * DumpRenderTree/AccessibilityUIElement.h:
2983 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2984 (AccessibilityUIElement::valueDescription):
2985 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2986 (AccessibilityUIElement::valueDescription):
2988 2009-08-04 Eric Seidel <eric@webkit.org>
2990 Reviewed by Mark Rowe.
2992 REGRESSION: run-webkit-tests crashes if you have non-system perl in PATH
2993 https://bugs.webkit.org/show_bug.cgi?id=28006
2995 Hard-code perl to /usr/bin/perl and swig to /usr/bin/swig
2997 * DumpRenderTree/mac/PerlSupport/Makefile:
2999 2009-08-04 Adam Barth <abarth@webkit.org>
3001 Reviewed by Darin Adler.
3003 Add pkasting to bugzilla-tool as a committer
3004 https://bugs.webkit.org/show_bug.cgi?id=28002
3006 * Scripts/modules/committers.py:
3008 2009-08-04 Chris Fleizach <cfleizach@apple.com>
3010 Reviewed by Darin Adler.
3012 Bug 27993 - AXSliders are missing required attributes and actions
3013 https://bugs.webkit.org/show_bug.cgi?id=27993
3015 Add ability to check if any arbitrary action is supported.
3017 * DumpRenderTree/AccessibilityUIElement.cpp:
3018 (isActionSupportedCallback):
3019 (AccessibilityUIElement::getJSClass):
3020 * DumpRenderTree/AccessibilityUIElement.h:
3021 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3022 (AccessibilityUIElement::isActionSupported):
3023 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3024 (AccessibilityUIElement::isActionSupported):
3026 2009-08-04 Adam Barth <abarth@webkit.org>
3028 Reviewed by Eric Seidel.
3030 bugzilla-tool unit tests need a test harness
3031 https://bugs.webkit.org/show_bug.cgi?id=27977
3033 * Scripts/run-webkit-unittests: Added.
3035 2009-08-04 Mark Rowe <mrowe@apple.com>
3037 Rubber-stamped by Gavin "Gavvy" Barraclough.
3039 Ensure that DumpRenderTreeSupport is regenerated when switching between OS versions
3040 by listing the DumpRenderTree binary as a dependency. Xcode has the smarts to rebuild
3041 DumpRenderTree itself when switching OS versions so this dependency removes the need
3042 for any smarts in the Makefile.
3044 * DumpRenderTree/mac/PerlSupport/Makefile:
3046 2009-08-04 Eric Seidel <eric@webkit.org>
3048 Reviewed by Adam Barth.
3050 bugzilla-tool needs unit tests
3051 https://bugs.webkit.org/show_bug.cgi?id=26916
3053 Add some basic unit testing for scm.py.
3055 * Scripts/modules/scm.py:
3056 * Scripts/modules/scm_unittest.py: Added.
3058 2009-08-04 Mike Fenton <mike.fenton@torchmobile.com>
3060 Reviewed by Adam Treat.
3062 Fix --skipped=only mode to honor flags such as --no-http and platform ignored directories by checking
3063 to make sure the Skipped entries are not in the $ignoredDirectories array. Directories commonly included
3064 are (http, media, compositing, wml, wcss).
3066 https://bugs.webkit.org/show_bug.cgi?id=27893
3068 * Scripts/run-webkit-tests:
3070 2009-08-03 Chris Fleizach <cfleizach@apple.com>
3072 Reviewed by Jon Honeycutt.
3074 Bug 27958 - WAI-ARIA: Implement 'aria-required' attribute.
3075 https://bugs.webkit.org/show_bug.cgi?id=27958
3077 Exposed isRequired to DumpRenderTree for accessibility.
3079 * DumpRenderTree/AccessibilityUIElement.cpp:
3080 (getIsRequiredCallback):
3081 (AccessibilityUIElement::getJSClass):
3082 * DumpRenderTree/AccessibilityUIElement.h:
3083 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3084 (AccessibilityUIElement::isRequired):
3085 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3086 (AccessibilityUIElement::isRequired):
3088 2009-08-04 Adam Barth <abarth@webkit.org>
3090 Reviewed by Eric Seidel.
3092 bugzilla-tool --commit-queue should validate commit-queue setter is a committer
3093 https://bugs.webkit.org/show_bug.cgi?id=27974
3097 * Scripts/modules/bugzilla.py:
3098 * Scripts/modules/bugzilla_unittest.py:
3100 2009-08-04 Eric Seidel <eric@webkit.org>
3102 Reviewed by Adam Barth.
3104 REGRESSION(r46700): bugzilla-tool land-diff double-spaces ChangeLogs
3105 https://bugs.webkit.org/show_bug.cgi?id=27973
3107 The trailing comma (suppresses newlines) was lost in r46700.
3109 * Scripts/bugzilla-tool:
3111 2009-08-04 Adam Barth <abarth@webkit.org>
3113 Reviewed by Eric Seidel.
3115 bugzilla-tool has too many fatal errors
3116 https://bugs.webkit.org/show_bug.cgi?id=27969
3118 Replace several fatal errors with ScriptError exceptions.
3120 * Scripts/bugzilla-tool:
3121 * Scripts/modules/bugzilla.py:
3122 * Scripts/modules/scm.py:
3124 2009-08-04 Eric Seidel <eric@webkit.org>
3126 No review, ChangeLog fix only.
3128 Fix a ChangeLog line-spacing disaster caused by:
3129 https://bugs.webkit.org/show_bug.cgi?id=27973
3131 Still unsure what the fix for bugzilla-tool will be.
3133 2009-08-04 Adam Barth <abarth@webkit.org>
3135 Reviewed by Eric Seidel.
3137 bugzilla-tool --commit-queue should only land commit-queue+ patches
3138 https://bugs.webkit.org/show_bug.cgi?id=27970
3140 commit-queue mode for bugzilla-tool
3141 https://bugs.webkit.org/show_bug.cgi?id=27918
3143 Make bugzilla tool smart enough to find the commit-queue+ flags and
3145 When we call land-patches with --commit-queue, we should filter the
3146 patches we land to only those that have the commit-queue+ flag set.
3147 That way, when we call bugzilla-tool from a main commit queue process,
3148 we won't land the wrong patches.
3150 * Scripts/bugzilla-tool:
3152 2009-08-04 Eric Seidel <eric@webkit.org>
3154 Reviewed by Adam Barth.
3156 committer logic should be split out of bugzilla.py into its own module
3158 https://bugs.webkit.org/show_bug.cgi?id=27972
3160 I also added unit tests for the functionality I added.
3162 * Scripts/modules/bugzilla.py:
3163 * Scripts/modules/bugzilla_unittest.py: Added.
3164 * Scripts/modules/commiters_unittest.py: Added.
3165 * Scripts/modules/committers.py: Added.
3167 2009-08-03 Peter Kasting <pkasting@google.com>
3169 Reviewed by David Kilzer.
3171 https://bugs.webkit.org/show_bug.cgi?id=27323
3172 Handle any kind of line endings in svn-apply and svn-unapply, instead
3175 * Scripts/svn-apply:
3176 * Scripts/svn-unapply:
3178 2009-08-03 Adam Barth <abarth@webkit.org>
3180 Reviewed by Eric Seidel.
3182 bugzilla-tool land-patches needs --queue mode
3183 https://bugs.webkit.org/show_bug.cgi?id=27961
3185 Add a --commit-queue command line option to suppress user interaction.
3187 * Scripts/bugzilla-tool:
3188 * Scripts/modules/scm.py:
3190 2009-08-03 Mark Rowe <mrowe@apple.com>
3192 Build fix. Add installsrc, installhdrs and install targets.
3194 * DumpRenderTree/mac/PerlSupport/Makefile:
3196 2009-08-03 Eric Carlson <eric.carlson@apple.com>
3198 Reviewed by Eric Seidel.
3200 HTMLInputElement is not controllable by assistive technologies
3201 https://bugs.webkit.org/show_bug.cgi?id=27941
3203 Accessibility control of a slider required adding increment() and decrement()
3204 methods to AccessibilityObject, so expose thos methods on AccessibilityUIElement.
3206 * DumpRenderTree/AccessibilityUIElement.cpp:
3207 (incrementCallback): New, call UI element increment method.
3208 (decrementCallback): New, call UI element decrement method.
3209 (AccessibilityUIElement::getJSClass): Expose increment and decrement methods.
3211 * DumpRenderTree/AccessibilityUIElement.h:
3212 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3213 (AccessibilityUIElement::increment): New, send NSAccessibilityIncrementAction to Mac wrapper.
3214 (AccessibilityUIElement::decrement): New, send NSAccessibilityDecrementAction to Mac wrapper.
3216 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3217 (AccessibilityUIElement::increment): New, do nothing.
3218 (AccessibilityUIElement::decrement): New, do nothing.
3220 2009-08-02 David D. Kilzer <ddkilzer@webkit.org>
3222 <http://webkit.org/b/27930> bugzilla-tool hates Tor Arne Vestbø
3224 Reviewed by Tor Arne Vestbø.
3226 * Scripts/bugzilla-tool:
3227 (set_reviewer_in_changelog): Made sure reviewer is properly
3228 encoded when calling replace().
3230 2009-08-02 Kevin Ollivier <kevino@theolliviers.com>
3232 Reviewed by David Levin.
3234 Script for building the wxBrowser sample app for wx.
3235 https://bugs.webkit.org/show_bug.cgi?id=27619
3237 * wx/browser/wscript: Added.
3239 2009-08-02 Kevin Ollivier <kevino@theolliviers.com>
3241 Reviewed by Jan Alonzo.
3243 Scripts needed for the waf build.
3244 https://bugs.webkit.org/show_bug.cgi?id=27619
3247 * wx/build/build_utils.py: Added.
3248 * wx/build/settings.py: Added.
3249 * wx/build/waf_extensions.py: Added.
3250 * wx/build/wxpresets.py: Added.
3252 2009-08-01 Dan Bernstein <mitz@apple.com>
3254 Reviewed by Darin Adler.
3256 Make pixel test results more consistent across Mac OS X versions
3258 * DumpRenderTree/cg/ImageDiffCG.cpp:
3259 (createDifferenceImage): Avoid color correction when rendering the
3260 images into graphics contexts, so that the actual color values are
3261 compared, regardless of how the images are tagged.
3262 * DumpRenderTree/mac/DumpRenderTree.mm:
3263 (createWebViewAndOffscreenWindow): Set the window’s color space to the
3264 main screen’s color space, even though the window is off-screen.
3266 2009-08-01 Mark Rowe <mrowe@apple.com>
3268 Try again to make the Qt build bot happy.
3270 * BuildSlaveSupport/test-result-archive: Create a placeholder file inside the newly-created
3271 directory to prevent 'zip' from failing due to the directory containing no files.
3273 2009-08-01 Mark Rowe <mrowe@apple.com>
3275 Try and make the Qt build bot happy.
3277 * BuildSlaveSupport/test-result-archive: Handle the case where run-webkit-tests generates
3278 no output files at all and thus does not create the layout-test-results directory.
3280 2009-08-01 Mark Rowe <mrowe@apple.com>
3282 Move the include of DumpRenderTreeSupport to after DumpRenderTree has been built.
3284 * Scripts/run-webkit-tests:
3286 2009-08-01 Mark Rowe <mrowe@apple.com>
3288 Reviewed by Sam Weinig and David D. Kilzer.
3290 Fix <https://bugs.webkit.org/show_bug.cgi?id=27923>.
3291 Bug 27923: run-webkit-tests should not invoke "ps" repeatedly on Mac OS X
3293 run-webkit-tests invokes "ps" after each test on Mac OS X to determine whether DumpRenderTree is
3294 in the process of crashing. We can do the same test more efficiently with a simple call to sysctl.
3295 I couldn't find any built-in way of doing this directly from perl, so we do it from a simple C module
3296 instead. This speeds up run-webkit-tests by around 8%.
3298 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3299 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport.c: Added.
3300 (processIsCrashing):
3301 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupportTiger.pm: Added. Tiger does not have the SWIG tool
3302 that is used to generate the Perl binding to the C code, so we fall back to the old implementation on Tiger.
3303 * DumpRenderTree/mac/PerlSupport/Makefile: Added.
3304 * Scripts/run-webkit-tests:
3306 2009-08-01 Mark Rowe <mrowe@apple.com>
3308 Reviewed by David D. Kilzer.
3310 Display the reminder once rather than once per ChangeLog.
3312 * Scripts/prepare-ChangeLog:
3314 2009-08-01 David Kilzer <ddkilzer@apple.com>
3316 resolve-ChangeLogs: add error checking to git ls-files command on close()
3318 Reviewed by Eric Seidel.
3320 Item 2 of <https://bugs.webkit.org/show_bug.cgi?id=18599#c0>.
3322 * Scripts/resolve-ChangeLogs: Added error checking to close()
3323 after running git ls-files. Added error checking to all
3324 system() calls by checking for a non-zero WEXITSTATUS($?).
3325 Changed "|| die;" expressions to "or die $!;".
3327 2009-08-01 David Kilzer <ddkilzer@apple.com>
3329 <http://webkit.org/b/18599> resolve-ChangeLogs doesn't work with relative paths
3331 Reviewed by Eric Seidel.
3333 * Scripts/resolve-ChangeLogs: Used chdirReturningRelativePath()
3334 and determineVCSRoot() to change directories to the root of the
3335 project before running the command and to provide a path for
3336 removeChangeLogArguments() to make sure any ChangeLog arguments
3337 on the command line are still found.
3338 (canonicalRelativePath): Added. Returns a canonical path (e.g.,
3339 stripping 'dir/../' from the path) relative to the current
3341 (removeChangeLogArguments): Added argument which contains a
3342 relative path that must be prepended to any ChangeLog arguments.
3343 Used canonicalRelativePath() and File::Spec->catfile() to
3344 construct a normalized, relative path to each file.
3346 2009-08-01 David Kilzer <ddkilzer@apple.com>
3348 Implement VCSUtils::chdirReturningRelativePath()
3350 Reviewed by Eric Seidel.
3353 <http://webkit.org/b/18599> resolve-ChangeLogs doesn't work with relative paths
3355 * Scripts/VCSUtils.pm:
3356 (VCSUtils::chdirReturningRelativePath): Moved here from
3357 chdirAndGetDifference() in svn-create-patch.
3358 * Scripts/svn-create-patch: Switched to use
3359 chdirReturningRelativePath() instead of chdirAndGetDifference().
3360 (chdirAndGetDifference): Removed.
3362 2009-08-01 David Kilzer <ddkilzer@apple.com>
3364 Implement VCSUtils::determineVCSRoot()
3366 Reviewed by Eric Seidel.
3369 <http://webkit.org/b/18599> resolve-ChangeLogs doesn't work with relative paths
3371 * Scripts/VCSUtils.pm: Removed reference to webkitdirs module.
3372 (VCSUtils::EXPORT): Added &determineVCSRoot. Realphabetized.
3373 (VCSUtils::determineGitRoot): Added. Based on code in
3375 (VCSUtils::determineVCSRoot): Implemented using
3376 determineGitRoot() and determineSVNRoot().
3377 * Scripts/commit-log-editor: Replaced use of
3378 topLevelSourceDirectory() with determineVCSRoot(). Resorted
3380 (topLevelSourceDirectory): Removed.
3382 2009-07-31 Daniel Bates <dbates@intudata.com>
3384 Reviewed by Eric Seidel.
3386 https://bugs.webkit.org/show_bug.cgi?id=27757
3388 Resolves Perl redefinition warnings about functions tmpfile and tmpnam which are
3389 defined in both File::Temp and POSIX.
3391 This stops the warnings by preventing the "import" method of File::Temp from being called,
3392 which would otherwise add these functions into the primary namespace. Note, "use POSIX"
3393 will import these functions into the primary namespace anyway. We only need one instance
3394 of these functions in our namespace (or we get redefinition warnings), so lets use the
3395 one's in the POSIX package.
3397 * Scripts/update-webkit-auxiliary-libs: Changed "use File::Temp" to "use File::Temp ()".
3398 * Scripts/update-webkit-support-libs: ditto
3400 2009-07-31 Laszlo Gombos <laszlo.1.gombos@nokia.com>
3402 Reviewed by Eric Seidel.
3404 Add a top level build option to control datagrid support
3405 https://bugs.webkit.org/show_bug.cgi?id=27915
3407 * Scripts/build-webkit:
3409 2009-07-31 David Levin <levin@chromium.org>
3411 Reviewed by Adam Treat.
3413 check-webkit-style --git-commit has bugs if you select a commit in the past
3414 https://bugs.webkit.org/show_bug.cgi?id=27908
3416 * Scripts/check-webkit-style:
3417 (main): Made the git-commit command only select the first commit
3418 if a range is given (and print a warning).
3419 * Scripts/modules/scm.py:
3420 (SCM::create_patch_from_local_commit):
3421 (SCM::create_patch_since_local_commit):
3422 (SCM::commit_locally_with_message):
3423 (SCM::discard_local_commits):
3424 Added an error messages in case these aren't overriden.
3426 (Git::create_patch_since_local_commit):
3427 Added this command to allow doing a diff of everything after a given commit.
3429 2009-07-31 Jan Michael Alonzo <jmalonzo@webkit.org>
3431 Speculative Qt build fix. Not reviewed.
3433 Add LayoutTestController::disableImageLoading() in jsobjects.h.
3435 * DumpRenderTree/qt/jsobjects.h:
3437 2009-07-31 Brady Eidson <beidson@apple.com>
3439 Reviewed by John Sullivan.
3441 <rdar://problem/6973106> and https://bugs.webkit.org/show_bug.cgi?id=27896
3442 Favicons are still loaded when automatic image loading is disabled.
3444 * DumpRenderTree/LayoutTestController.cpp:
3445 (disableImageLoadingCallback):
3446 (LayoutTestController::staticFunctions):
3447 * DumpRenderTree/LayoutTestController.h:
3449 * DumpRenderTree/mac/DumpRenderTree.mm:
3450 (resetWebViewToConsistentStateBeforeTesting):
3451 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3452 (LayoutTestController::disableImageLoading):
3454 * DumpRenderTree/win/DumpRenderTree.cpp:
3455 (resetWebViewToConsistentStateBeforeTesting):
3456 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3457 (LayoutTestController::disableImageLoading):
3459 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3460 (LayoutTestController::disableImageLoading): Stubbed for now.
3461 * DumpRenderTree/qt/jsobjects.cpp:
3462 (LayoutTestController::disableImageLoading): Ditto.
3464 2009-07-30 Eric Seidel <eric@webkit.org>
3466 Reviewed by David Kilzer.
3468 bugzilla-tool post-commits trunk..head errors out
3469 https://bugs.webkit.org/show_bug.cgi?id=27847
3471 Rename commit_ids_from_range_arguments to commit_ids_from_commitish_arguments
3472 and make it handle the new arguments format proposed in the bug.
3474 * Scripts/bugzilla-tool:
3475 * Scripts/modules/scm.py:
3477 2009-07-30 Eric Seidel <eric@webkit.org>
3479 Reviewed by David Levin.
3481 clean up build-webkit to use less copy/paste code and remove unneeded SVG warning
3482 https://bugs.webkit.org/show_bug.cgi?id=27857
3484 * Scripts/build-webkit:
3486 2009-07-31 David Kilzer <ddkilzer@apple.com>
3488 <http://webkit.org/b/27894> bugzilla-tool: Bugzilla.clear_attachment_review_flag() fails with ClientForm-0.2.10 and python-2.5
3490 Reviewed by Eric Seidel.
3492 * Scripts/modules/bugzilla.py:
3493 (Bugzilla.clear_attachment_review_flag): Specify which 'comment'
3494 form field to use when setting its value.
3496 2009-07-31 Eric Seidel <eric@webkit.org>
3498 Reviewed by David Kilzer.
3500 bugzilla-tool post-commits obsoletes its own work :(
3501 https://bugs.webkit.org/show_bug.cgi?id=27849
3503 Simple fix. Use .add() instead of .update()
3505 * Scripts/bugzilla-tool:
3507 2009-07-31 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
3509 Reviewed by Anders Carlsson.
3511 Improve platform-detection in run-webkit-tests
3513 This prevents miss-detection of mac-* over Qt/Mac.
3515 * Scripts/run-webkit-tests:
3517 2009-07-30 Mark Rowe <mrowe@apple.com>
3519 Reviewed by Cameron Zwarich.
3521 Teach buildbot to detect test cases that are missing results.
3523 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3525 2009-07-30 Mark Rowe <mrowe@apple.com>
3527 Things work better when you create the correct directories.
3529 * Scripts/run-webkit-tests:
3531 2009-07-30 Mark Rowe <mrowe@apple.com>
3533 Include some information about the error when we die.
3535 * Scripts/run-webkit-tests:
3537 2009-07-30 Mark Rowe <mrowe@apple.com>
3539 Ensure that the path exists before writing results to it.
3540 Hopefully this will make the Windows build bot happy.
3542 * Scripts/run-webkit-tests:
3544 2009-07-30 Mark Rowe <mrowe@apple.com>
3546 Reviewed by Adam Treat and Jon Honeycutt.
3548 Teach run-webkit-tests to always store the actual results in the results directory for new tests.
3549 This allows us to give a working link to the results from the result summary page, even if we're
3550 not generating new results in to the tree.
3552 * Scripts/run-webkit-tests:
3554 2009-07-30 Mark Rowe <mrowe@apple.com>
3556 Add a Qt Linux build bot.
3558 * BuildSlaveSupport/build.webkit.org-config/config.json:
3560 2009-07-30 Jakob Petsovits <jakob.petsovits@torchmobile.com>
3562 Reviewed by Adam Roben.
3564 Add --minimal option to webkit-build.
3565 https://bugs.webkit.org/show_bug.cgi?id=27852
3567 This option disables all optional build features unless
3568 they are explicitly enabled.
3570 * Scripts/build-webkit:
3572 2009-07-30 Jakub Wieczorek <faw217@gmail.com>
3574 [Qt] Fix build with GCC 4.4.
3576 * DumpRenderTree/qt/ImageDiff.cpp:
3578 2009-07-29 Ariya Hidayat <ariya.hidayat@nokia.com>
3580 Reviewed by Simon Hausmann.
3582 https://bugs.webkit.org/show_bug.cgi?id=27813
3584 [Qt] Support pixel tests in DumpRenderTree for the Qt port.
3586 * DumpRenderTree/qt/DumpRenderTree.cpp:
3587 (WebCore::DumpRenderTree::DumpRenderTree):
3588 (WebCore::DumpRenderTree::open):
3589 (WebCore::DumpRenderTree::setDumpPixels):
3590 (WebCore::DumpRenderTree::dump):
3591 * DumpRenderTree/qt/DumpRenderTree.h:
3592 * DumpRenderTree/qt/main.cpp:
3595 2009-07-29 Ariya Hidayat <ariya.hidayat@nokia.com>
3597 Reviewed by Simon Hausmann.
3599 https://bugs.webkit.org/show_bug.cgi?id=27813
3601 [Qt] Implement ImageDiff.
3603 * DumpRenderTree/qt/ImageDiff.cpp: Added.
3604 * DumpRenderTree/qt/ImageDiff.pro: Added.
3606 2009-07-30 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
3608 Reviewed by Eric Seidel.
3610 build-webkit: Reorder logic for determining the baseProductDir
3612 https://bugs.webkit.org/show_bug.cgi?id=27699
3614 We now do port-spesific probing for the product dir first, and then
3615 fall back to either the generic WEBKITOUTPUTDIR (which now also works
3616 on Mac), or WebKitBuild.
3618 Then we add the git branch if the git branch build option is enabled.
3620 Finally we massage the product dir based on the port. For example the
3621 Mac port will now always set the SYMROOT and OBJROOT configuration for
3624 Note that isAppleWinWebkit() and isCygwin() is not mutually exclusive,
3625 hence the normal if and not elsif in the last two blocks.
3627 * Scripts/webkitdirs.pm:
3629 2009-07-29 David Kilzer <ddkilzer@apple.com>
3631 <http://webkit.org/b/27082> bugzilla-tool: Add --no-close switch to land-patches
3633 Reviewed by David Levin.
3635 * Scripts/bugzilla-tool:
3636 (LandPatchesFromBugs.__init__): Added --no-close switch.
3637 (LandPatchesFromBugs.land_patches): Don't close the bug if the
3638 --no-close switch was used. Always clear the review+ flag on
3639 every landed patch using the commit_text message when cleared.
3640 This prevents patches from showing up in the commit queue if
3641 reopened and provides consistency with all landed patches.
3642 * Scripts/modules/bugzilla.py:
3643 (Bugzilla.clear_attachment_review_flag): Added.
3645 2009-07-29 David Kilzer <ddkilzer@apple.com>
3647 <http://webkit.org/b/27815> bugzilla-tool: add -m/--description to post-commits command
3649 Reviewed by Eric Seidel.
3651 * Scripts/bugzilla-tool:
3652 (PostDiffAsPatchToBug.execute): Changed default patch name from
3653 "patch" to "Patch v1".
3654 (PostCommitsAsPatchesToBug.__init__): Added -m/--description
3656 (PostCommitsAsPatchesToBug.execute): Use description provided by
3657 -m/--description switch first, else fall back to the commit
3660 2009-07-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
3662 Reviewed by Dave Levin.
3664 Make check-webkit-style support files as arguments.
3665 https://bugs.webkit.org/show_bug.cgi?id=27549
3667 * Scripts/check-webkit-style:
3668 Support files as argument. Change documentation and use basename
3669 on the binary name when used in the documentation. Also do not
3670 die when printing something containing non-ASCII characters.
3672 2009-08-06 Mike Fenton <mike.fenton@torchmobile.com>
3674 Reviewed by David Levin.
3676 Add validation for pointer and reference declaration as defined by webkit style guidelines to cpp_style.py.
3677 Add unit tests for validation and update existing c style cast test to be run explicitly as c validation.
3679 https://bugs.webkit.org/show_bug.cgi?id=27984
3681 * Scripts/modules/cpp_style.py:
3682 * Scripts/modules/cpp_style_unittest.py:
3684 2009-07-29 David Kilzer <ddkilzer@apple.com>
3686 <http://webkit.org/b/27119> bugzilla-tool: Add create-bug command
3688 Reviewed by David Levin.
3690 Implement "create-bug" command for bugzilla-tool.
3692 * Scripts/bugzilla-tool: Added CreateBug class.
3693 (CreateBug.__init__): Added.
3694 (CreateBug.create_bug_from_commit): Added.
3695 (CreateBug.create_bug_from_patch): Added.
3696 (CreateBug.prompt_for_bug_title_and_comment): Added.
3697 (CreateBug.execute): Added.
3698 (BugzillaTool.__init__): Added create-bug command.
3699 * Scripts/modules/bugzilla.py:
3700 (Bugzilla.prompt_for_component): Added.
3701 (Bugzilla.check_create_bug_response_returning_bug_id_on_success): Added.
3702 (Bugzilla.create_bug_with_patch): Added.
3704 2009-07-29 Jan Michael Alonzo <jmalonzo@webkit.org>
3706 Reviewed by Eric Seidel and Xan Lopez.
3708 [Gtk] Enable http/tests/appcache tests
3709 https://bugs.webkit.org/show_bug.cgi?id=27674
3711 Add support for testing http/tests/appcache tests.
3713 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3714 (resetWebViewToConsistentStateBeforeTesting):
3715 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3716 (LayoutTestController::setAppCacheMaximumSize):
3718 2009-07-28 Mark Rowe <mrowe@apple.com>
3720 Reviewed by Oliver Hunt.
3722 Prevent nightly builds of WebKit from launching against old Safari versions that we no longer work with.