2009-08-25 Cameron McCormack Reviewed by Darin Adler. make-script-test-wrappers should be executable https://bugs.webkit.org/show_bug.cgi?id=28669 Make make-script-test-wrappers and update-sources-list.py both be executable. * Scripts/update-sources-list.py: * Scripts/make-script-test-wrappers: 2009-08-25 Brent Fulgham Build fix Revise Debug_Cairo targets to point inherit from the debug_wincairo.vsprops property sheet so that they link against the proper libraries in Debug build. * DumpRenderTree/win/DumpRenderTree.vcproj: * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: * WinLauncher/WinLauncher.vcproj: 2009-08-25 David Levin Reviewed by Adam Roben. PLATFORM(CFNETWORK) should be USE(CFNETWORK). https://bugs.webkit.org/show_bug.cgi?id=28713 * DumpRenderTree/win/DumpRenderTree.cpp: (main): 2009-08-25 Tor Arne Vestbø Reviewed by Ariya Hidayat. [Qt/Mac] Use CONFIG+=build_all only when building libraries If no configuration is specified when building WebKit we pass the debug_and_release option to QMake which results in Makefiles for both configurations being generated. Previously we built both of these configurations by default, for all targets (both the QtWebKit framework/dyldlib and the various executables such as QtLauncher and tests). This makes sense for the libraries, which get the _debug suffix and can be loaded on demand by setting the DYLD_IMAGE_SUFFIX, but for executables we ended up building the same executable twice. We now only build one instance of each executable, and since this is a developer build we build the debug-version. Passing either --debug or --release to build-webkit will override this, and even in the default case the release version can still be built by running 'make release' in the the build directory of each target. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro: * Scripts/webkitdirs.pm: 2009-08-24 Hironori Bono Reviewed by Adam Barth. Fix Bug 27827 "[Chromium] Functions Keys don't work in google spreadsheet". . Because of the lack of mappings from GDK key-codes to WebKit key-codes, Chromium cannot send valid key-codes to JavaScript when a user types function keys. This change just copies the mappings from 'KeyEventGtk.cpp'. To write layout tests for this issue, added mappings from function-key names to platform-specific key-codes to EventSendingController objects so that eventSender.keyDown() can send function-key events without using platform-specific key codes. (Unfortunately, this eventSender.keyDown() change is only for Mac. So this change adds this new test to Skipped tests for other platforms to prevent this change from crashing the build trees.) * DumpRenderTree/mac/EventSendingController.mm: (-[EventSendingController keyDown:withModifiers:]): 2009-08-23 Jan Michael Alonzo Reviewed by Xan Lopez. [Gtk] API for disabling local file access to web URLs https://bugs.webkit.org/show_bug.cgi?id=28663 Enable this setting for DRT. * DumpRenderTree/gtk/DumpRenderTree.cpp: (resetWebViewToConsistentStateBeforeTesting): 2009-08-22 Adam Barth Revert 47684. We're going to do this later once clients have had a chance to opt into the setting they like. * DumpRenderTree/mac/DumpRenderTree.mm: (resetDefaultsToConsistentValues): * DumpRenderTree/qt/DumpRenderTree.cpp: (WebCore::WebPage::WebPage): * DumpRenderTree/win/DumpRenderTree.cpp: (resetDefaultsToConsistentValues): 2009-08-22 Adam Barth Reviewed by Eric Seidel. Don't let local files access web URLs https://bugs.webkit.org/show_bug.cgi?id=28480 A bunch of our LayoutTests rely on our old behavior, so we explicitly grant local files universal access during testing. Mainly, these tests involve making XMLHttpRequests for data URLs. * DumpRenderTree/mac/DumpRenderTree.mm: (resetDefaultsToConsistentValues): * DumpRenderTree/qt/DumpRenderTree.cpp: (WebCore::WebPage::WebPage): * DumpRenderTree/win/DumpRenderTree.cpp: (resetDefaultsToConsistentValues): 2009-08-22 Mark Rowe Rubber-stamped by Anders Carlsson. Bring signed updates to the Mac nightly builds. * WebKitLauncher/Info.plist: * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: * WebKitLauncher/WebKitNightlyEnablerSparkle.m: (initializeSparkle): * WebKitLauncher/nightly.webkit.org.public.pem: Added. 2009-08-21 Jan Michael Alonzo Rubberstamped by Simon Fraser. Remove GNOME keyring support in build-webkit. This dependency's already been removed in the Gtk port. * Scripts/build-webkit: 2009-08-20 Brian Weinstein Reviewed by Adam Roben. Based on original patch by Stephanie Lewis. Added support of the Windows malloc history format to parse-malloc history, so we can read and parse it. * Scripts/parse-malloc-history: 2009-08-20 Chris Fleizach Reviewed by Darin Adler. Enable various "grouping" ARIA roles https://bugs.webkit.org/show_bug.cgi?id=28486 Expose the ability to retrieve the subrole through accessibility for DRT. * DumpRenderTree/AccessibilityUIElement.cpp: * DumpRenderTree/AccessibilityUIElement.h: * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: * DumpRenderTree/mac/AccessibilityUIElementMac.mm: * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 2009-08-20 Joseph Pecoraro Unreviewed. Added myself as a committer. * Scripts/modules/committers.py: 2009-08-20 Xan Lopez Reviewed by Gustavo Noronha. Fix memory leaks. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::whiteListAccessFromOrigin): (LayoutTestController::pauseAnimationAtTimeOnElementWithId): (LayoutTestController::pauseTransitionAtTimeOnElementWithId): 2009-08-20 Eric Seidel Reviewed by Adam Barth. bugzilla-tool post-diff can post partial diffs from SVN checkouts. https://bugs.webkit.org/show_bug.cgi?id=28445 Pass the checkout root as the cwd. Also wrote a test to ensure this. * Scripts/modules/scm.py: * Scripts/modules/scm_unittest.py: 2009-08-20 Mark Rowe Reviewed by Adele Peterson. Don't leak the JSStringRef returned by AccessibilityUIElement::attributeValue. * DumpRenderTree/AccessibilityUIElement.cpp: (attributeValueCallback): 2009-08-20 Ariya Hidayat Unreviewed, build fix. [Qt] The template-based qMax() compares two qreals. * DumpRenderTree/qt/ImageDiff.cpp: (main): 2009-08-20 David Levin Reviewed by David Kilzer. bugzilla-tool patch retrieval should handle 302 redirects. https://bugs.webkit.org/show_bug.cgi?id=28485 * Scripts/modules/scm.py: Pass the --location parameter to curl so that 302's are followed. 2009-08-20 Aaron Boodman One more speculative build for gtk. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 2009-08-20 Aaron Boodman Speculative build for gtk. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::whiteListAccessFromOrigin): 2009-08-20 Mark Rowe Ignore some leaks that are known to originate from ImageIO. * Scripts/run-webkit-tests: 2009-08-20 Aaron Boodman With David Levin. Speculative build fix for qt. * DumpRenderTree/qt/jsobjects.cpp: (LayoutTestController::whiteListAccessFromOrigin): * DumpRenderTree/qt/jsobjects.h: 2009-08-19 Mark Rowe Reviewed by Dan Bernstein. Fix Plug-in-related leaks seen on the build bot Update check-for-global-initializers to accommodate the new uses of RefCountedLeakCounter in WebKit. * Scripts/check-for-global-initializers: 2009-08-19 Aaron Boodman Reviewed by David Levin. https://bugs.webkit.org/show_bug.cgi?id=24853: Provide a way for WebKit clients to specify a more granular policy for cross-origin XHR access. * DumpRenderTree/LayoutTestController.cpp: Expose whiteListAccessFromOrigin() to layout tests. (whiteListAccessFromOriginCallback): Ditto. (LayoutTestController::staticFunctions): Ditto. * DumpRenderTree/LayoutTestController.h: Ditto. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Ditto. (LayoutTestController::whiteListAccessToOrigin): Ditto. * DumpRenderTree/mac/LayoutTestControllerMac.mm: Ditto. (LayoutTestController::whiteListAccessFromOrigin): Ditto. * DumpRenderTree/qt/jsobjects.cpp: Ditto. (LayoutTestController::whiteListAccessFromOrigin): Ditto. * DumpRenderTree/win/LayoutTestControllerWin.cpp: Stub out whiteListAccessFromOrigin(). (LayoutTestController::whiteListAccessFromOrigin): Ditto. * DumpRenderTree/gtk/DumpRenderTree.cpp: Reset origin access lists before each test. (resetWebViewToConsistentStateBeforeTesting): Ditto. * DumpRenderTree/mac/DumpRenderTree.mm: Ditto. (resetWebViewToConsistentStateBeforeTesting): Ditto. * DumpRenderTree/qt/DumpRenderTree.cpp: Ditto. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): Ditto. 2009-08-19 Mark Rowe Rubber-stamped by Dan Bernstein. Ignore some leaks that are known to originate from QTKit. * Scripts/run-webkit-tests: 2009-08-19 Eric Seidel Reviewed by Adam Barth. commit-queue/bugzilla-tool can get wedged if git is mid-rebase https://bugs.webkit.org/show_bug.cgi?id=28436 Make clean_working_directory cancel rebases too (even though that's a bit of a hack). This code will only ever be run when --force-clean is passed. I also added a new unit test to make sure this code actually works. :) * Scripts/modules/scm.py: * Scripts/modules/scm_unittest.py: 2009-08-19 Eric Seidel Reviewed by David Levin. WebKit needs a changelogs.py to hold changelog-related code https://bugs.webkit.org/show_bug.cgi?id=28477 This is moving code and adding tests. There was only one functional change (which was removing a trailing newline from the last_entry() result). * Scripts/bugzilla-tool: * Scripts/modules/changelogs.py: Added. * Scripts/modules/changelogs_unittest.py: Added. * Scripts/run-webkit-unittests: 2009-08-20 Eric Seidel Reviewed by Adam Barth. bugzilla-tool needs a way to ask build.webkit.org if the bots are passing https://bugs.webkit.org/show_bug.cgi?id=28222 Basic support for now. This has been in testing for 24 hours now and worked great! * Scripts/bugzilla-tool: * Scripts/modules/buildbot.py: Added. * Scripts/modules/buildbot_unittest.py: Added. * Scripts/run-webkit-unittests: 2009-08-19 Jan Michael Alonzo Reviewed by Gustavo Noronha. [Gtk] Bump waitToDumpWatchdog interval to 15 seconds to match the default timeout used by run-webkit-tests. Mac and Win ports were recently bumped in http://trac.webkit.org/changeset/r47465. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::setWaitToDump): 2009-08-19 David D. Kilzer DumpRenderTreeSupport.pm: provide pre-generated swig source for Tiger Reviewed by Mark Rowe. Provide pre-generated swig source files for Tiger so it may benefit from the faster run-webkit-tests. * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupportTiger.pm: Generated by swig. * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport_wrapTiger.c: Added. Generated by swig. (swig_type_info::SWIG_TypeNameComp): (swig_type_info::SWIG_TypeEquiv): (swig_type_info::SWIG_TypeRegisterTL): (swig_type_info::SWIG_TypeCheck): (swig_type_info::SWIG_TypeCast): (swig_type_info::SWIG_TypeDynamicCast): (swig_type_info::SWIG_TypeName): (swig_type_info::SWIG_TypePrettyName): (swig_type_info::SWIG_TypeQueryTL): (swig_type_info::SWIG_TypeClientDataTL): (swig_type_info::SWIG_PackData): (swig_type_info::SWIG_UnpackData): (swig_type_info::SWIG_PropagateClientDataTL): (swig_type_info::SWIG_PackVoidPtr): (swig_type_info::SWIG_UnpackVoidPtr): (swig_type_info::SWIG_PackDataName): (swig_type_info::SWIG_UnpackDataName): * DumpRenderTree/mac/PerlSupport/Makefile: Updated to build on Tiger using pre-generated files. 2009-08-18 Shinichiro Hamaji Reviewed by David Kilzer. run-webkit-tests hangs when WebCore tries to log too much https://bugs.webkit.org/show_bug.cgi?id=15743 Read stdout and stderr in parallel. * Scripts/run-webkit-tests: 2009-08-18 Mark Rowe Rubber-stamped by Oliver Hunt. Add a new build configuration that checks for leaks during the layout tests, and hook a new machine up to it. * BuildSlaveSupport/build.webkit.org-config/config.json: * BuildSlaveSupport/build.webkit.org-config/master.cfg: 2009-08-18 Aaron Boodman Reviewed by Maciej Stachowiak. https://bugs.webkit.org/show_bug.cgi?id=28412: Leak of WebCore::XMLHttpRequest object during layout tests. No new tests: Already covered by existing tests. * Scripts/check-for-global-initializers: Allow global initialization of WTF::RefCountedLeakCounter for XMLHttpRequest. 2009-08-18 Mark Rowe Rubber-stamped by Geoff Garen. Bump waitToDumpWatchdogInterval to 15 seconds to match the time-out used by run-webkit-tests. * DumpRenderTree/mac/LayoutTestControllerMac.mm: * DumpRenderTree/win/LayoutTestControllerWin.cpp: 2009-08-18 Brian Weinstein Rubber-stamped by Adam Roben. Changed use of CComBSTR in exceededDatabaseQuota to BSTRs, and free them, and removed include to fix building on VC++ Express. * DumpRenderTree/win/UIDelegate.cpp: (UIDelegate::exceededDatabaseQuota): 2009-08-18 Brian Weinstein Reviewed by Oliver Hunt. Fix of DRT on Windows doesn't support LayoutTestController::setQuota or print a callback on UIDelegate::exceededDatabaseQuota. Implemenent setDatabaseQuota and added a new function to the IWebDatabaseManager interface. Also added a console output on UIDelegate::exceededDatabaseQuota to match the mac. * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::setDatabaseQuota): * DumpRenderTree/win/UIDelegate.cpp: (UIDelegate::exceededDatabaseQuota): 2009-08-18 Peter Kasting Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=28415 Set svn:eol-style CRLF on all .sln and .vcproj files that don't already have it. * record-memory-win/record-memory-win.vcproj: * WinLauncher/WinLauncher.vcproj: * WebKitLauncherWin/WebKitLauncherWin.vcproj: * DumpRenderTree/win/ImageDiff.vcproj: * FindSafari/FindSafari.vcproj: 2009-08-18 Drew Wilson Reviewed by Eric Seidel. Need to extend DumpRenderTree to expose number of worker threads https://bugs.webkit.org/show_bug.cgi?id=28292 Added layoutTestController.workerThreadCount, and implementations on various platforms that call into WebKit. * DumpRenderTree/LayoutTestController.cpp: (getWorkerThreadCountCallback): (LayoutTestController::staticValues): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::workerThreadCount): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::workerThreadCount): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::workerThreadCount): * DumpRenderTree/wx/LayoutTestControllerWx.cpp: (LayoutTestController::workerThreadCount): 2009-08-18 Xan Lopez Reviewed by Jan Alonzo. Initialize x and y in the GtkAllocation structure to shut up valgrind. * DumpRenderTree/gtk/DumpRenderTree.cpp: (runTest): 2009-08-17 Shinichiro Hamaji Reviewed by Darin Adler. Some HTMLs are modified by make-script-test-wrappers https://bugs.webkit.org/show_bug.cgi?id=28213 Add fast/js/const.js and fast/canvas/canvas-2d-imageData-create-nonfinite.js into the exclude list, modified fast/dom/Geolocation/resources/TEMPLATE.html, and re-generated wml/* and Geolocation/* . * Scripts/make-script-test-wrappers: 2009-08-17 Shinichiro Hamaji Reviewed by Eric Seidel. -webkit-box-orient:horizontal doesn't work on