1 2009-09-14 Chris Marrin <cmarrin@apple.com>
3 Reviewed by Oliver Hunt.
5 Add LayoutTests infrastructure to enable and disable webgl tests.
6 https://bugs.webkit.org/show_bug.cgi?id=29254
8 * Scripts/run-webkit-tests:
9 * Scripts/webkitdirs.pm:
11 2009-09-14 Simon Fraser <simon.fraser@apple.com>
13 Reviewed by Darin Adler.
15 Add --iterations option to run-webkit-tests to repeat the tests N times
16 https://bugs.webkit.org/show_bug.cgi?id=29263
18 When run with --iterations N, run-webkit-tests will repeat the tests N times.
20 * Scripts/run-webkit-tests:
22 2009-09-14 Brady Eidson <beidson@apple.com>
24 Not reviewed, maybe should've been:
26 Cleaning up more Windows-specific fallout from the fix for:
27 <rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160
29 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
30 (ResourceLoadDelegate::didReceiveAuthenticationChallenge): Correct printf() formatter,
31 and call the correct method to get the Sender.
33 2009-09-14 Jon Honeycutt <jhoneycutt@apple.com>
39 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
40 (AccessibilityController::setLogScrollingStartEvents):
42 2009-09-11 Jon Honeycutt <jhoneycutt@apple.com>
45 <rdar://problem/7197644> WebKit should broadcast an MSAA event when
46 jumping to a named anchor
48 https://bugs.webkit.org/show_bug.cgi?id=28899
50 Reviewed by Adam Roben.
52 * DumpRenderTree/AccessibilityController.cpp:
53 (logScrollingStartEventsCallback):
54 Turn on logging of scrolling start events.
55 (AccessibilityController::getJSClass):
56 Add a "logScrollingStartEvents" to the AccessibilityController's JS
58 (AccessibilityController::resetToConsistentState):
59 Turn off logging of scrolling start events.
61 * DumpRenderTree/AccessibilityController.h:
62 Declare setLogScrollingStartEvents(). Add a member for the scrolling
65 * DumpRenderTree/mac/AccessibilityControllerMac.cpp:
66 (AccessibilityController::setLogScrollingStartEvents):
69 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
70 (AccessibilityController::AccessibilityController):
71 Initialize the handle to 0.
73 Renamed from logFocusEventProc; now logs scrolling start events, too.
74 Removed the assertion that the event is a focus event. Added a switch
75 to print a message for focus, scrolling start, and other, unknown
77 (AccessibilityController::setLogFocusEvents):
78 Changed to use logEventProc.
79 (AccessibilityController::setLogScrollingStartEvents):
80 If turning logging off, unhook the scrolling start event hook, and clear
81 the member holding the handle. If turning on, query for the root
82 accessible, so that accessibility is enabled for the WebView, and call
83 SetWinEventHook to setup an event hook using logEventProc as the
86 2009-09-14 Brady Eidson <beidson@apple.com>
90 * DumpRenderTree/LayoutTestController.cpp:
91 (setAuthenticationPasswordCallback):
92 (setAuthenticationUsernameCallback):
94 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
95 (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
97 2009-09-14 Brady Eidson <beidson@apple.com>
99 Reviewed by Alexey Proskuryakov.
101 Safari 4 cannot be used to update firmware on Linksys routers.
102 <rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160
104 Add the ability for DRT to handle authentication challenges.
106 * DumpRenderTree/LayoutTestController.cpp:
107 (setAuthenticationPasswordCallback):
108 (setAuthenticationUsernameCallback):
109 (setHandlesAuthenticationChallengesCallback):
110 (LayoutTestController::staticFunctions):
112 * DumpRenderTree/LayoutTestController.h:
113 (LayoutTestController::handlesAuthenticationChallenges):
114 (LayoutTestController::setHandlesAuthenticationChallenges):
115 (LayoutTestController::authenticationUsername):
116 (LayoutTestController::setAuthenticationUsername):
117 (LayoutTestController::authenticationPassword):
118 (LayoutTestController::setAuthenticationPassword):
120 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
121 (-[ResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
123 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
124 (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
125 * DumpRenderTree/win/ResourceLoadDelegate.h:
127 2009-09-12 Mark Rowe <mrowe@apple.com>
129 Reviewed by Dan Bernstein.
131 Test for <rdar://problem/6954546> and <rdar://problem/7090444>.
133 Add a flag on the test plug-in that asks it to clear the document during the call to NPP_New.
134 This is the trigger for both <rdar://problem/6954546> and <rdar://problem/7090444>.
136 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
139 2009-09-14 Kevin Ollivier <kevino@theolliviers.com>
141 wx build fix for non-wxPython builds and a fix for errors when updating swig.py.
143 * wx/build/build_utils.py:
144 * wx/build/settings.py:
146 2009-09-14 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
148 Reviewed by Tor Arne Vestbø.
150 [Qt] Build fix for windows build.
152 * Scripts/bisect-builds: Add missing paranthesis for tmpdir function.
154 2009-09-13 Kevin Ollivier <kevino@theolliviers.com>
156 Fix typo accidently landed in last commit.
158 * wx/build/settings.py:
160 2009-09-13 Kevin Ollivier <kevino@theolliviers.com>
162 wx build fix, error out if using the wrong Python.
164 * wx/build/settings.py:
166 2009-09-13 Xan Lopez <xlopez@igalia.com>
168 Build fix for GTK+ < 2.14.
170 Do not use gtk_widget_get_window, access the window directly
173 * DumpRenderTree/gtk/EventSender.cpp:
174 (contextClickCallback):
177 (mouseMoveToCallback):
180 2009-09-13 Martin Robinson <martin.james.robinson@gmail.com>
182 Reviewed by Xan Lopez and Jan Alonzo.
184 [GTK] EventSender does not set 'window' property on synthesized GDK events
185 https://bugs.webkit.org/show_bug.cgi?id=29169
187 Set the window property on synthesized GDK events in the GTK+ EventSender.
189 * DumpRenderTree/gtk/EventSender.cpp:
190 (contextClickCallback):
193 (mouseMoveToCallback):
196 2009-09-12 Drew Wilson <atwilson@google.com>
198 Reviewed by Mark Rowe.
200 run-webkit-tests has a timeout value that is too low
201 https://bugs.webkit.org/show_bug.cgi?id=29223
203 * Scripts/run-webkit-tests:
204 Changed timeout value to 20 seconds to avoid timing out too early.
206 2009-09-11 Kevin Ollivier <kevino@theolliviers.com>
208 wx build fix. Mark dependencies as mandatory and declare which MSVC versions and
209 architectures are supported for building wxWebKit.
211 * wx/build/settings.py:
213 2009-09-11 Eric Seidel <eric@webkit.org>
215 Reviewed by David Levin.
217 bugzilla-tool rollout threw exception under svn
218 https://bugs.webkit.org/show_bug.cgi?id=29211
220 * Scripts/modules/scm.py: add missing return, and convert number arguments to strings.
221 * Scripts/modules/scm_unittest.py: add testing for this fix.
223 2009-09-11 Brian Weinstein <bweinstein@apple.com>
225 Add myself to the committers list.
227 * Scripts/modules/committers.py:
229 2009-09-11 Eric Seidel <eric@webkit.org>
231 Reviewed by Adam Barth.
233 bugzilla-tool land-patches should only fail-fast in --commit-queue mode
234 https://bugs.webkit.org/show_bug.cgi?id=29201
236 * Scripts/bugzilla-tool:
238 2009-09-11 Adam Roben <aroben@apple.com>
240 Make commit-log-editor move common prefixes to the top of the log
242 Fies <http://webkit.org/b/29190> commit-log-editor should move common
243 prefixes to the top of the commit log
245 Reviewed by Darin Adler.
247 * Scripts/commit-log-editor: Find and remove the longest common prefix
248 ending in a double newline from each ChangeLog entry, then put that
249 common prefix at the top of the commit log.
250 (removeLongestCommonPrefixEndingInDoubleNewline): Added. Finds,
251 removes, and returns the longest common prefix ending in a double
252 newline from a hash of strings
254 2009-09-11 Eric Seidel <eric@webkit.org>
256 Fix obvious typo in previous commit, no review.
258 bugzilla-tool should automate rollouts
259 https://bugs.webkit.org/show_bug.cgi?id=26715
261 * Scripts/bugzilla-tool: add back missing "scm" argument.
263 2009-09-11 Eric Seidel <eric@webkit.org>
265 Reviewed by Adam Barth.
267 bugzilla-tool should automate rollouts
268 https://bugs.webkit.org/show_bug.cgi?id=26715
270 bugzilla-tool rollout will do the rollout locally and leave the diff for you to verify and commit.
271 The --complete-rollout option will automatically land and update the bug.
272 Eventually --complete-rollout will be default, but that will require more testing.
274 This first pass is good enough for others to try and file bugs about.
276 * Scripts/bugzilla-tool:
277 - Move modified_changelogs into scm.py.
278 - Move svn_revision_from_commit_text logic into scm.py.
279 - Add RolloutCommit command.
280 * Scripts/modules/bugzilla.py:
281 - Add reopen_bug command used by RolloutCommit.
282 * Scripts/modules/scm.py:
283 - Add functions to support RolloutCommit.
284 - Abstract find_uuid into value_from_svn_info so it can be re-used for _repository_url (needed by svn merge).
285 - Add a str() call so that svn_commit_log can take a numeric argument.
286 - Remove a bunch of very slow code from last_svn_commit_log and used the built-in 'BASE' alias instead.
287 - Made dry_run commits return something that svn_revision_from_commit_text can parse.
288 * Scripts/modules/scm_unittest.py:
289 - Add read_from_path for easy file reading.
290 - Put test4 on a new line to make reverts work w/o conflict.
291 - Add an "svn update" call so that the checkout revision matches the server revision.
292 - Add tests for svn_revision_from_commit_text.
293 - Add a simple test for apply_reverse_diff.
294 - Add a new self.scm member and use it in the new tests (eventually other tests can use it too).
295 - Add test for svn_commit_log to make sure my 'BASE' change above worked as expected.
297 2009-09-11 Adam Roben <aroben@apple.com>
299 Get user script/stylesheet tests running on Windows
301 Fixes <http://webkit.org/b/29181> User script/stylesheet tests are
304 Reviewed by John Sullivan.
306 * DumpRenderTree/win/DumpRenderTree.vcproj: Link all configurations
307 against comsuppw.lib so we can use _bstr_t.
309 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Fixed #include
310 order, added #include of comutil.h for _bstr_t.
312 (bstrT): Helper function to convert a JSStringRef to a _bstr_t.
313 (LayoutTestController::addUserScript):
314 (LayoutTestController::addUserStyleSheet):
315 Implemented. Implementations were based on those in
316 LayoutTestControllerMac.mm.
318 2009-09-10 David Kilzer <ddkilzer@apple.com>
320 <http://webkit.org/b/29147> run-webkit-tests: make -h show help
322 Reviewed by Mark Rowe.
324 * Scripts/run-webkit-tests: Updated to make -h switch show help.
326 2009-09-10 Fumitoshi Ukai <ukai@chromium.org>
328 Reviewed by Alexey Proskuryakov.
330 Add WebCore/websockets directory in wx build system.
331 https://bugs.webkit.org/show_bug.cgi?id=28038
333 * wx/build/settings.py:
335 2009-09-10 Martin Robinson <martin.james.robinson@gmail.com>
337 [GTK] EventSender does not properly convert some keyDown strings
338 https://bugs.webkit.org/show_bug.cgi?id=29119
340 Add more keyDown string to character code conversions for GTK+ EventSender.
342 * DumpRenderTree/gtk/EventSender.cpp:
345 2009-09-09 Steve Block <steveblock@google.com>
347 Reviewed by Maciej Stachowiak.
349 Geolocation Coordinates::toString() prints bogus values for unspecified properties.
350 https://bugs.webkit.org/show_bug.cgi?id=29080
352 * Scripts/make-script-test-wrappers: Modified. Adds asynchronous Geolocation tests to exclusion list.
354 2009-09-09 Eric Seidel <eric@webkit.org>
356 Reviewed by Eric Carlson.
358 reviewer/committer lookups are backwards
359 https://bugs.webkit.org/show_bug.cgi?id=29113
361 I also moved Eric Carlson from the committer list to the reviewer list now that he is one.
363 * Scripts/modules/bugzilla.py:
364 * Scripts/modules/committers.py:
366 2009-09-09 Cameron McCormack <cam@mcc.id.au>
368 Reviewed by Eric Seidel.
370 svn-unapply doesn't revert directories correctly
371 https://bugs.webkit.org/show_bug.cgi?id=29065
373 * Scripts/svn-unapply: Make svnStatus consistently return status
374 lines including a newline.
375 * Scripts/svn-apply: Keep svnStatus in sync with the one in
376 svn-unapply, in lieu of moving it to a common file.
378 2009-09-09 Cameron McCormack <cam@mcc.id.au>
380 Reviewed by Eric Seidel.
382 svn-apply doesn't handle changes to files copied to new directories properly
383 https://bugs.webkit.org/show_bug.cgi?id=29059
385 * Scripts/svn-apply: Don't treat "--- revision 0" patches as being
386 additions if we know that we've just copied a file to this name.
388 2009-09-09 Eric Seidel <eric@webkit.org>
390 Reviewed by David Levin.
392 commit-queue hangs if a builder has never built
393 https://bugs.webkit.org/show_bug.cgi?id=29091
395 * Scripts/modules/buildbot.py:
396 * Scripts/modules/buildbot_unittest.py:
398 2009-09-09 Zan Dobersek <zandobersek@gmail.com>
400 Reviewed by Gustavo Noronha.
402 [GTK] DumpRenderTree needs eventSender object and implementation
403 https://bugs.webkit.org/show_bug.cgi?id=25990
405 Implements most of the EventSender object's functionality for
406 the DumpRenderTree tool. Implementation still lacks support
407 for drag and drop tests and forward leaps.
409 Based on work by Holger Hans Peter Freyther.
411 * DumpRenderTree/gtk/DumpRenderTree.cpp:
412 (runTest): Focus on the view before loading a new test.
413 (webViewWindowObjectCleared):
414 * DumpRenderTree/gtk/EventSender.cpp: Added.
415 (getDragModeCallback):
416 (setDragModeCallback):
417 (leapForwardCallback):
418 (contextClickCallback):
422 (mouseMoveToCallback):
423 (beginDragWithFilesCallback):
426 (textZoomInCallback):
427 (textZoomOutCallback):
428 (zoomPageInCallback):
429 (zoomPageOutCallback):
432 * DumpRenderTree/gtk/EventSender.h: Added.
433 * GNUmakefile.am: Add build rules for EventSender.
435 2009-09-09 Daniel Bates <dbates@webkit.org>
437 Reviewed by Adam Roben.
439 https://bugs.webkit.org/show_bug.cgi?id=28953
441 Added pre- and post- build events so that on build failure, the file
442 buildfailed is written to the directory $(WebKitOutputDir).
444 * WinLauncher/WinLauncher.vcproj:
446 2009-09-09 Kenneth Rohde Christiansen <kenneth@webkit.org>
450 Add myself to list of committers.
452 * Scripts/modules/committers.py:
454 2009-09-08 Eric Seidel <eric@webkit.org>
456 Reviewed by David Levin.
458 commit-queue gets stuck if a non-committer sets commit-queue+ or review+
459 https://bugs.webkit.org/show_bug.cgi?id=28605
460 https://bugs.webkit.org/show_bug.cgi?id=28916
462 * Scripts/bugzilla-tool:
463 - Fix comment and adjust reject_patch_from_commit_queue call to pass "manual commit"
464 comment now that it's used for rejecting patches for invalid committers too.
465 - Pass reject_invalid_patches=True for commit-queue calls, normally we just ignore patches with invalid reviewers, the commit-queue rejects them.
466 - Make the commit queue print patches count instead of bugs count, this also fixes https://bugs.webkit.org/show_bug.cgi?id=28916.
467 * Scripts/modules/bugzilla.py:
468 - Make _parse_attachment_element not validate reviewer/committer.
469 - Share flag parsing code in _parse_attachment_flag.
470 - Add _validate* methods for validating reviewers and committers and updating bugs when validation fails.
471 - Add reject_invalid_patches argument so the commit-queue can update bugs on failed validation and other "read only" commands will not.
472 - Add reject_patch_from_review_queue using a new _set_flag_on_attachment abstraction.
473 * Scripts/modules/bugzilla_unittest.py:
474 - Update this test to no longer expect committer/reviewer validation.
475 * Scripts/modules/committers.py:
476 - Return None on failed lookups instead of raising Exceptions.
477 * Scripts/modules/committers_unittest.py:
478 - Update tests to expect None returns instead of exceptions.
480 2009-09-09 David Kilzer <ddkilzer@apple.com>
482 <http://webkit.org/b/29061> Fix obvious copy-paste error in AccessibilityUIElement::clickPointY()
484 Reviewed by Mark Rowe.
486 No change to layout test results.
488 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
489 (AccessibilityUIElement::clickPointY): Changed to return y value
492 2009-09-08 Dimitri Glazkov <dglazkov@chromium.org>
494 Reviewed by Mark Rowe.
496 Reduce dglazkov's boboiness by properly concatenating revision value.
498 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Used substitution
501 2009-09-08 Kevin Ollivier <kevino@theolliviers.com>
503 wxWebKit Python extension build fix - get swig.py if it doesn't exist.
505 * wx/build/build_utils.py:
507 2009-09-08 Mark Rowe <mrowe@apple.com>
509 Fix an incorrect variable name in UpdateChromiumSource.
511 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
513 2009-09-08 Mark Rowe <mrowe@apple.com>
515 Don't check for leaks on the release SnowLeopard builder.
517 * BuildSlaveSupport/build.webkit.org-config/config.json:
519 2009-09-08 Mark Rowe <mrowe@apple.com>
521 Add a SnowLeopard release builder.
523 * BuildSlaveSupport/build.webkit.org-config/config.json:
525 2009-09-08 David Levin <levin@chromium.org>
527 Reviewed by Darin Adler.
529 Remove end of line whitespace check from check-webkit-style.
530 https://bugs.webkit.org/show_bug.cgi?id=29053
532 * Scripts/modules/cpp_style.py:
534 2009-09-08 Cameron McCormack <cam@mcc.id.au>
536 Reviewed by Darin Adler.
538 Fix DumpRenderTree build from clean tree on Tiger
539 https://bugs.webkit.org/show_bug.cgi?id=28927
541 * DumpRenderTree/mac/PerlSupport/Makefile: Ensure the
542 DerivedSources/DumpRenderTree directory exists when
545 2009-09-08 Kevin Ollivier <kevino@theolliviers.com>
547 wx build fix after introduction of platform/mock directory.
549 * wx/build/settings.py:
551 2009-09-08 Yael Aharon <yael.aharon@nokia.com>
555 Add myself to list of committers.
557 * Scripts/modules/committers.py:
559 2009-09-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
563 Add myself to list of committers.
565 * Scripts/modules/committers.py:
567 2009-09-08 Cameron McCormack <cam@mcc.id.au>
569 Reviewed by Darin Adler.
571 prepare-ChangeLog too chatty on file additions
572 https://bugs.webkit.org/show_bug.cgi?id=29019
574 * Scripts/prepare-ChangeLog: Omit description of added properties
575 on newly added files.
577 2009-09-08 Steve Block <steveblock@google.com>
579 Reviewed by Adam Barth.
581 Adds a LayoutTestController method to set the permission state for Geolocation.
582 This is required to use the mock Geolocation service for testing.
583 https://bugs.webkit.org/show_bug.cgi?id=29027
585 * DumpRenderTree/LayoutTestController.cpp: Modified.
586 (setDatabaseQuotaCallback): Modified. Style fix.
587 (setGeolocationPermissionCallback): Added. Sets the Geolocation permission state.
588 (LayoutTestController::staticFunctions): Modified. Registers the above function on the LayoutTestController.
589 * DumpRenderTree/LayoutTestController.h: Modified.
590 (LayoutTestController::setGeolocationPermission): Added. Sets the Geolocation permission state.
591 (LayoutTestController::isGeolocationPermissionSet): Added. Returns whether the Geolocation permission has been set.
592 (LayoutTestController::geolocationPermission): Added. Returns the Geolocation permission state.
593 * DumpRenderTree/mac/UIDelegate.mm: Modified.
594 (-[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.
596 2009-09-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
598 Reviewed by Simon Hausmann.
600 [Qt] QtWebKit single API to enable persistency
601 https://bugs.webkit.org/show_bug.cgi?id=28682
603 Use the new enablePersistentStorage API instead
604 of enabling all persistent features one-by-one.
606 * DumpRenderTree/qt/DumpRenderTree.cpp:
607 (WebCore::WebPage::WebPage):
608 (WebCore::DumpRenderTree::DumpRenderTree):
610 2009-09-07 Andras Becsi <becsi.andras@stud.u-szeged.hu>
612 Reviewed by Tor Arne Vestbø.
614 Refactor --strict switch to --ignore-metrics and correct the
615 implementation to make the feature usable on all platforms.
616 https://bugs.webkit.org/show_bug.cgi?id=28907
618 run-webkit-tests --ignore-metrics strips the font related metrics from
619 the actual and expected data before comparing them.
620 In this way the render trees can be checked for obvious differences but
621 a successful test implies by no means that the layout is actually correct.
623 * Scripts/run-webkit-tests:
625 2009-09-07 Steve Block <steveblock@google.com>
627 Reviewed by Adam Barth.
629 Adds a mock Geolocation service. This will be used to provide predictable behavior of the
630 Geolocation API for use in LayoutTests. Later changes will integrate the the mock
631 Geolocation service with DumpRenderTree.
632 https://bugs.webkit.org/show_bug.cgi?id=28264
634 * DumpRenderTree/LayoutTestController.cpp: Modified.
635 (setMockGeolocationPositionCallback): Added. Configures the mock Geolocation service.
636 (setMockGeolocationErrorCallback): Added. Configures the mock Geolocation service.
637 (LayoutTestController::staticFunctions): Added. Registers the above functions on the LayoutTestController.
638 * DumpRenderTree/LayoutTestController.h: Modified.
639 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Modified.
640 (LayoutTestController::setMockGeolocationPosition): Added. Configures the mock Geolocation service.
641 (LayoutTestController::setMockGeolocationError): Added. Configures the mock Geolocation service.
643 2009-09-07 Drew Wilson <atwilson@google.com>
645 Reviewed by David Levin.
647 Enable SHARED_WORKERS by default
648 https://bugs.webkit.org/show_bug.cgi?id=28959
650 * Scripts/build-webkit:
652 2009-09-07 Kevin Ollivier <kevino@theolliviers.com>
654 wx build fixes for wx SVN trunk.
656 * wx/build/settings.py:
658 2009-09-04 Kevin Ollivier <kevino@theolliviers.com>
660 wx build fix. Switch USE_ defines over to the compiler so that they can be
661 checked by files not including config.h (like WebCorePrefix.h).
663 * wx/build/settings.py:
665 2009-09-04 Adam Barth <abarth@webkit.org>
667 Unreviewed build fix.
669 Update declaration of FrameLoadDelegate to reflect that
670 IWebFrameLoadDelegatePrivate2 inherits from
671 IWebFrameLoadDelegatePrivate.
673 * DumpRenderTree/win/FrameLoadDelegate.h:
675 2009-09-04 Adam Barth <abarth@webkit.org>
677 Reviewed by Eric Seidel.
679 https://bugs.webkit.org/show_bug.cgi?id=24696
681 Add testing instrumentation for mixed content.
683 * DumpRenderTree/mac/FrameLoadDelegate.mm:
684 (-[FrameLoadDelegate webView:]):
685 (-[FrameLoadDelegate webView:didRunInsecureContent:]):
686 * DumpRenderTree/win/FrameLoadDelegate.cpp:
687 (descriptionSuitableForTestResult):
688 (FrameLoadDelegate::QueryInterface):
689 (FrameLoadDelegate::didDisplayInsecureContent):
690 (FrameLoadDelegate::didRunInsecureContent):
691 * DumpRenderTree/win/FrameLoadDelegate.h:
693 2009-09-03 Kevin Watters <kevinwatters@gmail.com>
695 Reviewed by Kevin Ollivier.
698 https://bugs.webkit.org/show_bug.cgi?id=19041
702 2009-09-02 David Kilzer <ddkilzer@apple.com>
704 <http://webkit.org/b/28880> svn-apply --force doesn't actually work
706 Reviewed by Eric Seidel.
708 This fixes "svn-apply --force" and adds unit tests for the
709 scm.apply_patch() method which uses this script.
711 * Scripts/svn-apply: Created $globalExitCode variable that
712 defaults to 0. Exit with a value of $globalExitCode when the
714 (applyPatch): Ignore a non-zero $exitCode if $force is true, but
715 set $globalExitCode to $exitCode so that svn-apply exits with a
716 non-zero status if any patches did not apply cleanly. Also
717 print out the actual patch command if $force was not true.
719 * Scripts/modules/scm.py:
720 (scripts_directory): Added. Extracted from script_path().
721 (script_path): Extracted scripts_directory().
722 * Scripts/modules/scm_unittest.py: Import urllib.
723 (SVNTestRepository.setup): Save the original working directory
724 in test_object since this represents the WebKit repository from
725 where the unit tests are run.
726 (SCMTest): Created new super class to hold utility methods.
727 (SCMTest._create_patch): Creates a patch file on disk and a
728 dictionary for use with scm.svn_apply().
729 (SCMTest._setup_webkittools_scripts_symlink): Sets up a symlink
730 back to WebKitTools/Scripts in the test repository so that
731 scm.apply_patch() is able to find the svn-apply script.
732 (SVNTest): Inherit from SCMTest instead of unittest.TestCase.
733 (SVNTest.tearDown): Make sure to change directories back to the
734 original_path before the next test.
735 (SVNTest.test_apply_svn_patch): New test case for applying an
736 svn patch with scm.apply_patch().
737 (SVNTest.test_apply_svn_patch_force): New test case for applying
738 an svn patch with scm.apply_patch() that conflicts.
739 (GitTest): Inherit from SCMTest instead of unittest.TestCase.
740 (GitTest.tearDown): Make sure to change directories back to the
741 original_path before the next test.
742 (GitTest.test_apply_git_patch): New test case for applying a git
743 patch with scm.apply_patch().
744 (GitTest.test_apply_git_patch_force): New test case for applying
745 a git patch with scm.apply_patch() that conflicts.
747 2009-09-02 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
749 Reviewed by Mark Rowe.
751 [Qt] Add support for platform-spesific layout-test results
753 For the Qt port we use the qt-[mac|linux|win] directories and then fall
754 back to the generic qt directory for both test results and skipped list.
756 * Scripts/run-webkit-tests:
757 * Scripts/webkitdirs.pm:
759 2009-09-02 Laurent Cerveau <lcerveau@me.com>
761 Reviewed by David Kilzer.
763 <http://webkit.org/b/25517> build-webkit script should print build time at end
765 * Scripts/build-webkit:
766 Added startTime and endTime variable so that the build time is computed and printed as
767 part of the build message; display formatting has been separated in a dedicated subroutine.
769 2009-09-02 David Kilzer <ddkilzer@apple.com>
771 <http://webkit.org/b/28881> svn-create-patch should check if the repo path is the same when trying to find the root
773 Reviewed by Eric Seidel.
775 * Scripts/VCSUtils.pm:
776 (determineSvnRoot): Added back check for repository root that
777 was removed in r46134 when this code lived in svn-create-patch.
778 It's necessary to check both the repository root and the
779 repository UUID in case two different working directories are
780 checked out from the same repository.
782 2009-09-02 Timothy Hatcher <timothy@apple.com>
784 Use new 512x512 icons for nightly builds.
786 Rubber-stamped by Mark Rowe.
788 * WebKitLauncher/webkit.icns:
790 2009-09-02 Kevin Ollivier <kevino@theolliviers.com>
792 waf build fix. Remove local variable shadowing global.
794 * wx/build/settings.py:
796 2009-09-02 Zan Dobersek <zandobersek@gmail.com>
798 Reviewed by David Kilzer.
800 Calls exitStatus function from the main package where it is also defined.
802 * Scripts/VCSUtils.pm:
804 2009-09-02 Kevin Ollivier <kevino@theolliviers.com>
806 waf build fixes for Windows/MSVC and Mac/Snow Leopard.
808 * wx/browser/wscript:
809 * wx/build/build_utils.py:
810 * wx/build/settings.py:
812 2009-08-10 Kevin Ollivier <kevino@theolliviers.com>
814 Reviewed by Eric Seidel.
816 Changes needed for build-webkit to support the waf build system for the wx port.
818 https://bugs.webkit.org/show_bug.cgi?id=27619
820 * Scripts/build-webkit:
821 * Scripts/run-launcher:
822 * Scripts/webkitdirs.pm:
824 2009-09-02 David Kilzer <ddkilzer@apple.com>
826 <http://webkit.org/b/27168> With Subversion 1.6, update-webkit prompts on conflicts
828 Reviewed by Eric Seidel.
830 * Scripts/update-webkit: Added "--accept postpone" to
831 @svnOptions when running with svn-1.6 or newer.
833 2009-09-02 David Kilzer <ddkilzer@apple.com>
835 Moved svn 1.6 version check into VCSUtils::isSVNVersion16OrNewer()
837 Reviewed by Eric Seidel.
839 * Scripts/VCSUtils.pm:
840 (@EXPORT): Added &isSVNVersion16OrNewer.
841 (svnVersion): Added. Internal method that gets the SVN version
843 (isSVNVersion16OrNewer): Added. Method that does the SVN 1.6
845 * Scripts/prepare-ChangeLog: Switched to use new
846 isSVNVersion16OrNewer() method.
847 * Scripts/resolve-ChangeLogs: Ditto.
848 * Scripts/svn-create-patch: Ditto.
850 2009-09-02 David Kilzer <ddkilzer@apple.com>
854 Reviewed by Eric Seidel.
856 * Scripts/VCSUtils.pm: Added proper package statement. Fixed
857 indentation of BEGIN block. Listed each exported method on a
858 line by itself. Added methods to the export list after adding
859 the package statement. Sorted module variables. Moved
860 definiton of $gitRoot next to other module variables.
862 2009-09-01 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
864 Rubber-stamped by Simon Hausmann.
866 [Qt] Fix layout-test plugins/plugin-javascript-access.html
868 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
870 2009-09-02 Shinichiro Hamaji <hamaji@chromium.org>
872 Reviewed by Eric Seidel.
874 js tests should move into jstests subdirectory instead of resources/
875 https://bugs.webkit.org/show_bug.cgi?id=25880
877 make-script-wrappers supports both resources and script-tests directories.
878 run-webkit-tests ignores files in script-tests.
879 Move script tests of animations to check the new script is working.
881 * Scripts/make-script-test-wrappers:
882 * Scripts/run-webkit-tests:
884 2009-09-02 Szabo Carol <carol.szabo@nokia.com>
886 Reviewed by David Levin.
888 check-webkit-style uses python from /usr/bin instead of the PATH
889 https://bugs.webkit.org/show_bug.cgi?id=28225
891 * Scripts/bugzilla-tool:
892 * Scripts/check-webkit-style:
893 * Scripts/run-webkit-unittests:
894 * Scripts/update-sources-list.py:
895 Changed the first line from
898 #!/usr/bin/env python
899 which causes python to be invoked from the path location returned
900 by "which python" when any of these scripts are launched.
901 these are currently all the python scripts in WebKitTools/Scripts.
903 2009-09-01 David Kilzer <ddkilzer@apple.com>
905 <http://webkit.org/b/28601> bugzilla-tool post-commits posts commits backwards
907 Reviewed by Adam Barth.
909 * Scripts/modules/scm.py:
910 (Git.commit_ids_from_commitish_arguments): Reverse the list of
911 commits returned from git-rev-list since we always want to post
912 the oldest patches first to bugs.webkit.org.
913 * Scripts/modules/scm_unittest.py:
914 (run): Added return statement to return the output now that we
916 (SVNTestRepository._setup_test_commits): Added a fourth commit
917 so the GitTest.test_commitish_order() test has more commits to
919 (GitTest.test_commitish_order): Added unit test for change to
920 Git.commit_ids_from_commitish_arguments() in scm.py.
922 2009-09-01 David Kilzer <ddkilzer@apple.com>
924 <http://webkit.org/b/28877> Implement bugzilla-tool mark-fixed
926 Reviewed by David Levin.
928 The mark-fixed subcommand is for those times when you don't use
929 bugzilla-tool to commit a patch, but you want to use it to close
930 the bug with a committed-revision message.
932 * Scripts/bugzilla-tool:
933 (bug_comment_from_svn_revision): Added. Extracted from
934 bug_comment_from_commit_text().
935 (bug_comment_from_commit_text): Extracted
936 bug_comment_from_svn_revision() from this method.
937 (MarkBugFixed.__init__): Added.
938 (MarkBugFixed._fetch_commit_log): Added. Retrieves the commit
939 log from the last commit if no svn revision is specified, else
940 the commit log for the specified svn revision.
941 (MarkBugFixed._determine_bug_id_and_svn_revision): Added.
942 Attempts to determine the bug id and svn revision if one or both
943 were not defined on the command line.
944 (MarkBugFixed.execute): Added. Adds a comment about the
945 revision that fixed the bug and closes the bug.
946 (BugzillaTool.__init__): Added mark-fixed subcommand.
947 * Scripts/modules/bugzilla.py:
948 (Bugzilla.fetch_title_from_bug): Added. Returns the title of a
950 * Scripts/modules/scm.py:
951 (SCM.strip_r_from_svn_revision): Added. Utility method to strip
952 the leading 'r' from an svn revision.
953 (SCM.svn_commit_log): Added. Subclasses must override.
954 (SCM.last_svn_commit_log): Added. Subclasses must override.
955 (SVN.svn_commit_log): Added. Returns svn log for a given
957 (SVN.last_svn_commit_log): Added. Uses svnversion to find the
958 last commit in an svn working directory and then runs svn log.
959 (Git.svn_commit_log): Added. Returns svn log for a given
961 (Git.last_svn_commit_log): Added. Runs git-svn-log with a limit
964 2009-09-01 David Kilzer <ddkilzer@apple.com>
966 <http://webkit.org/b/28880> svn-apply --force doesn't actually work
968 Reviewed by Brady Eidson.
971 (applyPatch): Add "--force" to $options arrayref if $force is
974 2009-09-01 David Kilzer <ddkilzer@apple.com>
976 <http://webkit.org/b/28725> resolve-ChangeLogs: determineVCSRoot() returns incorrect repository root during git filter-branch
978 Reviewed by Adam Roben.
980 When git-filter-branch has been invoked to rewrite ChangeLog
981 files on series of git commits, it changes directories into
982 .git-rewrite/t before re-running resolve-ChangeLogs. This
983 causes determineVCSRoot() in VCSUtils.pm to return
984 ".git-rewrite/t", which causes that path to be prepended to all
985 ChangeLog paths, which results in an error like this:
987 error: pathspec '.git-rewrite/t/ChangeLog' did not match any file(s) known to git.
988 Died at WebKitTools/Scripts/resolve-ChangeLogs line 376.
990 The correct way to fix this is not to try to find the repository
991 root when invoked by git-filter-branch.
993 * Scripts/resolve-ChangeLogs: If isInGitFilterBranch() is true,
994 set $relativePath to '.' instead of calling
995 chdirReturningRelativePath(determineVCSRoot()).
996 (isInGitFilterBranch): Added. Checks for the existence of the
997 MAPPED_PREVIOUS_COMMIT environment variable.
999 2009-09-01 Xan Lopez <xlopez@igalia.com>
1001 Reviewed by Gustavo Noronha.
1003 Add support for Fedora distros in the http tests
1004 https://bugs.webkit.org/show_bug.cgi?id=28263
1006 Add detection code for Fedora distribution, and use the proper
1007 httpd conf file when needed.
1009 * Scripts/run-webkit-httpd:
1010 * Scripts/run-webkit-tests:
1011 * Scripts/webkitdirs.pm:
1013 2009-09-01 Jan Michael Alonzo <jmalonzo@webkit.org>
1015 Reviewed by Eric Seidel.
1017 [Gtk] DRT needs implementation of overridePreference
1018 https://bugs.webkit.org/show_bug.cgi?id=28830
1020 Implement overridePreference.
1022 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1023 (resetDefaultsToConsistentValues):
1024 (setDefaultsToConsistentStateValuesForTesting):
1026 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1028 (LayoutTestController::overridePreference):
1030 2009-09-01 Joseph Pecoraro <joepeck@webkit.org>
1032 <http://webkit.org/b/28623> svn-[un]apply should change directories to the repository root before [un]applying
1034 Reviewed by Eric Seidel.
1036 Jump back and forth between the repository root directory (to apply) and the
1037 directory the script was run from (to find the patch).
1039 * Scripts/svn-apply:
1040 * Scripts/svn-unapply:
1042 2009-08-31 Adam Roben <aroben@apple.com>
1044 Fall back to a Release version of Safari if a Debug one doesn't exist
1046 <http://webkit.org/b/28849>
1048 Reviewed by Sam Weinig.
1050 * Scripts/webkitdirs.pm:
1051 (safariPath): If the user is working with a Debug build, but there's
1052 no Debug version of Safari present, fall back to using a Release
1055 2009-08-31 Adam Roben <aroben@apple.com>
1057 Make safariPath() work for Debug builds of Safari on Windows
1059 <http://webkit.org/b/28849>
1061 Reviewed by Sam Weinig.
1063 * Scripts/webkitdirs.pm:
1064 (safariPath): If the user is working with a Debug build, add the
1065 _debug suffix to Safari.exe.
1067 2009-08-28 Eric Seidel <eric@webkit.org>
1069 Reviewed by Adam Barth.
1071 commit-queue needs a master process
1072 https://bugs.webkit.org/show_bug.cgi?id=28040
1074 Add a bugzilla-tool commit-queue command
1075 Keeps per-bug logs, but doesn't yet upload them anywhere.
1077 * Scripts/bugzilla-tool: Add LandPatchesFromCommitQueue to handle 'commit-queue'
1078 * Scripts/modules/buildbot.py: remove noisy log message
1079 * Scripts/modules/logging.py: add a 'tee()' call for splitting outputs in python
1081 2009-08-28 Jan Michael Alonzo <jmalonzo@webkit.org>
1083 Reviewed by Gustavo Noronha.
1085 [GTK] Geolocation needs permission API before being enabled by default
1087 Build the Gtk port with geolocation enabled. This option is only
1088 enabled for the buildbot. The autotools option will be enabled by
1089 default once the permissions API is implemented.
1091 * Scripts/build-webkit:
1093 2009-08-26 Cameron McCormack <cam@mcc.id.au>
1095 Reviewed by David Kilzer.
1097 Make prepare-ChangeLog notice property changes
1098 https://bugs.webkit.org/show_bug.cgi?id=28675
1100 Make the generated ChangeLog entry include a short description of
1101 property changes if there were such changes. Also make
1102 prepare-ChangeLog not bail if the only changes are property changes.
1104 * Scripts/prepare-ChangeLog:
1106 2009-08-26 Adam Barth <abarth@webkit.org>
1108 Reviewed by Oliver Hunt.
1110 Don't let local files access web URLs
1111 https://bugs.webkit.org/show_bug.cgi?id=28480
1113 A bunch of our LayoutTests rely on our old behavior, so we explicitly
1114 grant local files universal access during testing. Mainly, these tests
1115 involve making XMLHttpRequests for data URLs.
1117 * DumpRenderTree/mac/DumpRenderTree.mm:
1118 (resetDefaultsToConsistentValues):
1119 * DumpRenderTree/qt/DumpRenderTree.cpp:
1120 (WebCore::WebPage::WebPage):
1121 * DumpRenderTree/win/DumpRenderTree.cpp:
1122 (resetDefaultsToConsistentValues):
1124 2009-08-26 John Gregg <johnnyg@google.com>
1126 Reviewed by David Levin.
1128 Minor style correction and include fix for notifications
1129 https://bugs.webkit.org/show_bug.cgi?id=28745
1131 * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
1132 change to correct EnumStyle
1133 (DRTDesktopNotificationPresenter::checkNotificationPermission):
1135 2009-08-26 David Levin <levin@chromium.org>
1137 Reviewed by Alexey Proskuryakov.
1139 XMLHttpRequest.withCredentials=false shouldn't save cookies.
1140 https://bugs.webkit.org/show_bug.cgi?id=28743
1142 Added the support to the layout test controller on OSX and
1143 Windows (for CFNETWORK) to allow for changing the accept cookie
1146 * DumpRenderTree/LayoutTestController.cpp:
1147 (LayoutTestController::LayoutTestController): Added a bool
1148 to track the state of accepting cookies.
1149 (setAlwaysAcceptCookiesCallback): Standard wrapper method
1150 to go from js to a C++ method.
1151 (LayoutTestController::staticFunctions): Added the
1152 setAlwaysAcceptCookies method to the js layoutTestController.
1153 * DumpRenderTree/LayoutTestController.h:
1154 (LayoutTestController::alwaysAcceptCookies): Returns the value.
1155 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1156 (LayoutTestController::setAlwaysAcceptCookies): Stub out method.
1157 * DumpRenderTree/mac/DumpRenderTree.mm:
1158 (resetDefaultsToConsistentValues): Reset the accept cookie to
1160 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1161 (LayoutTestController::setAlwaysAcceptCookies): Does the work for
1162 OSX to change the cookie accept policy.
1163 * DumpRenderTree/win/DumpRenderTree.cpp:
1164 (setAlwaysAcceptCookies): Method to handle all the calls necessary
1165 to change the accept cookie policy on Windows.
1166 (resetDefaultsToConsistentValues): Reset the accept cookie to
1168 * DumpRenderTree/win/DumpRenderTreeWin.h:
1169 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1170 (LayoutTestController::setAlwaysAcceptCookies): Stub out method.
1171 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1172 (LayoutTestController::setAlwaysAcceptCookies): Stub out method.
1174 2009-08-26 Dimitri Glazkov <dglazkov@chromium.org>
1178 Remove accidentally left in clobber option.
1179 https://bugs.webkit.org/show_bug.cgi?id=28400
1181 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Removed clobber option.
1183 2009-08-26 Dimitri Glazkov <dglazkov@chromium.org>
1185 Reviewed by Mark Rowe.
1187 Add canary-style Chromium WebKit build slave to the waterfall.
1188 https://bugs.webkit.org/show_bug.cgi?id=28400
1190 * BuildSlaveSupport/build.webkit.org-config/config.json: Added one Chromium/Windows slave
1191 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added support for Chromium slave commands.
1193 2009-08-25 Cameron McCormack <cam@mcc.id.au>
1195 Reviewed by Darin Adler.
1197 make-script-test-wrappers should be executable
1198 https://bugs.webkit.org/show_bug.cgi?id=28669
1200 Make make-script-test-wrappers and update-sources-list.py both be
1203 * Scripts/update-sources-list.py:
1204 * Scripts/make-script-test-wrappers:
1206 2009-08-25 Brent Fulgham <bfulgham@webkit.org>
1210 Revise Debug_Cairo targets to point inherit from the
1211 debug_wincairo.vsprops property sheet so that they link
1212 against the proper libraries in Debug build.
1214 * DumpRenderTree/win/DumpRenderTree.vcproj:
1215 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1216 * WinLauncher/WinLauncher.vcproj:
1218 2009-08-25 David Levin <levin@chromium.org>
1220 Reviewed by Adam Roben.
1222 PLATFORM(CFNETWORK) should be USE(CFNETWORK).
1223 https://bugs.webkit.org/show_bug.cgi?id=28713
1225 * DumpRenderTree/win/DumpRenderTree.cpp:
1228 2009-08-25 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1230 Reviewed by Ariya Hidayat.
1232 [Qt/Mac] Use CONFIG+=build_all only when building libraries
1234 If no configuration is specified when building WebKit we pass the
1235 debug_and_release option to QMake which results in Makefiles for
1236 both configurations being generated.
1238 Previously we built both of these configurations by default, for
1239 all targets (both the QtWebKit framework/dyldlib and the various
1240 executables such as QtLauncher and tests). This makes sense for
1241 the libraries, which get the _debug suffix and can be loaded on
1242 demand by setting the DYLD_IMAGE_SUFFIX, but for executables we
1243 ended up building the same executable twice.
1245 We now only build one instance of each executable, and since this
1246 is a developer build we build the debug-version. Passing either
1247 --debug or --release to build-webkit will override this, and
1248 even in the default case the release version can still be built
1249 by running 'make release' in the the build directory of each
1252 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
1253 * Scripts/webkitdirs.pm:
1255 2009-08-24 Hironori Bono <hbono@chromium.org>
1257 Reviewed by Adam Barth.
1259 Fix Bug 27827 "[Chromium] Functions Keys don't work in google spreadsheet".
1260 <https://bugs.webkit.org/show_bug.cgi?id=27827>.
1262 Because of the lack of mappings from GDK key-codes to WebKit key-codes,
1263 Chromium cannot send valid key-codes to JavaScript when a user types
1264 function keys. This change just copies the mappings from 'KeyEventGtk.cpp'.
1266 To write layout tests for this issue, added mappings from function-key
1267 names to platform-specific key-codes to EventSendingController objects
1268 so that eventSender.keyDown() can send function-key events without using
1269 platform-specific key codes. (Unfortunately, this eventSender.keyDown() change
1270 is only for Mac. So this change adds this new test to Skipped tests for other
1271 platforms to prevent this change from crashing the build trees.)
1273 * DumpRenderTree/mac/EventSendingController.mm:
1274 (-[EventSendingController keyDown:withModifiers:]):
1276 2009-08-23 Jan Michael Alonzo <jmalonzo@webkit.org>
1278 Reviewed by Xan Lopez.
1280 [Gtk] API for disabling local file access to web URLs
1281 https://bugs.webkit.org/show_bug.cgi?id=28663
1283 Enable this setting for DRT.
1285 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1286 (resetWebViewToConsistentStateBeforeTesting):
1288 2009-08-22 Adam Barth <abarth@webkit.org>
1290 Revert 47684. We're going to do this later once clients have had a
1291 chance to opt into the setting they like.
1293 * DumpRenderTree/mac/DumpRenderTree.mm:
1294 (resetDefaultsToConsistentValues):
1295 * DumpRenderTree/qt/DumpRenderTree.cpp:
1296 (WebCore::WebPage::WebPage):
1297 * DumpRenderTree/win/DumpRenderTree.cpp:
1298 (resetDefaultsToConsistentValues):
1300 2009-08-22 Adam Barth <abarth@webkit.org>
1302 Reviewed by Eric Seidel.
1304 Don't let local files access web URLs
1305 https://bugs.webkit.org/show_bug.cgi?id=28480
1307 A bunch of our LayoutTests rely on our old behavior, so we explicitly
1308 grant local files universal access during testing. Mainly, these tests
1309 involve making XMLHttpRequests for data URLs.
1311 * DumpRenderTree/mac/DumpRenderTree.mm:
1312 (resetDefaultsToConsistentValues):
1313 * DumpRenderTree/qt/DumpRenderTree.cpp:
1314 (WebCore::WebPage::WebPage):
1315 * DumpRenderTree/win/DumpRenderTree.cpp:
1316 (resetDefaultsToConsistentValues):
1318 2009-08-22 Mark Rowe <mrowe@apple.com>
1320 Rubber-stamped by Anders Carlsson.
1322 Bring signed updates to the Mac nightly builds.
1324 * WebKitLauncher/Info.plist:
1325 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1326 * WebKitLauncher/WebKitNightlyEnablerSparkle.m:
1327 (initializeSparkle):
1328 * WebKitLauncher/nightly.webkit.org.public.pem: Added.
1330 2009-08-21 Jan Michael Alonzo <jmalonzo@webkit.org>
1332 Rubberstamped by Simon Fraser.
1334 Remove GNOME keyring support in build-webkit. This dependency's
1335 already been removed in the Gtk port.
1337 * Scripts/build-webkit:
1339 2009-08-20 Brian Weinstein <bweinstein@apple.com>
1341 Reviewed by Adam Roben.
1342 Based on original patch by Stephanie Lewis.
1344 Added support of the Windows malloc history format to parse-malloc history, so we can
1347 * Scripts/parse-malloc-history:
1349 2009-08-20 Chris Fleizach <cfleizach@apple.com>
1351 Reviewed by Darin Adler.
1353 Enable various "grouping" ARIA roles
1354 https://bugs.webkit.org/show_bug.cgi?id=28486
1356 Expose the ability to retrieve the subrole through accessibility for DRT.
1358 * DumpRenderTree/AccessibilityUIElement.cpp:
1359 * DumpRenderTree/AccessibilityUIElement.h:
1360 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
1361 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1362 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1364 2009-08-20 Joseph Pecoraro <joepeck@webkit.org>
1368 Added myself as a committer.
1370 * Scripts/modules/committers.py:
1372 2009-08-20 Xan Lopez <xlopez@igalia.com>
1374 Reviewed by Gustavo Noronha.
1378 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1379 (LayoutTestController::whiteListAccessFromOrigin):
1380 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1381 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1383 2009-08-20 Eric Seidel <eric@webkit.org>
1385 Reviewed by Adam Barth.
1387 bugzilla-tool post-diff can post partial diffs from SVN checkouts.
1388 https://bugs.webkit.org/show_bug.cgi?id=28445
1390 Pass the checkout root as the cwd. Also wrote a test to ensure this.
1392 * Scripts/modules/scm.py:
1393 * Scripts/modules/scm_unittest.py:
1395 2009-08-20 Mark Rowe <mrowe@apple.com>
1397 Reviewed by Adele Peterson.
1399 Don't leak the JSStringRef returned by AccessibilityUIElement::attributeValue.
1401 * DumpRenderTree/AccessibilityUIElement.cpp:
1402 (attributeValueCallback):
1404 2009-08-20 Ariya Hidayat <ariya.hidayat@nokia.com>
1406 Unreviewed, build fix.
1408 [Qt] The template-based qMax() compares two qreals.
1410 * DumpRenderTree/qt/ImageDiff.cpp:
1413 2009-08-20 David Levin <levin@chromium.org>
1415 Reviewed by David Kilzer.
1417 bugzilla-tool patch retrieval should handle 302 redirects.
1418 https://bugs.webkit.org/show_bug.cgi?id=28485
1420 * Scripts/modules/scm.py: Pass the --location parameter to curl
1421 so that 302's are followed.
1423 2009-08-20 Aaron Boodman <aa@chromium.org>
1425 One more speculative build for gtk.
1427 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1429 2009-08-20 Aaron Boodman <aa@chromium.org>
1431 Speculative build for gtk.
1433 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1434 (LayoutTestController::whiteListAccessFromOrigin):
1436 2009-08-20 Mark Rowe <mrowe@apple.com>
1438 Ignore some leaks that are known to originate from ImageIO.
1440 * Scripts/run-webkit-tests:
1442 2009-08-20 Aaron Boodman <aa@chromium.org>
1446 Speculative build fix for qt.
1448 * DumpRenderTree/qt/jsobjects.cpp:
1449 (LayoutTestController::whiteListAccessFromOrigin):
1450 * DumpRenderTree/qt/jsobjects.h:
1452 2009-08-19 Mark Rowe <mrowe@apple.com>
1454 Reviewed by Dan Bernstein.
1456 Fix <http://webkit.org/b/28484> Plug-in-related leaks seen on the build bot
1458 Update check-for-global-initializers to accommodate the new uses of RefCountedLeakCounter in WebKit.
1460 * Scripts/check-for-global-initializers:
1462 2009-08-19 Aaron Boodman <aa@chromium.org>
1464 Reviewed by David Levin.
1466 https://bugs.webkit.org/show_bug.cgi?id=24853: Provide a way for WebKit clients to
1467 specify a more granular policy for cross-origin XHR access.
1469 * DumpRenderTree/LayoutTestController.cpp: Expose whiteListAccessFromOrigin() to layout tests.
1470 (whiteListAccessFromOriginCallback): Ditto.
1471 (LayoutTestController::staticFunctions): Ditto.
1472 * DumpRenderTree/LayoutTestController.h: Ditto.
1473 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Ditto.
1474 (LayoutTestController::whiteListAccessToOrigin): Ditto.
1475 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Ditto.
1476 (LayoutTestController::whiteListAccessFromOrigin): Ditto.
1477 * DumpRenderTree/qt/jsobjects.cpp: Ditto.
1478 (LayoutTestController::whiteListAccessFromOrigin): Ditto.
1479 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Stub out whiteListAccessFromOrigin().
1480 (LayoutTestController::whiteListAccessFromOrigin): Ditto.
1481 * DumpRenderTree/gtk/DumpRenderTree.cpp: Reset origin access lists before each test.
1482 (resetWebViewToConsistentStateBeforeTesting): Ditto.
1483 * DumpRenderTree/mac/DumpRenderTree.mm: Ditto.
1484 (resetWebViewToConsistentStateBeforeTesting): Ditto.
1485 * DumpRenderTree/qt/DumpRenderTree.cpp: Ditto.
1486 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): Ditto.
1488 2009-08-19 Mark Rowe <mrowe@apple.com>
1490 Rubber-stamped by Dan Bernstein.
1492 Ignore some leaks that are known to originate from QTKit.
1494 * Scripts/run-webkit-tests:
1496 2009-08-19 Eric Seidel <eric@webkit.org>
1498 Reviewed by Adam Barth.
1500 commit-queue/bugzilla-tool can get wedged if git is mid-rebase
1501 https://bugs.webkit.org/show_bug.cgi?id=28436
1503 Make clean_working_directory cancel rebases too (even though that's a bit of a hack).
1504 This code will only ever be run when --force-clean is passed.
1506 I also added a new unit test to make sure this code actually works. :)
1508 * Scripts/modules/scm.py:
1509 * Scripts/modules/scm_unittest.py:
1511 2009-08-19 Eric Seidel <eric@webkit.org>
1513 Reviewed by David Levin.
1515 WebKit needs a changelogs.py to hold changelog-related code
1516 https://bugs.webkit.org/show_bug.cgi?id=28477
1518 This is moving code and adding tests. There was only one functional
1519 change (which was removing a trailing newline from the last_entry() result).
1521 * Scripts/bugzilla-tool:
1522 * Scripts/modules/changelogs.py: Added.
1523 * Scripts/modules/changelogs_unittest.py: Added.
1524 * Scripts/run-webkit-unittests:
1526 2009-08-20 Eric Seidel <eric@webkit.org>
1528 Reviewed by Adam Barth.
1530 bugzilla-tool needs a way to ask build.webkit.org if the bots are passing
1531 https://bugs.webkit.org/show_bug.cgi?id=28222
1533 Basic support for now. This has been in testing for 24 hours now and worked great!
1535 * Scripts/bugzilla-tool:
1536 * Scripts/modules/buildbot.py: Added.
1537 * Scripts/modules/buildbot_unittest.py: Added.
1538 * Scripts/run-webkit-unittests:
1540 2009-08-19 Jan Michael Alonzo <jmalonzo@webkit.org>
1542 Reviewed by Gustavo Noronha.
1544 [Gtk] Bump waitToDumpWatchdog interval to 15 seconds to match the
1545 default timeout used by run-webkit-tests. Mac and Win ports were
1546 recently bumped in http://trac.webkit.org/changeset/r47465.
1548 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1549 (LayoutTestController::setWaitToDump):
1551 2009-08-19 David D. Kilzer <ddkilzer@webkit.org>
1553 DumpRenderTreeSupport.pm: provide pre-generated swig source for Tiger
1555 Reviewed by Mark Rowe.
1557 Provide pre-generated swig source files for Tiger so it may
1558 benefit from the faster run-webkit-tests.
1560 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupportTiger.pm:
1562 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport_wrapTiger.c: Added.
1564 (swig_type_info::SWIG_TypeNameComp):
1565 (swig_type_info::SWIG_TypeEquiv):
1566 (swig_type_info::SWIG_TypeRegisterTL):
1567 (swig_type_info::SWIG_TypeCheck):
1568 (swig_type_info::SWIG_TypeCast):
1569 (swig_type_info::SWIG_TypeDynamicCast):
1570 (swig_type_info::SWIG_TypeName):
1571 (swig_type_info::SWIG_TypePrettyName):
1572 (swig_type_info::SWIG_TypeQueryTL):
1573 (swig_type_info::SWIG_TypeClientDataTL):
1574 (swig_type_info::SWIG_PackData):
1575 (swig_type_info::SWIG_UnpackData):
1576 (swig_type_info::SWIG_PropagateClientDataTL):
1577 (swig_type_info::SWIG_PackVoidPtr):
1578 (swig_type_info::SWIG_UnpackVoidPtr):
1579 (swig_type_info::SWIG_PackDataName):
1580 (swig_type_info::SWIG_UnpackDataName):
1581 * DumpRenderTree/mac/PerlSupport/Makefile: Updated to build on
1582 Tiger using pre-generated files.
1584 2009-08-18 Shinichiro Hamaji <hamaji@chromium.org>
1586 Reviewed by David Kilzer.
1588 run-webkit-tests hangs when WebCore tries to log too much
1589 https://bugs.webkit.org/show_bug.cgi?id=15743
1591 Read stdout and stderr in parallel.
1593 * Scripts/run-webkit-tests:
1595 2009-08-18 Mark Rowe <mrowe@apple.com>
1597 Rubber-stamped by Oliver Hunt.
1599 Add a new build configuration that checks for leaks during the layout tests,
1600 and hook a new machine up to it.
1602 * BuildSlaveSupport/build.webkit.org-config/config.json:
1603 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1605 2009-08-18 Aaron Boodman <aa@chromium.org>
1607 Reviewed by Maciej Stachowiak.
1609 https://bugs.webkit.org/show_bug.cgi?id=28412: Leak of WebCore::XMLHttpRequest object during layout tests.
1611 No new tests: Already covered by existing tests.
1613 * Scripts/check-for-global-initializers: Allow global initialization of WTF::RefCountedLeakCounter for XMLHttpRequest.
1615 2009-08-18 Mark Rowe <mrowe@apple.com>
1617 Rubber-stamped by Geoff Garen.
1619 Bump waitToDumpWatchdogInterval to 15 seconds to match the time-out used by run-webkit-tests.
1621 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1622 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1624 2009-08-18 Brian Weinstein <bweinstein@apple.com>
1626 Rubber-stamped by Adam Roben.
1628 Changed use of CComBSTR in exceededDatabaseQuota to BSTRs, and free them,
1629 and removed include to fix building on VC++ Express.
1631 * DumpRenderTree/win/UIDelegate.cpp:
1632 (UIDelegate::exceededDatabaseQuota):
1634 2009-08-18 Brian Weinstein <bweinstein@apple.com>
1636 Reviewed by Oliver Hunt.
1638 Fix of <https://bugs.webkit.org/show_bug.cgi?id=28326> DRT on Windows doesn't support
1639 LayoutTestController::setQuota or print a callback on UIDelegate::exceededDatabaseQuota.
1641 Implemenent setDatabaseQuota and added a new function to the IWebDatabaseManager interface.
1642 Also added a console output on UIDelegate::exceededDatabaseQuota to match the mac.
1644 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1645 (LayoutTestController::setDatabaseQuota):
1646 * DumpRenderTree/win/UIDelegate.cpp:
1647 (UIDelegate::exceededDatabaseQuota):
1649 2009-08-18 Peter Kasting <pkasting@google.com>
1651 Reviewed by Eric Seidel.
1653 https://bugs.webkit.org/show_bug.cgi?id=28415
1654 Set svn:eol-style CRLF on all .sln and .vcproj files that don't already
1657 * record-memory-win/record-memory-win.vcproj:
1658 * WinLauncher/WinLauncher.vcproj:
1659 * WebKitLauncherWin/WebKitLauncherWin.vcproj:
1660 * DumpRenderTree/win/ImageDiff.vcproj:
1661 * FindSafari/FindSafari.vcproj:
1663 2009-08-18 Drew Wilson <atwilson@google.com>
1665 Reviewed by Eric Seidel.
1667 Need to extend DumpRenderTree to expose number of worker threads
1668 https://bugs.webkit.org/show_bug.cgi?id=28292
1670 Added layoutTestController.workerThreadCount, and implementations on various platforms that call into WebKit.
1672 * DumpRenderTree/LayoutTestController.cpp:
1673 (getWorkerThreadCountCallback):
1674 (LayoutTestController::staticValues):
1675 * DumpRenderTree/LayoutTestController.h:
1676 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1677 (LayoutTestController::workerThreadCount):
1678 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1679 (LayoutTestController::workerThreadCount):
1680 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1681 (LayoutTestController::workerThreadCount):
1682 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1683 (LayoutTestController::workerThreadCount):
1685 2009-08-18 Xan Lopez <xlopez@igalia.com>
1687 Reviewed by Jan Alonzo.
1689 Initialize x and y in the GtkAllocation structure to shut up
1692 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1695 2009-08-17 Shinichiro Hamaji <hamaji@chromium.org>
1697 Reviewed by Darin Adler.
1699 Some HTMLs are modified by make-script-test-wrappers
1700 https://bugs.webkit.org/show_bug.cgi?id=28213
1702 Add fast/js/const.js and fast/canvas/canvas-2d-imageData-create-nonfinite.js into
1703 the exclude list, modified fast/dom/Geolocation/resources/TEMPLATE.html, and
1704 re-generated wml/* and Geolocation/* .
1706 * Scripts/make-script-test-wrappers:
1708 2009-08-17 Shinichiro Hamaji <hamaji@chromium.org>
1710 Reviewed by Eric Seidel.
1712 -webkit-box-orient:horizontal doesn't work on <button> tag
1713 https://bugs.webkit.org/show_bug.cgi?id=34445
1715 Make a flexible button's anonymous child flexible and pass the
1716 parent's box-orient to the anonymous child.
1718 Also, added a renderName for anonymous flexible boxes.
1720 * Scripts/make-script-test-wrappers:
1722 2009-08-17 Eric Seidel <eric@webkit.org>
1724 Reviewed by Darin Adler.
1726 Can no longer --reset-results of a layout test directory
1727 https://bugs.webkit.org/show_bug.cgi?id=28336
1729 --reset-results and --exit-after-n-failures are incompatible.
1731 * Scripts/run-webkit-tests:
1733 2009-08-17 David Kilzer <ddkilzer@apple.com>
1735 <http://webkit.org/b/26920> bugzilla-tool dumps too much junk the the commit comment from git
1737 Reviewed by Adam Roben.
1740 Committed r12345: <http://trac.webkit.org/changeset/12345>
1742 * Scripts/bugzilla-tool:
1743 (bug_comment_from_commit_text): Print out a compact,
1744 standardized commit message for both git and svn.
1746 2009-08-17 Peter Kasting <pkasting@google.com>
1748 Reviewed by Steve Falkenburg.
1750 https://bugs.webkit.org/show_bug.cgi?id=27323
1751 Only add Cygwin to the path when it isn't already there. This avoids
1752 causing problems for people who purposefully have non-Cygwin versions of
1753 executables like svn in front of the Cygwin ones in their paths.
1755 * DumpRenderTree/win/DumpRenderTree.vcproj:
1756 * DumpRenderTree/win/ImageDiff.vcproj:
1757 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1759 2009-08-17 David Kilzer <ddkilzer@apple.com>
1761 <http://webkit.org/b/28393> check-webkit-style: add check for use of std::max()/std::min() instead of MAX()/MIN()
1763 Reviewed by David Levin.
1765 * Scripts/modules/cpp_style.py:
1766 (_ERROR_CATEGORIES): Added 'runtime/max_min_macros'.
1767 (check_max_min_macros): Added. Returns level 4 error when MAX()
1768 and MIN() macros are used in header files and C++ source files.
1769 (check_style): Added call to check_max_min_macros().
1770 * Scripts/modules/cpp_style_unittest.py: Added unit tests.
1771 (test_max_macro): Added.
1772 (test_min_macro): Added.
1774 2009-08-13 Mike Fenton <mike.fenton@torchmobile.com>
1776 Reviewed by Eric Seidel.
1778 Move adjustLineToPixelBoundaries overlapping function to GraphicsContext.cpp
1779 and remove from GraphicsContextCairo.cpp and GraphicsContextQt.cpp.
1781 https://bugs.webkit.org/show_bug.cgi?id=28268
1783 * platform/graphics/GraphicsContext.cpp:
1784 (WebCore::GraphicsContext::adjustLineToPixelBoundaries):
1785 * platform/graphics/GraphicsContext.h:
1786 * platform/graphics/cairo/GraphicsContextCairo.cpp:
1787 * platform/graphics/qt/GraphicsContextQt.cpp:
1789 2009-08-10 Mike Fenton <mike.fenton@torchmobile.com>
1791 Reviewed by Adam Treat.
1793 Style fixes for DumpRenderTree/qt/jsobjects.cpp based on cpp_style.py and
1796 https://bugs.webkit.org/show_bug.cgi?id=28161
1798 * DumpRenderTree/qt/jsobjects.cpp:
1801 (LayoutTestController::provisionalLoad):
1802 (LayoutTestController::timerEvent):
1803 (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1804 (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1805 (LayoutTestController::numberOfActiveAnimations):
1806 (EventSender::keyDown):
1807 (EventSender::frameUnderMouse):
1808 (TextInputController::doCommand):
1810 2009-08-16 David Kilzer <ddkilzer@apple.com>
1812 <http://webkit.org/b/28370> check-webkit-style: add check for 'using std::foo;' statements
1814 Reviewed by David Levin.
1816 In <http://webkit.org/b/28355#c1>, it was noted that new source
1817 files use 'using namespace std;' instead of individual
1818 'using std::foo;' statements. This adds a level 4 check for
1821 * Scripts/modules/cpp_style.py:
1822 (_ERROR_CATEGORIES): Added 'build/using_std'.
1823 (check_using_std): Added.
1824 (check_style): Added call to check_using_std().
1825 * Scripts/modules/cpp_style_unittest.py:
1826 (WebKitStyleTest.test_using_std): Added unit test.
1828 2009-08-16 David Kilzer <ddkilzer@apple.com>
1830 Backed out r47343 which was mistakenly committed
1832 * Scripts/bugzilla-tool:
1833 * Scripts/modules/scm.py:
1835 2009-08-16 David Kilzer <ddkilzer@apple.com>
1837 <http://webkit.org/b/28367> bugzilla.py: replace ScriptError class with BugzillaError class
1839 Reviewed by David Levin.
1841 The ScriptError class doesn't exist in bugzilla.py, so any
1842 errors print error messages about ScriptError instead of the
1845 NameError: global name 'ScriptError' is not defined
1847 * Scripts/modules/bugzilla.py:
1848 (BugzillaError): Added class. Modeled after ScriptError class
1850 (Bugzilla.authenticate): Changed to use BugzillaError instead of
1852 (Bugzilla._check_create_bug_response): Ditto.
1854 2009-08-14 Adam Bergkvist <adam.bergkvist@ericsson.com>
1856 Reviewed by Sam Weinig.
1858 Added EventSource to the build script (default on).
1859 https://bugs.webkit.org/show_bug.cgi?id=14997
1861 * Scripts/build-webkit:
1863 2009-08-15 Ryosuke Niwa <rniwa@webkit.org>
1867 Add myself to list of committers.
1869 * Scripts/modules/committers.py:
1871 2009-08-15 Jon Honeycutt <jhoneycutt@apple.com>
1873 Fix layout test failures after r47312.
1875 Reviewed by Cameron Zwarich.
1877 * DumpRenderTree/AccessibilityController.h:
1878 Replaced logFocusEvents() with setLogFocusEvents(), which takes a
1879 boolean argument to turn logging of focus events on or off.
1880 Added a function to reset the AccessibilityController to a consistent
1883 * DumpRenderTree/AccessibilityController.cpp:
1884 (logFocusEventsCallback):
1885 Call setLogFocusEvents() to enable logging.
1886 (AccessibilityController::resetToConsistentState):
1887 Call setLogFocusEvents() to disable logging.
1889 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
1890 (AccessibilityController::setLogFocusEvents):
1893 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1894 (AccessibilityController::setLogFocusEvents):
1897 * DumpRenderTree/mac/DumpRenderTree.mm:
1898 (resetWebViewToConsistentStateBeforeTesting):
1899 Call the FrameLoadDelegate's resetToConsistentState method.
1901 * DumpRenderTree/mac/FrameLoadDelegate.h:
1902 Declare the resetToConsistentState method.
1904 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1905 (-[FrameLoadDelegate resetToConsistentState]):
1906 Call the AccessibilityController's resetToConsistentState() function.
1908 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
1909 (AccessibilityController::~AccessibilityController):
1910 Turn off focus event logging when the controller is destroyed.
1911 (AccessibilityController::setLogFocusEvents):
1912 If the caller passes false, unhook the focus event, and clear
1915 * DumpRenderTree/win/DumpRenderTree.cpp:
1916 (resetWebViewToConsistentStateBeforeTesting):
1917 Call the FrameLoadDelegate's resetToConsistentState function.
1919 * DumpRenderTree/win/FrameLoadDelegate.h:
1920 Declare the resetToConsistentState() function.
1922 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1923 (FrameLoadDelegate::resetToConsistentState):
1924 Call the AccessibilityController's resetToConsistentState() function.
1927 2009-08-14 Jon Honeycutt <jhoneycutt@apple.com>
1929 Add a mechanism for logging MSAA focus events.
1931 Part of <rdar://problem/6218721> No MSAA focus events fired for Webkit
1934 https://bugs.webkit.org/show_bug.cgi?id=20866
1936 Reviewed by Oliver Hunt.
1938 * DumpRenderTree/AccessibilityController.cpp:
1939 (logFocusEventsCallback):
1940 Call the AccessibilityController's logFocusEvents() function.
1941 (AccessibilityController::getJSClass):
1942 Add a "logFocusEvents" function to the AccessibilityController's JS
1945 * DumpRenderTree/AccessibilityController.h:
1946 On Windows, include windows.h, and add a member variable to hold the
1947 handle to the event hook for focus events. Add a declaration for a
1948 function that enables logging of focus events.
1950 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
1951 (AccessibilityController::logFocusEvents):
1954 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1955 (AccessibilityController::logFocusEvents):
1958 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
1959 (AccessibilityController::AccessibilityController):
1960 (AccessibilityController::~AccessibilityController):
1961 If we hooked the focus event, unhook it.
1962 (logFocusEventProc):
1963 When we receive a focus event, get the accessible object for the event,
1964 and log its name to stdout.
1965 (AccessibilityController::logFocusEvents):
1966 Setup the focus event hook to listen for events in the current process.
1968 2009-08-14 Eric Seidel <eric@webkit.org>
1970 No review. Fix 5-space indent to be 4-spaces.
1972 * Scripts/bugzilla-tool:
1974 2009-08-14 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1976 Reviewed by Simon Hausmann.
1978 [Qt] Public API to configure the storage path for HTML5 localStorage
1979 https://bugs.webkit.org/show_bug.cgi?id=28036
1981 Turn on LocalStorage support for Qt DumpRenderTree since
1982 LocalStorage is now disabled by defult for QtWebkit.
1984 * DumpRenderTree/qt/DumpRenderTree.cpp:
1985 (WebCore::WebPage::WebPage):
1987 2009-08-14 Xan Lopez <xlopez@igalia.com>
1989 Reviewed by Jan Alonzo.
1991 Do not unref the main webview, it's owned by its parent
1992 container. Instead destroy the container, which should take care
1993 of everything (not terribly important since we exit right after
1996 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1999 2009-08-13 Eric Seidel <eric@webkit.org>
2001 No review, correcting obvious python error seen in the commit queue.
2003 args can be a string or an array. Assuming args is always an array results in
2004 double-spaced text in error logs.
2006 * Scripts/bugzilla-tool:
2008 2009-08-13 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2010 Unreviewed build fix. Include stdio.h for using stdout, stderr,
2013 * DumpRenderTree/LayoutTestController.cpp:
2015 2009-08-13 Shinichiro Hamaji <hamaji@chromium.org>
2017 Reviewed by Eric Seidel.
2019 rename make-js-test-wrappers to make-script-test-wrappers
2020 https://bugs.webkit.org/show_bug.cgi?id=28212
2022 * Scripts/make-script-test-wrappers: Renamed from WebKitTools/Scripts/make-js-test-wrappers.
2024 2009-08-13 Drew Wilson <atwilson@chromium.org>
2028 Add myself to list of committers.
2030 * Scripts/modules/committers.py:
2032 2009-08-13 John Sullivan <sullivan@apple.com>
2036 Add myself to list of committers.
2038 * Scripts/modules/committers.py:
2040 2009-08-13 Eric Seidel <eric@webkit.org>
2042 Correct spelling error in file name. No review.
2044 * Scripts/modules/committers_unittest.py: Renamed from WebKitTools/Scripts/modules/commiters_unittest.py.
2045 * Scripts/run-webkit-unittests:
2047 2009-08-13 Eric Seidel <eric@webkit.org>
2049 Reviewed by Simon Fraser.
2051 REGRESSION(r47175): error running run-webkit-tests
2052 https://bugs.webkit.org/show_bug.cgi?id=28261
2054 Fix "Use of uninitialized value in concatenation (.) or string at
2055 WebKitTools/Scripts/run-webkit-tests line 191." by setting
2056 $testsPerDumpTool to 1000 by default.
2058 * Scripts/run-webkit-tests:
2060 2009-08-13 Nate Chapin <japhet@chromium.org>
2064 Add myself to list of committers.
2066 * Scripts/modules/committers.py:
2068 2009-08-13 Brent Fulgham <bfulgham@webkit.org>
2072 Add 'Brent Fulgham' to the committers list.
2074 * Scripts/modules/committers.py:
2076 2009-08-13 Adam Langley <agl@chromium.org>
2078 Review not required.
2080 * Scripts/modules/committers.py:
2081 Adding myself to this list because Eric told me to.
2083 2009-08-13 Greg Bolsinga <bolsinga@apple.com>
2087 Add 'Greg Bolsinga' to the committers list.
2089 * Scripts/modules/committers.py:
2091 2009-08-13 Adam Roben <aroben@apple.com>
2093 Fix off-by-one result comparisons in media tests on Windows Debug
2096 media/video-played.html seems always to time out in Windows Debug
2097 builds. A race condition between media/video-test.js's "hang" timer and
2098 DumpRenderTree's built-in "watchdog" timer was causing results for
2099 media/video-played.html to be printed twice, causing all future media
2100 tests to be compared to the previous test's results.
2102 The fix is to make the watchdog timer got through the same code path
2103 as calling notifyDone manually, so that the results will only get
2104 printed once. A subsequent patch will remove video-test.js's hang
2105 timer entirely, since it is redundant.
2107 Fixes <http://webkit.org/b/28265>.
2109 Reviewed by Mark Rowe.
2111 * DumpRenderTree/LayoutTestController.cpp:
2112 (LayoutTestController::waitToDumpWatchdogTimerFired): Added. Code came
2113 from Gtk/Mac/Win's watchdog timer handlers, but we now call
2114 notifyDone() instead of dump() so that a subsequent call to
2115 notifyDone() won't print the results out again.
2117 * DumpRenderTree/LayoutTestController.h: Added
2118 waitToDumpWatchdogTimerFired.
2120 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2121 (waitToDumpWatchdogFired):
2122 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2123 (waitUntilDoneWatchdogFired):
2124 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2125 (waitUntilDoneWatchdogFired):
2126 Changed to call waitToDumpWatchdogTimerFired.
2128 2009-08-13 Eric Carlson <eric.carlson@apple.com>
2132 Added 'Eric Carlson' to the committers list.
2134 * Scripts/modules/committers.py:
2136 2009-08-13 Dirk Schulze <krit@webkit.org>
2139 Added 'Dirk Schulze' to the committers list.
2141 * Scripts/modules/committers.py:
2143 2009-08-13 Adam Roben <aroben@apple.com>
2145 Enable running testapi in run-javascriptcore-tests on Windows
2147 Fixes <http://webkit.org/b/24856> run-javascriptcore-tests should run
2150 Reviewed by Mark Rowe.
2152 * Scripts/run-javascriptcore-tests: Allow testapi to run if we're in
2153 the AppleWinWebKit configuration.
2155 2009-08-13 Adam Roben <aroben@apple.com>
2157 Re-enable testapi in run-javascriptcore-tests on Mac
2159 This seems to have been mistakenly disabled in r47089.
2161 Rubber-stamped by Mark Rowe.
2163 * Scripts/run-javascriptcore-tests: Removed comment markers that were
2164 preventing running testapi.
2166 2009-08-12 George Staikos <george.staikos@torchmobile.com>
2168 Reviewed by Adam Treat.
2170 Enable WCSS and XHTML-MP flags for build-webkit.
2172 * Scripts/build-webkit:
2174 2009-08-12 David Kilzer <ddkilzer@apple.com>
2176 run-webkit-tests: document --nthly flag in help message
2178 Reviewed by Simon Fraser.
2180 * Scripts/run-webkit-tests: Added --nthly flag to $usage string.
2181 Also noted that -1|--singly implies --nthly 1.
2183 2009-08-12 Eric Seidel <eric@webkit.org>
2185 No review, just fixing mismerged ChangeLogs.
2187 2009-08-12 Eric Seidel <eric@webkit.org>
2189 Reviewed by Mark Rowe.
2191 run-webkit-tests needs a --exit-after-failures=N option
2192 https://bugs.webkit.org/show_bug.cgi?id=28192
2194 Added the option and deployed it to bugzilla-tool.
2196 * Scripts/bugzilla-tool:
2197 * Scripts/run-webkit-tests:
2199 2009-08-11 Eric Seidel <eric@webkit.org>
2201 Reviewed by Mark Rowe.
2203 bugzilla-tool : various improvements for running the commit-queue
2204 https://bugs.webkit.org/show_bug.cgi?id=28199
2206 Make run_and_throw_if_fail silence STDERR as well as STDIN.
2207 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).
2208 Change a few "print" statements to "log" so they appear in the output.
2209 Changed all string + uses to use string formatting instead (this is less error prone as it will automatically convert non-string objects).
2210 Added a little more logging so that --quiet mode is easier to understand.
2211 Changed clear_attachment_review_flag to clear_attachment_flags and made it clear the commit-queue flag as well.
2212 Added the ability for bugzilla-tool to reject patches from the commit-queue when they fail to compile/apply/etc.
2213 Added _find_select_element_for_flag to make the code for finding flag <select> elements clearer.
2214 Made curl call (downloading patch files) quieter.
2216 * Scripts/bugzilla-tool:
2217 * Scripts/modules/bugzilla.py:
2218 * Scripts/modules/scm.py:
2220 2009-08-12 Peter Kasting <pkasting@google.com>
2222 Reviewed by Darin Adler.
2224 https://bugs.webkit.org/show_bug.cgi?id=27323
2225 Change pattern that strips all trailing whitespace to just remove EOL
2226 chars (\r, \n), to make it clear that varying EOL chars is the primary
2227 problem being solved.
2229 * Scripts/prepare-ChangeLog:
2230 * Scripts/resolve-ChangeLogs:
2231 * Scripts/svn-create-patch:
2232 * Scripts/update-webkit:
2234 2009-08-12 Kevin Ollivier <kevino@theolliviers.com>
2236 wx waf build fix, add new directories to the build.
2238 * wx/build/settings.py:
2240 2009-08-11 Adam Roben <aroben@apple.com>
2242 Update DumpRenderTree for IWebUIDelegatePrivate changes
2244 Reviewed by Dave Hyatt.
2246 * DumpRenderTree/win/UIDelegate.h: Updated to match
2247 IWebUIDelegatePrivate.
2249 2009-08-12 Adam Roben <aroben@apple.com>
2251 Don't try to seek to the end of stdin on Cygwin
2253 Doing so seems to always cause an exception (for unknown reasons).
2255 Fixes <http://webkit.org/b/28159> create-bug throws an exception in
2258 Reviewed by Dave Kilzer.
2260 * Scripts/bugzilla-tool:
2261 (CreateBug.prompt_for_bug_title_and_comments): Ignore IOErrors
2262 generated by calling sys.stdin.seek, since these seem to be generated
2263 for no good reason on Cygwin.
2265 2009-08-12 Adam Roben <aroben@apple.com>
2267 Don't raise an exception when --cc is not passed to create-bug
2269 Fixes <http://webkit.org/b/28158> create-bug throws an exception if
2270 --cc is not specified
2272 Reviewed by Dave Kilzer.
2274 * Scripts/modules/bugzilla.py:
2275 (Bugzilla.create_bug_with_patch): Only set the "cc" field if a CC
2276 string was specified. Otherwise we'll generate an exception about the
2277 "cc" variable not being a string.
2279 2009-08-11 Eric Seidel <eric@webkit.org>
2281 Reviewed by Adam Barth.
2283 bugzilla-tool : various improvements for running the commit-queue
2284 https://bugs.webkit.org/show_bug.cgi?id=28199
2286 Make run_and_throw_if_fail silence STDERR as well as STDIN.
2287 I also changed run_and_throw_if_fail to use the /dev/null trick instead of .communicate() to avoid ever buffering the out
2288 Change a few "print" statements to "log" so they appear in the output.
2289 Changed all string + uses to use string formatting instead (this is less error prone as it will automatically convert non
2290 Added a little more logging so that --quiet mode is easier to understand.
2291 Changed clear_attachment_review_flag to clear_attachment_flags and made it clear the commit-queue flag as well.
2292 Added the ability for bugzilla-tool to reject patches from the commit-queue when they fail to compile/apply/etc.
2293 Added _find_select_element_for_flag to make the code for finding flag <select> elements clearer.
2294 Made curl call (downloading patch files) quieter.
2296 * Scripts/bugzilla-tool:
2297 * Scripts/modules/bugzilla.py:
2298 * Scripts/modules/scm.py:
2300 2009-08-11 Eric Seidel <eric@webkit.org>
2302 No review, script regression fix only.
2304 run-webkit-tests --quiet hangs
2305 https://bugs.webkit.org/show_bug.cgi?id=28202
2307 Do a huge dance to get open3 to pipe to /dev/null w/o blocking.
2308 This was what I came up with after discussions in #perl.
2310 * Scripts/run-webkit-tests:
2312 2009-08-11 John Gregg <johnnyg@google.com>
2314 Reviewed by Maciej Stachowiak.
2316 Switch DumpRenderTree to contain a WebUIDelegate2, which extends
2317 WebUIDelegate, so that the notifications tests will still work.
2318 https://bugs.webkit.org/show_bug.cgi?id=28198
2320 * DumpRenderTree/win/UIDelegate.h:
2322 2009-08-11 Darin Adler <darin@apple.com>
2324 Try to fix GTK build.
2326 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2327 (AccessibilityUIElement::stringForRange): Added.
2329 2009-08-10 Mike Fenton <mike.fenton@torchmobile.com>
2331 Reviewed by Adam Treat.
2333 Add processing for string constants used by the tests to trigger
2334 common actions like up, down, left, right, etc. for the Qt
2335 implementation of DumpRenderTree.
2337 Note this allows fast/forms/textarea-arrow-navigation.html to pass
2340 https://bugs.webkit.org/show_bug.cgi?id=28161
2342 * DumpRenderTree/qt/jsobjects.cpp:
2343 (EventSender::keyDown):
2345 2009-08-11 Chris Fleizach <cfleizach@apple.com>
2347 Reviewed by Darin Adler.
2349 Bug 28200 - ListMarker should be included as part of the text value to parse
2350 https://bugs.webkit.org/show_bug.cgi?id=28200
2352 Add the ability to retrieve a string given a plain NSRange.
2354 * DumpRenderTree/AccessibilityUIElement.cpp:
2355 (stringForRangeCallback):
2356 (AccessibilityUIElement::getJSClass):
2357 * DumpRenderTree/AccessibilityUIElement.h:
2358 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2359 (AccessibilityUIElement::valueDescription):
2360 (AccessibilityUIElement::stringForRange):
2361 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2362 (AccessibilityUIElement::stringForRange):
2364 2009-08-11 Dmitry Titov <dimich@chromium.org>
2366 Reviewed by NOBODY (Speculative fix for the layout test failure).
2368 Fix fast/dom/prototype-inheritance.html
2369 and fast/dom/prototype-inheritance-2.html
2370 broken on Windows by http://trac.webkit.org/changeset/47018
2372 * DumpRenderTree/win/DumpRenderTree.cpp:
2373 (resetDefaultsToConsistentValues): enable app cache in Windows DRT.
2375 2009-08-11 Eric Seidel <eric@webkit.org>
2377 Reviewed by Adam Barth.
2379 bugzilla-tool: Re-factor shared landing logic into helper class to share more code
2380 https://bugs.webkit.org/show_bug.cgi?id=28193
2382 Added new WebKitLandingScripts class to hold this shared logic.
2383 Also added a view_source_url function to move more webkit-specific urls out of bugzilla-tool core.
2385 * Scripts/bugzilla-tool:
2387 2009-08-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2389 Reviewed by Adam Treat.
2391 Fix the current failures on the buildbot.
2393 As Qt hooks up the maybeDump to loadFinished, we need to make
2394 sure that calling dump() will not call maybeDump on loadFinished.
2396 As dump is called my emitting done() which calls dump() and then
2397 setting m_isLoading to false. So in the case m_isLoading is false,
2400 The current code is confusing, and should be made more clear
2403 * DumpRenderTree/qt/jsobjects.cpp:
2404 (LayoutTestController::maybeDump):
2405 (LayoutTestController::notifyDone):
2407 2009-08-11 John Gregg <johnnyg@google.com>
2409 Reviewed by Maciej Stachowiak.
2411 Add support for desktop notifications API to DumpRenderTree,
2412 and support for ENABLE_NOTIFICATIONS flag to build-webkit.
2414 * DumpRenderTree/LayoutTestController.cpp:
2415 (grantDesktopNotificationPermissionCallback):
2416 (LayoutTestController::staticFunctions):
2417 (LayoutTestController::grantDesktopNotificationPermission):
2418 (LayoutTestController::checkDesktopNotificationPermission):
2419 * DumpRenderTree/LayoutTestController.h:
2420 * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp: Added.
2421 (DRTDesktopNotificationPresenter::DRTDesktopNotificationPresenter):
2422 (DRTDesktopNotificationPresenter::QueryInterface):
2423 (DRTDesktopNotificationPresenter::AddRef):
2424 (DRTDesktopNotificationPresenter::Release):
2425 (DRTDesktopNotificationPresenter::showDesktopNotification):
2426 (DRTDesktopNotificationPresenter::cancelDesktopNotification):
2427 (DRTDesktopNotificationPresenter::notificationDestroyed):
2428 (DRTDesktopNotificationPresenter::checkNotificationPermission):
2429 (DRTDesktopNotificationPresenter::requestNotificationPermission):
2430 * DumpRenderTree/win/DRTDesktopNotificationPresenter.h: Added.
2431 * DumpRenderTree/win/DumpRenderTree.vcproj:
2432 * DumpRenderTree/win/UIDelegate.cpp:
2433 (UIDelegate::UIDelegate):
2434 (UIDelegate::desktopNotificationsDelegate):
2435 * DumpRenderTree/win/UIDelegate.h:
2436 * Scripts/build-webkit:
2438 2009-08-11 Peter Kasting <pkasting@google.com>
2440 Reviewed by Darin Adler.
2442 https://bugs.webkit.org/show_bug.cgi?id=27323
2443 Handle arbitrary line endings when manufacturing patches for additions
2446 * Scripts/svn-create-patch:
2448 2009-08-11 Peter Kasting <pkasting@google.com>
2450 Reviewed by Darin Adler.
2452 https://bugs.webkit.org/show_bug.cgi?id=28183
2453 Support VS2008 as well as VS2005 in a few scripts.
2455 * Scripts/pdevenv: Check both $VS80COMNTOOLS and $VS90COMNTOOLS.
2456 * Scripts/webkitdirs.pm: Use $VSINSTALLDIR if available instead of hardcoding the VS2005 dir.
2458 2009-08-11 Eric Seidel <eric@webkit.org>
2460 Reviewed by Adam Barth.
2462 run-webkit-tests --quiet should not output build-dumprendertree output
2463 https://bugs.webkit.org/show_bug.cgi?id=28189
2465 * Scripts/run-webkit-tests:
2467 2009-08-11 Eric Seidel <eric@webkit.org>
2469 Reviewed by Darin Adler.
2471 Exception in land-patches
2472 https://bugs.webkit.org/show_bug.cgi?id=27962
2474 Use ("%s" % object) instead of ("" + object).
2475 Added unit tests for logging.py.
2477 * Scripts/modules/logging.py:
2478 * Scripts/modules/logging_unittest.py: Added.
2479 * Scripts/run-webkit-unittests:
2481 2009-08-11 Dmitry Titov <dimich@chromium.org>
2483 Reviewed by NOBODY (Windows layout tests fix).
2485 Fix for layout tests failures. Need to initialize some preferences early
2486 because WebView on Windows uses them during create time.
2488 * DumpRenderTree/win/DumpRenderTree.cpp:
2491 2009-08-11 Dmitry Titov <dimich@chromium.org>
2493 Reviewed by Adam Roben.
2495 Originally implemented by Glenn Wilson <gwilson@chromium.org>.
2497 Added support for overriding default preferences per-test.
2498 See https://bugs.webkit.org/show_bug.cgi?id=20534
2500 * DumpRenderTree/LayoutTestController.cpp:
2501 (overridePreferenceCallback): add wiring for layoutTestController.overridePreference.
2502 (LayoutTestController::staticFunctions): same.
2503 * DumpRenderTree/LayoutTestController.h: same.
2504 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2505 (LayoutTestController::overridePreference): added empty overridePreference method.
2506 * DumpRenderTree/mac/DumpRenderTree.mm: implemented preference override.
2507 (resetDefaultsToConsistentValues): new method, resets preferences to same set of value before every test.
2508 (setDefaultsToConsistentValuesForTesting): new method, sets other details of testing environment, every time DRT starts.
2509 (resetWebViewToConsistentStateBeforeTesting): move some preference setting from here to new resetDefaultsToConsistentValues().
2510 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2511 (LayoutTestController::overridePreference):
2512 * DumpRenderTree/win/DumpRenderTree.cpp:
2513 (resetDefaultsToConsistentValues): new method, resets preferences to same set of value before every test.
2514 (resetWebViewToConsistentStateBeforeTesting): move some preference setting from here to new resetDefaultsToConsistentValues().
2515 (createWebViewAndOffscreenWindow): same.
2517 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2518 (LayoutTestController::overridePreference):
2519 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
2520 (LayoutTestController::overridePreference):
2522 2009-08-11 Brian Weinstein <bweinstein@apple.com>
2524 Reviewed by Sam Weinig.
2526 Added support for DRT to support arguments for eventSender.mouseDown and eventSender.mouseUp for Windows.
2527 https://bugs.webkit.org/show_bug.cgi?id=28166.
2529 This is a step towards fixing fast/events/mouse-click-events.html on Windows.
2531 * DumpRenderTree/win/EventSender.cpp:
2532 (mouseDownCallback):
2534 (replaySavedEvents):
2536 2009-08-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2538 Reviewed by Simon Hausmann.
2540 Build the TestNetscapePlugin on Qt/Mac
2542 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
2544 2009-08-11 Dmitry Titov <dimich@chromium.org>
2546 Reviewed by NOBODY (build fix).
2548 Attempt to fix the Windows test bot. Reverted r47015 caused one of the Windows
2549 bots that runs Layout Tests to save "JS disabled" and "default font 24pt"
2550 preferences permanently. Since these preferences are not initialized explicitly in DRT,
2551 almost all Layout tests are failing. Attempt to fix by explicit
2552 initialization of these into defaults (enabled, 16pt) at the beginning of the DRT.
2554 * DumpRenderTree/win/DumpRenderTree.cpp:
2557 2009-08-10 Steve Falkenburg <sfalken@apple.com>
2559 Windows nightly fix.
2561 Reviewed by Ada Chan.
2563 * FindSafari/FindSafari.cpp:
2564 (_tmain): Copy Safari.dll if it exists.
2566 2009-08-10 David Levin <levin@chromium.org>
2568 Reviewed by David Kilzer.
2570 check-webkit-style doesn't catch braces around single line statements when followed by else.
2571 https://bugs.webkit.org/show_bug.cgi?id=28164
2573 * Scripts/modules/cpp_style.py: Added else to the regex that finds ending }'s when
2574 checking the no braces for "single lines" rule.
2575 * Scripts/modules/cpp_style_unittest.py: Added test case.
2577 2009-08-10 David Kilzer <ddkilzer@apple.com>
2579 <http://webkit.org/b/28163> bugzilla-tool: scm module should not import bugzilla module
2581 Reviewed by David Levin.
2583 * Scripts/bugzilla-tool:
2584 (parse_bug_id): Added. Moved from CommitMessage.parse_bug_id()
2586 * Scripts/modules/scm.py: Removed import of bugzilla module.
2587 (CommitMessage.parse_bug_id): Deleted.
2589 2009-08-10 Peter Kasting <pkasting@google.com>
2591 Reviewed by David Kilzer.
2593 https://bugs.webkit.org/show_bug.cgi?id=18599
2594 Work around apparent bug in abs2rel() with symlinked directories.
2596 * Scripts/resolve-ChangeLogs:
2598 2009-08-10 Dan Bernstein <mitz@apple.com>
2602 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2605 2009-08-10 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2607 Reviewed by Simon Hausmann.
2609 Fix a bunch of build warnings in TestNetscapePlugin
2611 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2612 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
2614 2009-08-10 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2616 Reviewed by Adam Roben.
2618 Allow TestNetscapePlugIn to fall back to the Carbon event model
2620 Previously the plugin would fail, even though the Carbon event
2621 model was available. The only way to get the Carbon event model
2622 was to pass the "forcecarbon" argument in the test markup, but no
2623 tests were using this.
2625 Now the plugin uses carbon either if it's forced, or if the Cocoa
2626 event model is not supported.
2628 This helps us run most of the plugin tests on Qt/Mac, which still
2629 does not support the Cocoa event model.
2631 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2634 2009-08-08 Adam Barth <abarth@webkit.org>
2636 Reviewed by Eric Seidel.
2638 bugzilla-tool needs a --quiet option
2639 https://bugs.webkit.org/show_bug.cgi?id=28060
2641 A first pass at a --quiet option. This doesn't do all the excting
2642 things we might want, but it addresses 80% of the use case.
2644 * Scripts/bugzilla-tool:
2646 2009-08-08 Jan Michael Alonzo <jmalonzo@webkit.org>
2648 Reviewed by Xan Lopez.
2650 [Gtk] Enable accessibility in Gtk DRT
2651 https://bugs.webkit.org/show_bug.cgi?id=25989
2653 Add Accessibility support to the GTK DRT.
2655 * DumpRenderTree/AccessibilityUIElement.h:
2656 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp: Added.
2657 (AccessibilityController::AccessibilityController):
2658 (AccessibilityController::~AccessibilityController):
2659 (AccessibilityController::focusedElement):
2660 (AccessibilityController::rootElement):
2661 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: Added.
2662 (AccessibilityUIElement::AccessibilityUIElement):
2663 (AccessibilityUIElement::~AccessibilityUIElement):
2664 (AccessibilityUIElement::getLinkedUIElements):
2665 (AccessibilityUIElement::getDocumentLinks):
2666 (AccessibilityUIElement::getChildren):
2667 (AccessibilityUIElement::getChildrenWithRange):
2668 (AccessibilityUIElement::childrenCount):
2669 (AccessibilityUIElement::elementAtPoint):
2670 (AccessibilityUIElement::getChildAtIndex):
2671 (AccessibilityUIElement::allAttributes):
2672 (AccessibilityUIElement::attributesOfLinkedUIElements):
2673 (AccessibilityUIElement::attributesOfDocumentLinks):
2674 (AccessibilityUIElement::titleUIElement):
2675 (AccessibilityUIElement::parentElement):
2676 (AccessibilityUIElement::attributesOfChildren):
2677 (AccessibilityUIElement::parameterizedAttributeNames):
2678 (AccessibilityUIElement::role):
2679 (AccessibilityUIElement::title):
2680 (AccessibilityUIElement::description):
2681 (AccessibilityUIElement::language):
2682 (AccessibilityUIElement::x):
2683 (AccessibilityUIElement::y):
2684 (AccessibilityUIElement::width):
2685 (AccessibilityUIElement::height):
2686 (AccessibilityUIElement::clickPointX):
2687 (AccessibilityUIElement::clickPointY):
2688 (AccessibilityUIElement::intValue):
2689 (AccessibilityUIElement::minValue):
2690 (AccessibilityUIElement::maxValue):
2691 (AccessibilityUIElement::valueDescription):
2692 (AccessibilityUIElement::isEnabled):
2693 (AccessibilityUIElement::insertionPointLineNumber):
2694 (AccessibilityUIElement::isActionSupported):
2695 (AccessibilityUIElement::isRequired):
2696 (AccessibilityUIElement::attributesOfColumnHeaders):
2697 (AccessibilityUIElement::attributesOfRowHeaders):
2698 (AccessibilityUIElement::attributesOfColumns):
2699 (AccessibilityUIElement::attributesOfRows):
2700 (AccessibilityUIElement::attributesOfVisibleCells):
2701 (AccessibilityUIElement::attributesOfHeader):
2702 (AccessibilityUIElement::indexInTable):
2703 (AccessibilityUIElement::rowIndexRange):
2704 (AccessibilityUIElement::columnIndexRange):
2705 (AccessibilityUIElement::lineForIndex):
2706 (AccessibilityUIElement::boundsForRange):
2707 (AccessibilityUIElement::cellForColumnAndRow):
2708 (AccessibilityUIElement::selectedTextRange):
2709 (AccessibilityUIElement::setSelectedTextRange):
2710 (AccessibilityUIElement::attributeValue):
2711 (AccessibilityUIElement::isAttributeSettable):
2712 (AccessibilityUIElement::increment):
2713 (AccessibilityUIElement::decrement):
2714 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2715 (webViewWindowObjectCleared):
2719 2009-08-07 Jan Michael Alonzo <jmalonzo@webkit.org>
2721 Unreviewed Gtk build fix.
2723 DRT needs internal WTF symbols so we link to libJavaScriptCore.la
2724 too. Also don't force Gtk to use USE_SYSTEM_MALLOC.
2728 2009-08-07 Darin Adler <darin@apple.com>
2730 * Scripts/commit-log-editor: Fix unchecked access to environment
2731 variable that may not be there.
2733 2009-08-07 Mark Rowe <mrowe@apple.com>
2735 Handle the case where only a single test is missing results.
2737 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2739 2009-08-07 George Wright <george.wright@torchmobile.com>
2741 Reviewed by Adam Treat
2743 Fix DumpRenderTree for the Qt port to always dump the PNG data unless
2744 the expected and actual hashes match.
2746 https://bugs.webkit.org/show_bug.cgi?id=28077
2748 * DumpRenderTree/qt/DumpRenderTree.cpp:
2749 (WebCore::DumpRenderTree::dump):
2751 2009-08-07 Pierre d'Herbemont <pdherbemont@apple.com>
2753 Reviewed by Eric Seidel.
2755 commit-log-editor does not produce a git commit log that is git friendly.
2756 https://bugs.webkit.org/show_bug.cgi?id=27754
2758 We make sure we end up with:
2759 - A first paragraph describing the bug. It is eventually prefixed by
2760 "WebKit: <line>" or "WebCore: <line>". This used to be
2761 "WebCore:\n\n<line>".
2762 - The Reviewed By line.
2763 - An eventual Patch By line if author and committer doesn't match.
2764 - The rest of the commit.
2766 * Scripts/commit-log-editor:
2768 2009-08-07 Adam Barth <abarth@webkit.org>
2770 Unreviewed. (Darin Adler indicated he'd prefer if we landed these
2771 kinds of changes unreviewed, like editing the WebKit Team wiki page.)
2773 Added Pierre d'Herbemont to list of committers.
2775 * Scripts/modules/committers.py:
2777 2009-08-07 Shinichiro Hamaji <hamaji@chromium.org>
2779 Reviewed by Adele Peterson.
2781 Cannot scroll for box-reflect:right
2782 https://bugs.webkit.org/show_bug.cgi?id=27979
2784 Update m_overflowLeft an m_overflowWidth for reflection just like
2785 m_overflowTop and m_overflowHeight.
2787 * Scripts/make-js-test-wrappers: Added regexp to skip box-shadow-overflo
2790 2009-08-06 Shinichiro Hamaji <hamaji@chromium.org>
2792 Reviewed by Adam Barth.
2794 box-shadow's spread is ignored with <table>
2795 https://bugs.webkit.org/show_bug.cgi?id=28017
2797 Use RenderStyle::getBoxShadowExtent just like RenderBlock.
2799 * Scripts/make-js-test-wrappers: Added regexp to skip box-shadow-overflow-scroll.js
2801 2009-08-06 Eric Seidel <eric@webkit.org>
2803 No review, only changing make-js-test-wrappers.
2805 Fix make-js-test-wrappers to ignore a few more js tests
2806 with custom templates.
2808 * Scripts/make-js-test-wrappers:
2810 2009-08-06 Chris Marrin <cmarrin@apple.com>
2812 Reviewed by David Hyatt.
2814 Added ENABLE_3D_CANVAS flag to build, default to off
2816 * Scripts/build-webkit:
2818 2009-08-05 Brady Eidson <beidson@apple.com>
2820 Reviewed by Darin Adler.
2822 Win DRT's resource load delegate is missing didReceiveResponse
2823 https://bugs.webkit.org/show_bug.cgi?id=28033
2825 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2827 (FrameLoadDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
2828 (FrameLoadDelegate::willPerformClientRedirectToURL):
2829 (FrameLoadDelegate::didCancelClientRedirectForFrame):
2831 Minor style cleanup:
2832 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2833 (FrameLoadDelegate::didReceiveTitle):
2834 (FrameLoadDelegate::didFinishLoadForFrame):
2835 (FrameLoadDelegate::willCloseFrame):
2836 (FrameLoadDelegate::didClearWindowObject):
2837 * DumpRenderTree/win/FrameLoadDelegate.h:
2839 2009-08-05 Brady Eidson <beidson@apple.com>
2841 Reviewed by Darin Adler.
2843 Win DRT's resource load delegate is missing didReceiveResponse
2844 https://bugs.webkit.org/show_bug.cgi?id=28033
2846 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2847 (ResourceLoadDelegate::didReceiveResponse):
2848 * DumpRenderTree/win/ResourceLoadDelegate.h:
2850 2009-08-05 Darin Fisher <darin@chromium.org>
2852 Reviewed by Darin Adler.
2854 Add layoutTestController.dumpWillCacheResponse
2855 https://bugs.webkit.org/show_bug.cgi?id=28010
2857 willCacheResponse is only interesting for embedders of mainline WebKit on Mac.
2858 Splitting off a new dumpWillCacheResponse allows a number of existings tests
2859 to run across platforms.
2861 The test that was specifically verifying willCacheResponse now calls
2862 dumpWillCacheResponse.
2864 * DumpRenderTree/LayoutTestController.cpp: Add dumpWillCacheResponse
2865 (LayoutTestController::LayoutTestController):
2866 (dumpWillCacheResponseCallback):
2867 (LayoutTestController::staticFunctions):
2868 * DumpRenderTree/LayoutTestController.h:
2869 (LayoutTestController::dumpWillCacheResponse):
2870 (LayoutTestController::setDumpWillCacheResponse):
2871 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Inspect dumpWillCacheResponse
2872 instead of dumpResourceLoadCallbacks.
2873 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2875 2009-08-05 Jeremy Orlow <jorlow@chromium.org>
2877 Reviewed by Adam Barth.
2879 Add my name to committers.py
2880 https://bugs.webkit.org/show_bug.cgi?id=28013
2882 Add my name to committers.py.
2884 * Scripts/modules/committers.py:
2886 2009-08-05 Kenneth Rohde Christiansen <kenneth@webkit.org>
2888 Reviewed by Simon Hausmann.
2890 A minor refactoring of the Qt DRT to be a bit more similar to
2891 the other DRTs, as well as more understandable.
2893 Splitting up resetJSObjects into a LayoutTestController->reset()
2894 plus a new closeRemainingWindows() method.
2896 Added a resetToConsistentStateBeforeTesting() method to keep
2897 the code in one place, making it easier to verify that we are
2898 doing things properly.
2900 * DumpRenderTree/qt/DumpRenderTree.cpp:
2901 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
2902 (WebCore::DumpRenderTree::open):
2903 (WebCore::DumpRenderTree::closeRemainingWindows):
2904 * DumpRenderTree/qt/DumpRenderTree.h:
2906 2009-08-05 Kenneth Rohde Christiansen <kenneth@webkit.org>
2908 Reviewed by Simon Hausmann.
2910 Make the Qt DRT WorkQueue work similarily to the cross platform
2911 one. This means that all items return true if they started
2914 This change paves the way for unforking the WorkQueue, if we [Qt]
2917 * DumpRenderTree/qt/WorkQueue.cpp:
2918 (WorkQueue::processWork):
2919 * DumpRenderTree/qt/WorkQueue.h:
2920 * DumpRenderTree/qt/WorkQueueItem.h:
2921 * DumpRenderTree/qt/jsobjects.cpp:
2923 (ReloadItem::invoke):
2924 (ScriptItem::invoke):
2925 (BackForwardItem::invoke):
2926 (LayoutTestController::processWork):
2927 (LayoutTestController::maybeDump):
2929 2009-08-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
2931 Reviewed by Simon Hausmann.
2933 If load of a test fails, don't dump as it will be dumped
2934 in the preceding test, resulting in a invalid incorrect layout.
2936 * DumpRenderTree/qt/jsobjects.cpp:
2937 (LayoutTestController::maybeDump):
2939 2009-08-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
2941 Reviewed by Simon Hausmann.
2943 Make the Qt DumpRenderTree more similar to the mac one.
2946 1) Reset zoom factor before each test
2947 2) Only dump the backforward list when we got other dump result
2948 3) When we dump the render tree, and got zero result print out:
2949 [mainFrame renderTreeAsExternalRepresentation]
2951 [frame renderTreeAsExternalRepresentation]
2953 * DumpRenderTree/qt/DumpRenderTree.cpp:
2954 (WebCore::DumpRenderTree::open):
2955 (WebCore::methodNameStringForFailedTest):
2956 (WebCore::DumpRenderTree::dump):
2958 2009-08-05 chris fleizach <cfleizach@apple.com>
2960 Fix Tiger build breakage.
2962 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2964 2009-08-04 Chris Fleizach <cfleizach@apple.com>
2966 Reviewed by Darin Adler.
2968 Bug 27994 - WAI-ARIA: aria-valuetext needs to be implemented
2969 https://bugs.webkit.org/show_bug.cgi?id=27994
2971 Expose valueDescription for accessibility.
2973 * DumpRenderTree/AccessibilityUIElement.cpp:
2974 (getValueDescriptionCallback):
2975 (AccessibilityUIElement::getJSClass):
2976 * DumpRenderTree/AccessibilityUIElement.h:
2977 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2978 (AccessibilityUIElement::valueDescription):
2979 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2980 (AccessibilityUIElement::valueDescription):
2982 2009-08-04 Eric Seidel <eric@webkit.org>
2984 Reviewed by Mark Rowe.
2986 REGRESSION: run-webkit-tests crashes if you have non-system perl in PATH
2987 https://bugs.webkit.org/show_bug.cgi?id=28006
2989 Hard-code perl to /usr/bin/perl and swig to /usr/bin/swig
2991 * DumpRenderTree/mac/PerlSupport/Makefile:
2993 2009-08-04 Adam Barth <abarth@webkit.org>
2995 Reviewed by Darin Adler.
2997 Add pkasting to bugzilla-tool as a committer
2998 https://bugs.webkit.org/show_bug.cgi?id=28002
3000 * Scripts/modules/committers.py:
3002 2009-08-04 Chris Fleizach <cfleizach@apple.com>
3004 Reviewed by Darin Adler.
3006 Bug 27993 - AXSliders are missing required attributes and actions
3007 https://bugs.webkit.org/show_bug.cgi?id=27993
3009 Add ability to check if any arbitrary action is supported.
3011 * DumpRenderTree/AccessibilityUIElement.cpp:
3012 (isActionSupportedCallback):
3013 (AccessibilityUIElement::getJSClass):
3014 * DumpRenderTree/AccessibilityUIElement.h:
3015 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3016 (AccessibilityUIElement::isActionSupported):
3017 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3018 (AccessibilityUIElement::isActionSupported):
3020 2009-08-04 Adam Barth <abarth@webkit.org>
3022 Reviewed by Eric Seidel.
3024 bugzilla-tool unit tests need a test harness
3025 https://bugs.webkit.org/show_bug.cgi?id=27977
3027 * Scripts/run-webkit-unittests: Added.
3029 2009-08-04 Mark Rowe <mrowe@apple.com>
3031 Rubber-stamped by Gavin "Gavvy" Barraclough.
3033 Ensure that DumpRenderTreeSupport is regenerated when switching between OS versions
3034 by listing the DumpRenderTree binary as a dependency. Xcode has the smarts to rebuild
3035 DumpRenderTree itself when switching OS versions so this dependency removes the need
3036 for any smarts in the Makefile.
3038 * DumpRenderTree/mac/PerlSupport/Makefile:
3040 2009-08-04 Eric Seidel <eric@webkit.org>
3042 Reviewed by Adam Barth.
3044 bugzilla-tool needs unit tests
3045 https://bugs.webkit.org/show_bug.cgi?id=26916
3047 Add some basic unit testing for scm.py.
3049 * Scripts/modules/scm.py:
3050 * Scripts/modules/scm_unittest.py: Added.
3052 2009-08-04 Mike Fenton <mike.fenton@torchmobile.com>
3054 Reviewed by Adam Treat.
3056 Fix --skipped=only mode to honor flags such as --no-http and platform ignored directories by checking
3057 to make sure the Skipped entries are not in the $ignoredDirectories array. Directories commonly included
3058 are (http, media, compositing, wml, wcss).
3060 https://bugs.webkit.org/show_bug.cgi?id=27893
3062 * Scripts/run-webkit-tests:
3064 2009-08-03 Chris Fleizach <cfleizach@apple.com>
3066 Reviewed by Jon Honeycutt.
3068 Bug 27958 - WAI-ARIA: Implement 'aria-required' attribute.
3069 https://bugs.webkit.org/show_bug.cgi?id=27958
3071 Exposed isRequired to DumpRenderTree for accessibility.
3073 * DumpRenderTree/AccessibilityUIElement.cpp:
3074 (getIsRequiredCallback):
3075 (AccessibilityUIElement::getJSClass):
3076 * DumpRenderTree/AccessibilityUIElement.h:
3077 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3078 (AccessibilityUIElement::isRequired):
3079 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3080 (AccessibilityUIElement::isRequired):
3082 2009-08-04 Adam Barth <abarth@webkit.org>
3084 Reviewed by Eric Seidel.
3086 bugzilla-tool --commit-queue should validate commit-queue setter is a committer
3087 https://bugs.webkit.org/show_bug.cgi?id=27974
3091 * Scripts/modules/bugzilla.py:
3092 * Scripts/modules/bugzilla_unittest.py:
3094 2009-08-04 Eric Seidel <eric@webkit.org>
3096 Reviewed by Adam Barth.
3098 REGRESSION(r46700): bugzilla-tool land-diff double-spaces ChangeLogs
3099 https://bugs.webkit.org/show_bug.cgi?id=27973
3101 The trailing comma (suppresses newlines) was lost in r46700.
3103 * Scripts/bugzilla-tool:
3105 2009-08-04 Adam Barth <abarth@webkit.org>
3107 Reviewed by Eric Seidel.
3109 bugzilla-tool has too many fatal errors
3110 https://bugs.webkit.org/show_bug.cgi?id=27969
3112 Replace several fatal errors with ScriptError exceptions.
3114 * Scripts/bugzilla-tool:
3115 * Scripts/modules/bugzilla.py:
3116 * Scripts/modules/scm.py:
3118 2009-08-04 Eric Seidel <eric@webkit.org>
3120 No review, ChangeLog fix only.
3122 Fix a ChangeLog line-spacing disaster caused by:
3123 https://bugs.webkit.org/show_bug.cgi?id=27973
3125 Still unsure what the fix for bugzilla-tool will be.
3127 2009-08-04 Adam Barth <abarth@webkit.org>
3129 Reviewed by Eric Seidel.
3131 bugzilla-tool --commit-queue should only land commit-queue+ patches
3132 https://bugs.webkit.org/show_bug.cgi?id=27970
3134 commit-queue mode for bugzilla-tool
3135 https://bugs.webkit.org/show_bug.cgi?id=27918
3137 Make bugzilla tool smart enough to find the commit-queue+ flags and
3139 When we call land-patches with --commit-queue, we should filter the
3140 patches we land to only those that have the commit-queue+ flag set.
3141 That way, when we call bugzilla-tool from a main commit queue process,
3142 we won't land the wrong patches.
3144 * Scripts/bugzilla-tool:
3146 2009-08-04 Eric Seidel <eric@webkit.org>
3148 Reviewed by Adam Barth.
3150 committer logic should be split out of bugzilla.py into its own module
3152 https://bugs.webkit.org/show_bug.cgi?id=27972
3154 I also added unit tests for the functionality I added.
3156 * Scripts/modules/bugzilla.py:
3157 * Scripts/modules/bugzilla_unittest.py: Added.
3158 * Scripts/modules/commiters_unittest.py: Added.
3159 * Scripts/modules/committers.py: Added.
3161 2009-08-03 Peter Kasting <pkasting@google.com>
3163 Reviewed by David Kilzer.
3165 https://bugs.webkit.org/show_bug.cgi?id=27323
3166 Handle any kind of line endings in svn-apply and svn-unapply, instead
3169 * Scripts/svn-apply:
3170 * Scripts/svn-unapply:
3172 2009-08-03 Adam Barth <abarth@webkit.org>
3174 Reviewed by Eric Seidel.
3176 bugzilla-tool land-patches needs --queue mode
3177 https://bugs.webkit.org/show_bug.cgi?id=27961
3179 Add a --commit-queue command line option to suppress user interaction.
3181 * Scripts/bugzilla-tool:
3182 * Scripts/modules/scm.py:
3184 2009-08-03 Mark Rowe <mrowe@apple.com>
3186 Build fix. Add installsrc, installhdrs and install targets.
3188 * DumpRenderTree/mac/PerlSupport/Makefile:
3190 2009-08-03 Eric Carlson <eric.carlson@apple.com>
3192 Reviewed by Eric Seidel.
3194 HTMLInputElement is not controllable by assistive technologies
3195 https://bugs.webkit.org/show_bug.cgi?id=27941
3197 Accessibility control of a slider required adding increment() and decrement()
3198 methods to AccessibilityObject, so expose thos methods on AccessibilityUIElement.
3200 * DumpRenderTree/AccessibilityUIElement.cpp:
3201 (incrementCallback): New, call UI element increment method.
3202 (decrementCallback): New, call UI element decrement method.
3203 (AccessibilityUIElement::getJSClass): Expose increment and decrement methods.
3205 * DumpRenderTree/AccessibilityUIElement.h:
3206 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3207 (AccessibilityUIElement::increment): New, send NSAccessibilityIncrementAction to Mac wrapper.
3208 (AccessibilityUIElement::decrement): New, send NSAccessibilityDecrementAction to Mac wrapper.
3210 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3211 (AccessibilityUIElement::increment): New, do nothing.
3212 (AccessibilityUIElement::decrement): New, do nothing.
3214 2009-08-02 David D. Kilzer <ddkilzer@webkit.org>
3216 <http://webkit.org/b/27930> bugzilla-tool hates Tor Arne Vestbø
3218 Reviewed by Tor Arne Vestbø.
3220 * Scripts/bugzilla-tool:
3221 (set_reviewer_in_changelog): Made sure reviewer is properly
3222 encoded when calling replace().
3224 2009-08-02 Kevin Ollivier <kevino@theolliviers.com>
3226 Reviewed by David Levin.
3228 Script for building the wxBrowser sample app for wx.
3229 https://bugs.webkit.org/show_bug.cgi?id=27619
3231 * wx/browser/wscript: Added.
3233 2009-08-02 Kevin Ollivier <kevino@theolliviers.com>
3235 Reviewed by Jan Alonzo.
3237 Scripts needed for the waf build.
3238 https://bugs.webkit.org/show_bug.cgi?id=27619
3241 * wx/build/build_utils.py: Added.
3242 * wx/build/settings.py: Added.
3243 * wx/build/waf_extensions.py: Added.
3244 * wx/build/wxpresets.py: Added.
3246 2009-08-01 Dan Bernstein <mitz@apple.com>
3248 Reviewed by Darin Adler.
3250 Make pixel test results more consistent across Mac OS X versions
3252 * DumpRenderTree/cg/ImageDiffCG.cpp:
3253 (createDifferenceImage): Avoid color correction when rendering the
3254 images into graphics contexts, so that the actual color values are
3255 compared, regardless of how the images are tagged.
3256 * DumpRenderTree/mac/DumpRenderTree.mm:
3257 (createWebViewAndOffscreenWindow): Set the window’s color space to the
3258 main screen’s color space, even though the window is off-screen.
3260 2009-08-01 Mark Rowe <mrowe@apple.com>
3262 Try again to make the Qt build bot happy.
3264 * BuildSlaveSupport/test-result-archive: Create a placeholder file inside the newly-created
3265 directory to prevent 'zip' from failing due to the directory containing no files.
3267 2009-08-01 Mark Rowe <mrowe@apple.com>
3269 Try and make the Qt build bot happy.
3271 * BuildSlaveSupport/test-result-archive: Handle the case where run-webkit-tests generates
3272 no output files at all and thus does not create the layout-test-results directory.
3274 2009-08-01 Mark Rowe <mrowe@apple.com>
3276 Move the include of DumpRenderTreeSupport to after DumpRenderTree has been built.
3278 * Scripts/run-webkit-tests:
3280 2009-08-01 Mark Rowe <mrowe@apple.com>
3282 Reviewed by Sam Weinig and David D. Kilzer.
3284 Fix <https://bugs.webkit.org/show_bug.cgi?id=27923>.
3285 Bug 27923: run-webkit-tests should not invoke "ps" repeatedly on Mac OS X
3287 run-webkit-tests invokes "ps" after each test on Mac OS X to determine whether DumpRenderTree is
3288 in the process of crashing. We can do the same test more efficiently with a simple call to sysctl.
3289 I couldn't find any built-in way of doing this directly from perl, so we do it from a simple C module
3290 instead. This speeds up run-webkit-tests by around 8%.
3292 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3293 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport.c: Added.
3294 (processIsCrashing):
3295 * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupportTiger.pm: Added. Tiger does not have the SWIG tool
3296 that is used to generate the Perl binding to the C code, so we fall back to the old implementation on Tiger.
3297 * DumpRenderTree/mac/PerlSupport/Makefile: Added.
3298 * Scripts/run-webkit-tests:
3300 2009-08-01 Mark Rowe <mrowe@apple.com>
3302 Reviewed by David D. Kilzer.
3304 Display the reminder once rather than once per ChangeLog.
3306 * Scripts/prepare-ChangeLog:
3308 2009-08-01 David Kilzer <ddkilzer@apple.com>
3310 resolve-ChangeLogs: add error checking to git ls-files command on close()
3312 Reviewed by Eric Seidel.
3314 Item 2 of <https://bugs.webkit.org/show_bug.cgi?id=18599#c0>.
3316 * Scripts/resolve-ChangeLogs: Added error checking to close()
3317 after running git ls-files. Added error checking to all
3318 system() calls by checking for a non-zero WEXITSTATUS($?).
3319 Changed "|| die;" expressions to "or die $!;".
3321 2009-08-01 David Kilzer <ddkilzer@apple.com>
3323 <http://webkit.org/b/18599> resolve-ChangeLogs doesn't work with relative paths
3325 Reviewed by Eric Seidel.
3327 * Scripts/resolve-ChangeLogs: Used chdirReturningRelativePath()
3328 and determineVCSRoot() to change directories to the root of the
3329 project before running the command and to provide a path for
3330 removeChangeLogArguments() to make sure any ChangeLog arguments
3331 on the command line are still found.
3332 (canonicalRelativePath): Added. Returns a canonical path (e.g.,
3333 stripping 'dir/../' from the path) relative to the current
3335 (removeChangeLogArguments): Added argument which contains a
3336 relative path that must be prepended to any ChangeLog arguments.
3337 Used canonicalRelativePath() and File::Spec->catfile() to
3338 construct a normalized, relative path to each file.
3340 2009-08-01 David Kilzer <ddkilzer@apple.com>
3342 Implement VCSUtils::chdirReturningRelativePath()
3344 Reviewed by Eric Seidel.
3347 <http://webkit.org/b/18599> resolve-ChangeLogs doesn't work with relative paths
3349 * Scripts/VCSUtils.pm:
3350 (VCSUtils::chdirReturningRelativePath): Moved here from
3351 chdirAndGetDifference() in svn-create-patch.
3352 * Scripts/svn-create-patch: Switched to use
3353 chdirReturningRelativePath() instead of chdirAndGetDifference().
3354 (chdirAndGetDifference): Removed.
3356 2009-08-01 David Kilzer <ddkilzer@apple.com>
3358 Implement VCSUtils::determineVCSRoot()
3360 Reviewed by Eric Seidel.
3363 <http://webkit.org/b/18599> resolve-ChangeLogs doesn't work with relative paths
3365 * Scripts/VCSUtils.pm: Removed reference to webkitdirs module.
3366 (VCSUtils::EXPORT): Added &determineVCSRoot. Realphabetized.
3367 (VCSUtils::determineGitRoot): Added. Based on code in
3369 (VCSUtils::determineVCSRoot): Implemented using
3370 determineGitRoot() and determineSVNRoot().
3371 * Scripts/commit-log-editor: Replaced use of
3372 topLevelSourceDirectory() with determineVCSRoot(). Resorted
3374 (topLevelSourceDirectory): Removed.
3376 2009-07-31 Daniel Bates <dbates@intudata.com>
3378 Reviewed by Eric Seidel.
3380 https://bugs.webkit.org/show_bug.cgi?id=27757
3382 Resolves Perl redefinition warnings about functions tmpfile and tmpnam which are
3383 defined in both File::Temp and POSIX.
3385 This stops the warnings by preventing the "import" method of File::Temp from being called,
3386 which would otherwise add these functions into the primary namespace. Note, "use POSIX"
3387 will import these functions into the primary namespace anyway. We only need one instance
3388 of these functions in our namespace (or we get redefinition warnings), so lets use the
3389 one's in the POSIX package.
3391 * Scripts/update-webkit-auxiliary-libs: Changed "use File::Temp" to "use File::Temp ()".
3392 * Scripts/update-webkit-support-libs: ditto
3394 2009-07-31 Laszlo Gombos <laszlo.1.gombos@nokia.com>
3396 Reviewed by Eric Seidel.
3398 Add a top level build option to control datagrid support
3399 https://bugs.webkit.org/show_bug.cgi?id=27915
3401 * Scripts/build-webkit:
3403 2009-07-31 David Levin <levin@chromium.org>
3405 Reviewed by Adam Treat.
3407 check-webkit-style --git-commit has bugs if you select a commit in the past
3408 https://bugs.webkit.org/show_bug.cgi?id=27908
3410 * Scripts/check-webkit-style:
3411 (main): Made the git-commit command only select the first commit
3412 if a range is given (and print a warning).
3413 * Scripts/modules/scm.py:
3414 (SCM::create_patch_from_local_commit):
3415 (SCM::create_patch_since_local_commit):
3416 (SCM::commit_locally_with_message):
3417 (SCM::discard_local_commits):
3418 Added an error messages in case these aren't overriden.
3420 (Git::create_patch_since_local_commit):
3421 Added this command to allow doing a diff of everything after a given commit.
3423 2009-07-31 Jan Michael Alonzo <jmalonzo@webkit.org>
3425 Speculative Qt build fix. Not reviewed.
3427 Add LayoutTestController::disableImageLoading() in jsobjects.h.
3429 * DumpRenderTree/qt/jsobjects.h:
3431 2009-07-31 Brady Eidson <beidson@apple.com>
3433 Reviewed by John Sullivan.
3435 <rdar://problem/6973106> and https://bugs.webkit.org/show_bug.cgi?id=27896
3436 Favicons are still loaded when automatic image loading is disabled.
3438 * DumpRenderTree/LayoutTestController.cpp:
3439 (disableImageLoadingCallback):
3440 (LayoutTestController::staticFunctions):
3441 * DumpRenderTree/LayoutTestController.h:
3443 * DumpRenderTree/mac/DumpRenderTree.mm:
3444 (resetWebViewToConsistentStateBeforeTesting):
3445 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3446 (LayoutTestController::disableImageLoading):
3448 * DumpRenderTree/win/DumpRenderTree.cpp:
3449 (resetWebViewToConsistentStateBeforeTesting):
3450 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3451 (LayoutTestController::disableImageLoading):
3453 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3454 (LayoutTestController::disableImageLoading): Stubbed for now.
3455 * DumpRenderTree/qt/jsobjects.cpp:
3456 (LayoutTestController::disableImageLoading): Ditto.
3458 2009-07-30 Eric Seidel <eric@webkit.org>
3460 Reviewed by David Kilzer.
3462 bugzilla-tool post-commits trunk..head errors out
3463 https://bugs.webkit.org/show_bug.cgi?id=27847
3465 Rename commit_ids_from_range_arguments to commit_ids_from_commitish_arguments
3466 and make it handle the new arguments format proposed in the bug.
3468 * Scripts/bugzilla-tool:
3469 * Scripts/modules/scm.py:
3471 2009-07-30 Eric Seidel <eric@webkit.org>
3473 Reviewed by David Levin.
3475 clean up build-webkit to use less copy/paste code and remove unneeded SVG warning
3476 https://bugs.webkit.org/show_bug.cgi?id=27857
3478 * Scripts/build-webkit:
3480 2009-07-31 David Kilzer <ddkilzer@apple.com>
3482 <http://webkit.org/b/27894> bugzilla-tool: Bugzilla.clear_attachment_review_flag() fails with ClientForm-0.2.10 and python-2.5
3484 Reviewed by Eric Seidel.
3486 * Scripts/modules/bugzilla.py:
3487 (Bugzilla.clear_attachment_review_flag): Specify which 'comment'
3488 form field to use when setting its value.
3490 2009-07-31 Eric Seidel <eric@webkit.org>
3492 Reviewed by David Kilzer.
3494 bugzilla-tool post-commits obsoletes its own work :(
3495 https://bugs.webkit.org/show_bug.cgi?id=27849
3497 Simple fix. Use .add() instead of .update()
3499 * Scripts/bugzilla-tool:
3501 2009-07-31 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
3503 Reviewed by Anders Carlsson.
3505 Improve platform-detection in run-webkit-tests
3507 This prevents miss-detection of mac-* over Qt/Mac.
3509 * Scripts/run-webkit-tests:
3511 2009-07-30 Mark Rowe <mrowe@apple.com>
3513 Reviewed by Cameron Zwarich.
3515 Teach buildbot to detect test cases that are missing results.
3517 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3519 2009-07-30 Mark Rowe <mrowe@apple.com>
3521 Things work better when you create the correct directories.
3523 * Scripts/run-webkit-tests:
3525 2009-07-30 Mark Rowe <mrowe@apple.com>
3527 Include some information about the error when we die.
3529 * Scripts/run-webkit-tests:
3531 2009-07-30 Mark Rowe <mrowe@apple.com>
3533 Ensure that the path exists before writing results to it.
3534 Hopefully this will make the Windows build bot happy.
3536 * Scripts/run-webkit-tests:
3538 2009-07-30 Mark Rowe <mrowe@apple.com>
3540 Reviewed by Adam Treat and Jon Honeycutt.
3542 Teach run-webkit-tests to always store the actual results in the results directory for new tests.
3543 This allows us to give a working link to the results from the result summary page, even if we're
3544 not generating new results in to the tree.
3546 * Scripts/run-webkit-tests:
3548 2009-07-30 Mark Rowe <mrowe@apple.com>
3550 Add a Qt Linux build bot.
3552 * BuildSlaveSupport/build.webkit.org-config/config.json:
3554 2009-07-30 Jakob Petsovits <jakob.petsovits@torchmobile.com>
3556 Reviewed by Adam Roben.
3558 Add --minimal option to webkit-build.
3559 https://bugs.webkit.org/show_bug.cgi?id=27852
3561 This option disables all optional build features unless
3562 they are explicitly enabled.
3564 * Scripts/build-webkit:
3566 2009-07-30 Jakub Wieczorek <faw217@gmail.com>
3568 [Qt] Fix build with GCC 4.4.
3570 * DumpRenderTree/qt/ImageDiff.cpp:
3572 2009-07-29 Ariya Hidayat <ariya.hidayat@nokia.com>
3574 Reviewed by Simon Hausmann.
3576 https://bugs.webkit.org/show_bug.cgi?id=27813
3578 [Qt] Support pixel tests in DumpRenderTree for the Qt port.
3580 * DumpRenderTree/qt/DumpRenderTree.cpp:
3581 (WebCore::DumpRenderTree::DumpRenderTree):
3582 (WebCore::DumpRenderTree::open):
3583 (WebCore::DumpRenderTree::setDumpPixels):
3584 (WebCore::DumpRenderTree::dump):
3585 * DumpRenderTree/qt/DumpRenderTree.h:
3586 * DumpRenderTree/qt/main.cpp:
3589 2009-07-29 Ariya Hidayat <ariya.hidayat@nokia.com>
3591 Reviewed by Simon Hausmann.
3593 https://bugs.webkit.org/show_bug.cgi?id=27813
3595 [Qt] Implement ImageDiff.
3597 * DumpRenderTree/qt/ImageDiff.cpp: Added.
3598 * DumpRenderTree/qt/ImageDiff.pro: Added.
3600 2009-07-30 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
3602 Reviewed by Eric Seidel.
3604 build-webkit: Reorder logic for determining the baseProductDir
3606 https://bugs.webkit.org/show_bug.cgi?id=27699
3608 We now do port-spesific probing for the product dir first, and then
3609 fall back to either the generic WEBKITOUTPUTDIR (which now also works
3610 on Mac), or WebKitBuild.
3612 Then we add the git branch if the git branch build option is enabled.
3614 Finally we massage the product dir based on the port. For example the
3615 Mac port will now always set the SYMROOT and OBJROOT configuration for
3618 Note that isAppleWinWebkit() and isCygwin() is not mutually exclusive,
3619 hence the normal if and not elsif in the last two blocks.
3621 * Scripts/webkitdirs.pm:
3623 2009-07-29 David Kilzer <ddkilzer@apple.com>
3625 <http://webkit.org/b/27082> bugzilla-tool: Add --no-close switch to land-patches
3627 Reviewed by David Levin.
3629 * Scripts/bugzilla-tool:
3630 (LandPatchesFromBugs.__init__): Added --no-close switch.
3631 (LandPatchesFromBugs.land_patches): Don't close the bug if the
3632 --no-close switch was used. Always clear the review+ flag on
3633 every landed patch using the commit_text message when cleared.
3634 This prevents patches from showing up in the commit queue if
3635 reopened and provides consistency with all landed patches.
3636 * Scripts/modules/bugzilla.py:
3637 (Bugzilla.clear_attachment_review_flag): Added.
3639 2009-07-29 David Kilzer <ddkilzer@apple.com>
3641 <http://webkit.org/b/27815> bugzilla-tool: add -m/--description to post-commits command
3643 Reviewed by Eric Seidel.
3645 * Scripts/bugzilla-tool:
3646 (PostDiffAsPatchToBug.execute): Changed default patch name from
3647 "patch" to "Patch v1".
3648 (PostCommitsAsPatchesToBug.__init__): Added -m/--description
3650 (PostCommitsAsPatchesToBug.execute): Use description provided by
3651 -m/--description switch first, else fall back to the commit
3654 2009-07-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
3656 Reviewed by Dave Levin.
3658 Make check-webkit-style support files as arguments.
3659 https://bugs.webkit.org/show_bug.cgi?id=27549
3661 * Scripts/check-webkit-style:
3662 Support files as argument. Change documentation and use basename
3663 on the binary name when used in the documentation. Also do not
3664 die when printing something containing non-ASCII characters.
3666 2009-08-06 Mike Fenton <mike.fenton@torchmobile.com>
3668 Reviewed by David Levin.
3670 Add validation for pointer and reference declaration as defined by webkit style guidelines to cpp_style.py.
3671 Add unit tests for validation and update existing c style cast test to be run explicitly as c validation.
3673 https://bugs.webkit.org/show_bug.cgi?id=27984
3675 * Scripts/modules/cpp_style.py:
3676 * Scripts/modules/cpp_style_unittest.py:
3678 2009-07-29 David Kilzer <ddkilzer@apple.com>
3680 <http://webkit.org/b/27119> bugzilla-tool: Add create-bug command
3682 Reviewed by David Levin.
3684 Implement "create-bug" command for bugzilla-tool.
3686 * Scripts/bugzilla-tool: Added CreateBug class.
3687 (CreateBug.__init__): Added.
3688 (CreateBug.create_bug_from_commit): Added.
3689 (CreateBug.create_bug_from_patch): Added.
3690 (CreateBug.prompt_for_bug_title_and_comment): Added.
3691 (CreateBug.execute): Added.
3692 (BugzillaTool.__init__): Added create-bug command.
3693 * Scripts/modules/bugzilla.py:
3694 (Bugzilla.prompt_for_component): Added.
3695 (Bugzilla.check_create_bug_response_returning_bug_id_on_success): Added.
3696 (Bugzilla.create_bug_with_patch): Added.
3698 2009-07-29 Jan Michael Alonzo <jmalonzo@webkit.org>
3700 Reviewed by Eric Seidel and Xan Lopez.
3702 [Gtk] Enable http/tests/appcache tests
3703 https://bugs.webkit.org/show_bug.cgi?id=27674
3705 Add support for testing http/tests/appcache tests.
3707 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3708 (resetWebViewToConsistentStateBeforeTesting):
3709 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3710 (LayoutTestController::setAppCacheMaximumSize):
3712 2009-07-28 Mark Rowe <mrowe@apple.com>
3714 Reviewed by Oliver Hunt.
3716 Prevent nightly builds of WebKit from launching against old Safari versions that we no longer work with.
3718 * WebKitLauncher/main.m:
3719 (checkSafariVersion): Add a minimum required Safari version of 4.0. This matches the requirement on Windows.
3720 (main): If the minimum version requirement is not met, display an alert and bail out.
3722 2009-07-28 David Levin <levin@chromium.org>
3724 Reviewed by Adam Treat.
3726 cpplint* should be named cpp_style*
3727 https://bugs.webkit.org/show_bug.cgi?id=27752
3729 The files were renamed. A few renames were done:
3731 cpplint -> cpp_style
3733 * Scripts/check-webkit-style:
3734 * Scripts/modules/cpp_style.py: Copied from cpplint.py and
3736 * Scripts/modules/cpp_style_unittest.py: Copied from cpplint_unittest.py and
3738 * Scripts/modules/cpplint.py: Removed.
3739 * Scripts/modules/cpplint_unittest.py: Removed.
3741 2009-07-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
3743 Rubber-stamped by Holger Freyther.
3745 Add Steve Falkenburg to bugzilla-tools' reviewers list
3747 * Scripts/modules/bugzilla.py:
3749 2009-07-28 Zoltan Horvath <hzoltan@inf.u-szeged.hu>
3751 Reviewed by Simon Hausmann.
3753 Implement test result archive support for the Qt port.
3755 * BuildSlaveSupport/test-result-archive:
3757 2009-07-27 Brady Eidson <beidson@apple.com>
3759 Reviewed by Sam Weinig.
3761 https://bugs.webkit.org/show_bug.cgi?id=27755
3762 Layout tests that dump resource load delegate calls should dump the request method and the response status code.
3764 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3765 (-[NSURLResponse _drt_descriptionSuitableForTestResult]):
3766 (-[NSURLRequest _drt_descriptionSuitableForTestResult]):
3768 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3769 (descriptionSuitableForTestResult):
3771 2009-07-27 Pierre d'Herbemont <pdherbemont@apple.com>
3773 Reviewed by David Levin.
3775 "bugzilla-tool post-commit head" doesn't work because it can't find the bug id from the commit load.
3776 https://bugs.webkit.org/show_bug.cgi?id=27747
3778 modules.bugzilla is not found because not included.
3780 * Scripts/modules/scm.py: Properly import modules.bugzilla.
3782 2009-07-24 Pierre d'Herbemont <pdherbemont@apple.com>
3784 Reviewed by David Kilzer.
3786 commit-log-editor should allow git commit --amend to regenerate the commit log based on the modifed ChangeLog
3787 https://bugs.webkit.org/show_bug.cgi?id=27664
3789 * Scripts/commit-log-editor: Add --regenerate-log option.
3790 The user is asked if he wants to suppress previous ChangeLog and regenerate it,
3791 if this option is enabled.
3793 2009-07-27 Gabor Rapcsanyi <rapcsanyi.gabor@stud.u-szeged.hu>
3795 Reviewed by Simon Hausmann.
3797 Generating remote links causes a lot of unnecessary spew on Qt build bot too
3799 * Scripts/run-webkit-tests:
3801 2009-07-25 Kwang Yul Seo <skyul@company100.net>
3803 Reviewed by Darin Adler.
3805 Windows build break due to warning C4819
3806 https://bugs.webkit.org/show_bug.cgi?id=27416
3808 Disable C4819 warning to fix build.
3810 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3812 2009-07-24 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
3814 Not reviewed. Add Kevin McCullough as reviewer in bugzilla.py
3816 * Scripts/modules/bugzilla.py:
3818 2009-07-24 Eli Fidler <eli.fidler@torchmobile.com>
3820 Reviewed by Adam Treat.
3822 Improve git workflow by populating commit messages with ChangeLog entries.
3823 https://bugs.webkit.org/show_bug.cgi?id=27605
3825 If the user doesn't manually modify the ChangeLog files, use
3826 prepare-ChangeLog to populate the git commit message. This behaviour
3827 can be disabled by the 'webkitGenerateCommitMessage' git configuration option.
3829 * Scripts/commit-log-editor:
3831 2009-07-24 David Levin <levin@chromium.org>
3833 Reviewed by Adam Treat.
3835 cpplint crash when there is a duplicate header followed by another header.
3836 https://bugs.webkit.org/show_bug.cgi?id=27625
3838 * Scripts/modules/cpplint.py: Ensure that include_state.header_types is updated even
3839 there is a duplicate header, which resulted in some code rearrangement. Also,
3840 changed some if's in this function to return early. This avoids having nearly the
3841 whole function content being indented.
3842 * Scripts/modules/cpplint_unittest.py: Added a test which would have exposed the crash.
3844 2009-07-24 Jakob Petsovits <jakob.petsovits@torchmobile.com>
3846 Reviewed by Adam Treat.
3848 Filetype support changes for cpplint and check_webkit_style
3849 https://bugs.webkit.org/show_bug.cgi?id=27653
3851 Introduce .c support for check_webkit_style, and remove support for
3852 .cc files in favor of .cpp.
3854 * Scripts/check-webkit-style:
3855 * Scripts/modules/cpplint.py:
3856 * Scripts/modules/cpplint_unittest.py:
3858 2009-07-24 Eli Fidler <eli.fidler@torchmobile.com>
3860 Reviewed by David Levin.
3862 Improve git workflow by populating commit messages with ChangeLog entries.
3863 https://bugs.webkit.org/show_bug.cgi?id=27605
3865 add --[no-]write prepare-ChangeLog options to bash completion
3867 * Scripts/webkit-tools-completion.sh:
3869 2009-07-24 Andrei Popescu <andreip@google.com>
3871 Reviewed by Anders Carlsson.
3873 ApplicationCache should have size limit
3874 https://bugs.webkit.org/show_bug.cgi?id=22700
3876 Adds a new method on the LayoutTestController that
3877 allows a JS unit test to configure the maximum size
3878 of the Application Cache.
3880 * DumpRenderTree/LayoutTestController.cpp:
3881 (setAppCacheMaximumSizeCallback):
3882 (LayoutTestController::staticFunctions):
3883 * DumpRenderTree/LayoutTestController.h:
3884 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3885 (LayoutTestController::setAppCacheMaximumSize):
3886 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3887 (LayoutTestController::setAppCacheMaximumSize):
3888 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3889 (LayoutTestController::setAppCacheMaximumSize):
3890 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
3891 (LayoutTestController::setAppCacheMaximumSize):
3893 2009-07-24 Adam Barth <abarth@webkit.org>
3895 Rubber stamped by Eric Seidel.
3897 Added andersca to list of reviewers.
3899 * Scripts/modules/bugzilla.py:
3901 2009-07-24 Mark Rowe <mrowe@apple.com>
3903 Reviewed by Xan Lopez.
3905 Fix dozens of "Deallocation of a pointer not malloced" messages seen while running
3906 layout tests on the build bot.
3908 Memory allocated via FastMalloc was being deleted via the system memory allocator
3909 due to an inconsistent including of FastMalloc.h. We address this by including it
3910 from config.h and including config.h from every implementation file, as in our other
3913 * DumpRenderTree/ForwardingHeaders/wtf/FastMalloc.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/FastMalloc.h.
3914 * DumpRenderTree/config.h:
3915 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3916 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3917 * DumpRenderTree/mac/AppleScriptController.m:
3918 * DumpRenderTree/mac/CheckedMalloc.cpp:
3919 * DumpRenderTree/mac/DumpRenderTree.mm:
3920 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
3921 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
3922 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
3923 * DumpRenderTree/mac/EditingDelegate.mm:
3924 * DumpRenderTree/mac/EventSendingController.mm:
3925 * DumpRenderTree/mac/FrameLoadDelegate.mm:
3926 * DumpRenderTree/mac/GCControllerMac.mm:
3927 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3928 * DumpRenderTree/mac/NavigationController.m:
3929 * DumpRenderTree/mac/ObjCController.m:
3930 * DumpRenderTree/mac/ObjCPlugin.m:
3931 * DumpRenderTree/mac/ObjCPluginFunction.m:
3932 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
3933 * DumpRenderTree/mac/PlainTextController.mm:
3934 * DumpRenderTree/mac/PolicyDelegate.mm:
3935 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3936 * DumpRenderTree/mac/TextInputController.m:
3937 * DumpRenderTree/mac/UIDelegate.mm:
3938 * DumpRenderTree/mac/WorkQueueItemMac.mm:
3940 2009-07-24 Mark Rowe <mrowe@apple.com>
3942 Reviewed by Simon Hausmann.
3944 Add a command line option to run-javascriptcore-tests to explicitly opt out of attempting to rebuild JavaScriptCore.
3945 This is primarily useful to speed up the build bots where one machine builds JavaScriptCore and a second runs the tests,
3946 leading to situations where the build system unnecessarily feels that the need to recompile.
3948 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3949 * Scripts/run-javascriptcore-tests:
3951 2009-07-23 Jan Michael Alonzo <jmalonzo@webkit.org>
3953 Reviewed by Eric Seidel.
3955 [Gtk] Add implementation of GCController for DRT
3956 https://bugs.webkit.org/show_bug.cgi?id=27636
3958 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3959 (webViewWindowObjectCleared):
3961 * DumpRenderTree/gtk/GCControllerGtk.cpp:
3962 (GCController::collect):
3963 (GCController::collectOnAlternateThread):
3964 (GCController::getJSObjectCount):
3966 2009-07-23 Mark Rowe <mrowe@apple.com>
3968 Update build.webkit.org config for new machine.
3970 * BuildSlaveSupport/build.webkit.org-config/config.json:
3972 2009-07-23 Brady Eidson <beidson@apple.com>
3974 Remove accidentally checked in code.
3976 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3977 (waitUntilDoneWatchdogFired):
3978 (LayoutTestController::setWaitToDump):
3980 2009-07-23 Brady Eidson <beidson@apple.com>
3982 Reviewed by Geoff Garen.
3984 WebCore has a few places that don't gracefully handle a null request returned from willSendRequest.
3985 https://bugs.webkit.org/show_bug.cgi?id=27595
3987 Add the ability to tell the LayoutTestController to return a null request for willSendRequest
3990 * DumpRenderTree/LayoutTestController.cpp:
3991 (LayoutTestController::LayoutTestController):
3992 (setWillSendRequestReturnsNullOnRedirectCallback):
3993 (LayoutTestController::staticFunctions):
3994 * DumpRenderTree/LayoutTestController.h:
3995 (LayoutTestController::willSendRequestReturnsNullOnRedirect):
3996 (LayoutTestController::setWillSendRequestReturnsNullOnRedirect):
3998 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3999 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
4000 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
4001 (ResourceLoadDelegate::willSendRequest):
4003 2009-07-23 Mark Rowe <mrowe@apple.com>
4005 Reviewed Oliver Hunt.
4007 Fix DumpRenderTree to not fail an assertion on launch on a new machine.
4009 * DumpRenderTree/mac/DumpRenderTree.mm:
4010 (setDefaultsToConsistentValuesForTesting): Disable the XSS auditor. It being enabled
4011 breaks all of the JavaScript tests within testStringByEvaluatingJavaScriptFromString,
4012 which causes us to exit due to an assertion failure. It's not clear why the XSS auditor
4013 decides to interfere with these tests.
4015 2009-07-23 Mark Rowe <mrowe@apple.com>
4017 Reviewed by Oliver Hunt.
4019 Update default state of the XSS auditor in GTK DumpRenderTree to match Mac and Windows
4020 in hopes of fixing some layout test failures seen on the build bot.
4022 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4023 (resetWebViewToConsistentStateBeforeTesting):
4025 2009-07-23 Jakob Petsovits <jakob.petsovits@torchmobile.com>
4027 Reviewed by Adam Treat.
4029 Fix false positives for switch statement indentation check in cpplint.
4030 https://bugs.webkit.org/show_bug.cgi?id=27615
4032 Makes one-line case statements (e.g. "case foo: bar();") work.
4033 Also a few general improvements to the robustness and readability of
4034 the check, and more test cases.
4036 * Scripts/modules/cpplint.py:
4037 * Scripts/modules/cpplint_unittest.py:
4039 2009-07-23 Jakob Petsovits <jakob.petsovits@torchmobile.com>
4041 Reviewed by Adam Treat.
4043 Add check for line-breaking rule #3 to cpplint.
4044 https://bugs.webkit.org/show_bug.cgi?id=27610
4046 "An else if statement should be written as an if statement when
4047 the prior if concludes with a return statement."
4049 Implemented by a multi-line (kind of back-tracking) algorithm.
4050 Comes with loads of unit tests. Fixes the check for label indentation
4051 to be not so overzealous, as it didn't allow for completely unindented
4052 goto labels (at the very start of a line).
4054 * Scripts/modules/cpplint.py:
4055 * Scripts/modules/cpplint_unittest.py:
4057 2009-07-23 Eli Fidler <eli.fidler@torchmobile.com>
4059 Reviewed by Adam Treat.
4061 Improve git workflow by populating commit messages with ChangeLog entries.
4062 https://bugs.webkit.org/show_bug.cgi?id=27605
4064 add --[no-]write option to optionally output new ChangeLog entries to
4065 stdout instead of modifying ChangeLog files
4067 fix Torch Mobile copyright
4069 * Scripts/prepare-ChangeLog:
4071 2009-07-23 Jakob Petsovits <jakob.petsovits@torchmobile.com>
4073 Reviewed by Adam Treat.
4075 Enable cpplint for .c files.
4076 https://bugs.webkit.org/show_bug.cgi?id=27604
4078 Also make sure that the check for NULL does not apply to .c files.
4080 * Scripts/modules/cpplint.py:
4081 * Scripts/modules/cpplint_unittest.py:
4083 2009-07-22 Steve Falkenburg <sfalken@apple.com>
4085 Checkpoint new Windows nightly launcher.
4087 Reviewed by Mark Rowe.
4089 * WebKitLauncherWin: Added.
4090 * WebKitLauncherWin/Resource.h: Added.
4091 * WebKitLauncherWin/WebKitLauncherWin.cpp: Added.
4092 (getStringValue): Retrieve a string registry value.
4093 (applePathFromRegistry): Get an Apple-related path out of the registry.
4094 (copyEnvironmentVariable): Copy an environment variable.
4095 (safariInstallDir): Helper function to get the install directory for Safari.
4096 (safariBrowserExe): Helper function to get the full path of the Safari executable.
4097 (_tWinMain): Locate Safari and launch it after setting up an environment variable.
4098 * WebKitLauncherWin/WebKitLauncherWin.h: Added.
4099 * WebKitLauncherWin/WebKitLauncherWin.rc: Added.
4100 * WebKitLauncherWin/WebKitLauncherWin.vcproj: Added.
4101 * WebKitLauncherWin/webkit.ico: Added.
4103 2009-07-22 David Levin <levin@chromium.org>
4105 Reviewed by Adam Treat.
4107 run-webkit-lint should be named check-webkit-style
4108 https://bugs.webkit.org/show_bug.cgi?id=27568
4110 This name better reflects the fact that it is about checking the style of files.
4112 * Scripts/check-webkit-style: Renamed from WebKitTools/Scripts/run-webkit-lint.
4114 2009-07-22 Takeshi Yoshino <tyoshino@google.com>
4116 Reviewed by Darin Adler.
4118 VC++ 2005 Express failed to build WebKit due to raw UTF-8 string in WebKit/win/WebCoreLocalizedStrings.cpp
4119 https://bugs.webkit.org/show_bug.cgi?id=26375
4121 Make it able to use hexadecimal escape sequences in .*UI_STRING(_KEY)? macros. Now,
4122 the extract-localizable-strings script unescapes hexadecimal escape sequences in string literals
4123 in the macros before writing out them into the file to update.
4125 By this fix, we can eliminate raw UTF-8 strings in source code while using raw UTF-16 big endian
4126 strings in the Localizable.strings file.
4128 Bonus: There's no longer extract-webkit-localizable-strings script. Fix usage message to guide
4129 users to update-webkit-localizable-strings.
4131 * Scripts/extract-localizable-strings:
4133 2009-07-22 Shinichiro Hamaji <hamaji@google.com>
4135 Reviewed by David Levin.
4137 Tiny typo fixes for cpplint.py
4138 https://bugs.webkit.org/show_bug.cgi?id=27530
4140 * Scripts/modules/cpplint.py:
4142 2009-07-22 Shinichiro Hamaji <hamaji@chromium.org>
4144 Reviewed by David Levin.
4146 run-webkit-lint checks code which are not changed
4147 https://bugs.webkit.org/show_bug.cgi?id=27529
4149 Add check if the line is newly added.
4151 * Scripts/run-webkit-lint:
4153 2009-07-22 Shinichiro Hamaji <hamaji@chromium.org>
4155 Reviewed by David Levin.
4157 run-webkit-lint should have --git-commit option
4158 https://bugs.webkit.org/show_bug.cgi?id=27528
4160 * Scripts/modules/cpplint.py:
4161 * Scripts/run-webkit-lint:
4163 2009-07-22 Peter Kasting <pkasting@google.com>
4165 Reviewed by David Kilzer.
4167 https://bugs.webkit.org/show_bug.cgi?id=27323
4168 Factor svn-create-patch's "determineSvnRoot()" into a function in
4169 VCSUtils.pm so commit-log-editor can use it too.
4171 * Scripts/VCSUtils.pm: Add determineSVNRoot().
4172 * Scripts/commit-log-editor: Use determineSVNRoot() instead of old
4173 code (which didn't work as well).
4174 * Scripts/svn-create-patch: Remove determineSvnRoot() (moved).
4176 2009-07-22 Jakob Petsovits <jakob.petsovits@torchmobile.com>
4178 Reviewed by Adam Treat.
4180 Fix false positives in namespace indentation checks.
4181 https://bugs.webkit.org/show_bug.cgi?id=27567
4183 The regular expression detecting goto labels (in order
4184 to skip those) was too permissive, which caused other
4185 code like "Foo::Bar()" to be treated as a label too,
4186 thereby not stopping the processing loop as expected.
4188 Now comes with a stricter regexp, and more demanding
4189 test cases to check for these issues.
4191 * Scripts/modules/cpplint.py:
4192 * Scripts/modules/cpplint_unittest.py:
4194 2009-07-22 Jakob Petsovits <jakob.petsovits@torchmobile.com>
4196 Reviewed by Adam Treat.
4198 Fix cpplint generating false positives for
4199 "primary" includes in headers.
4200 https://bugs.webkit.org/show_bug.cgi?id=27553
4202 Doing so by only flagging includes in header files
4203 as primary when the include filename exactly matches
4204 the header filename.
4206 * Scripts/modules/cpplint.py:
4207 * Scripts/modules/cpplint_unittest.py:
4209 2009-07-22 Jakob Petsovits <jakob.petsovits@torchmobile.com>
4211 Reviewed by Adam Treat.
4213 cpplint generates false positives for primary includes
4214 https://bugs.webkit.org/show_bug.cgi?id=27544
4216 Fix false positives for instances when cpplint would
4217 normally classify multiple includes as primary: After
4218 the first primary include, classify subsequent ones as
4219 "other" includes even if they look like primary ones.
4221 * Scripts/modules/cpplint.py:
4222 * Scripts/modules/cpplint_unittest.py:
4224 2009-07-22 Gabor Rapcsanyi <rapcsanyi.gabor@stud.u-szeged.hu>
4226 Reviewed by Simon Hausmann.
4228 Pass XAUTHORITY environment variable to $dumpTool as well.
4230 * Scripts/run-webkit-tests:
4232 2009-07-21 Jakob Petsovits <jakob.petsovits@torchmobile.com>
4234 Reviewed by Adam Treat.
4236 Add check for correct wtf includes to cpplint.
4237 https://bugs.webkit.org/show_bug.cgi?id=27524
4239 * Scripts/modules/cpplint.py:
4240 * Scripts/modules/cpplint_unittest.py:
4242 2009-07-21 Jakob Petsovits <jakob.petsovits@torchmobile.com>
4244 Reviewed by David Levin.
4246 Add checks for multi-line boolean operator placement.
4247 https://bugs.webkit.org/show_bug.cgi?id=27496
4249 * Scripts/modules/cpplint.py:
4250 * Scripts/modules/cpplint_unittest.py:
4252 2009-07-21 Adam Treat <adam.treat@torchmobile.com>
4254 Reviewed by David Levin.
4256 We can't match implementation file and primary header exactly
4257 since we have so many files in WebKit where the port suffix
4258 is appended to the filename.
4260 Example: FooQt.cpp and the primary header is Foo.h.
4262 * Scripts/modules/cpplint.py:
4264 2009-07-21 Jakob Petsovits <jakob.petsovits@torchmobile.com>
4266 Reviewed by David Levin.
4268 Add checks for switch statement indentation to cpplint.
4269 https://bugs.webkit.org/show_bug.cgi?id=27508
4271 * Scripts/modules/cpplint.py:
4272 * Scripts/modules/cpplint_unittest.py:
4274 2009-07-21 Kenneth Rohde Christiansen <kenneth@webkit.org>
4276 Reviewed by Adam Treat.
4278 Feature request: cpplint should check for braces - rule 2
4279 https://bugs.webkit.org/show_bug.cgi?id=27497
4281 Add the requested feature: Make sure { is on the same line
4282 as the foreach "keyword".
4284 * Scripts/modules/cpplint.py:
4285 * Scripts/modules/cpplint_unittest.py:
4287 2009-07-20 Jakob Petsovits <jakob.petsovits@torchmobile.com>
4289 Reviewed by David Levin.
4291 Add checks for namespace indentation to cpplint.
4292 https://bugs.webkit.org/show_bug.cgi?id=27461
4294 * Scripts/modules/cpplint.py:
4295 * Scripts/modules/cpplint_unittest.py:
4297 2009-07-20 Adam Treat <adam.treat@torchmobile.com>
4299 Reviewed by David Levin.
4301 Add cpplint check for proper include order
4302 https://bugs.webkit.org/show_bug.cgi?id=27462
4304 Add a new check to cpplint to flag cases where the include section of a file
4305 does not match the mandated include order and style of the Webkit coding style
4308 Add associated tests.
4310 * Scripts/modules/cpplint.py:
4311 * Scripts/modules/cpplint_unittest.py:
4313 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
4315 Reviewed by David Levin.
4317 Support lint for patches
4318 https://bugs.webkit.org/show_bug.cgi?id=27291
4320 Add run-webkit-lint script, which lints recent changes in local
4321 repository. Also, modified cpplint.py so that we don't need to
4322 specify verbose level for process_file().
4324 * Scripts/modules/cpplint.py:
4325 * Scripts/run-webkit-lint: Added.
4327 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
4329 Reviewed by David Levin.
4331 diff_parser should accept lines without trailing \n
4332 https://bugs.webkit.org/show_bug.cgi?id=27483
4334 Normalize the input lines by removing a trailing newline.
4335 Also, add a case for unittest for newly added files.
4337 * Scripts/modules/diff_parser.py:
4338 * Scripts/modules/diff_parser_unittest.py:
4340 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
4342 Reviewed by David Levin.
4344 cpplint.py's process_file() should accept customized error function
4345 https://bugs.webkit.org/show_bug.cgi?id=27487
4347 * Scripts/modules/cpplint.py:
4349 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
4351 Reviewed by David Levin.
4353 cpplint.py should have an interface to get global error count
4354 https://bugs.webkit.org/show_bug.cgi?id=27486
4356 * Scripts/modules/cpplint.py:
4357 * Scripts/modules/cpplint_unittest.py:
4359 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
4361 Reviewed by David Levin.
4363 cpplint's parse_argument should not exit even if no files are specified
4364 https://bugs.webkit.org/show_bug.cgi?id=27489
4366 * Scripts/modules/cpplint.py:
4367 * Scripts/modules/cpplint_unittest.py:
4369 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
4371 Reviewed by David Levin.
4373 diff_parser: s/add_deleted_line/add_old_line/g
4374 https://bugs.webkit.org/show_bug.cgi?id=27484
4376 * Scripts/modules/diff_parser.py:
4378 2009-07-21 Roland Steiner <rolandsteiner@google.com>
4380 Reviewed by David Levin.
4382 Add ENABLE_RUBY to list of build options
4383 https://bugs.webkit.org/show_bug.cgi?id=27324
4385 * Scripts/build-webkit: Added flag ENABLE_RUBY.
4387 2009-07-20 Mark Rowe <mrowe@apple.com>
4389 Reviewed by David D. Kilzer.
4391 Fix <https://bugs.webkit.org/show_bug.cgi?id=27482>.
4392 Bug 27482: svn-apply cannot apply patch generated by Windows SVN
4394 A regexp in svn-apply was treating everything prior to a \n as part of the
4395 file name. The native Windows SVN client uses \r\n for line endings which
4396 meant that the \r was being included in the file name. This defeated the
4397 special-case logic for ChangeLogs to apply them with an increased fuzz factor,
4398 meaning that the ChangeLog portions of such patches would fail to apply.
4400 Also updated two other regexps that look like they would hit similar problems
4401 with line-endings so that they will correctly handle patches from Windows SVN.
4403 * Scripts/svn-apply:
4405 2009-07-20 Peter Kasting <pkasting@google.com>
4407 Reviewed by Mark Rowe.
4409 https://bugs.webkit.org/show_bug.cgi?id=27468
4410 Back out r46060, which caused problems for some Apple developers.
4412 * DumpRenderTree/win/DumpRenderTree.vcproj:
4413 * DumpRenderTree/win/ImageDiff.vcproj:
4414 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4416 2009-07-20 Peter Kasting <pkasting@google.com>
4418 Reviewed by Darin Adler.
4420 https://bugs.webkit.org/show_bug.cgi?id=27323