Timeline
Aug 14, 2010:
- 6:29 PM Changeset in webkit [65378] by
-
- 2 edits in trunk/LayoutTests
2010-08-14 Martin Robinson <mrobinson@igalia.com>
[GTK] Some test results are one pixel different between the x86_64 and i386 bots
https://bugs.webkit.org/show_bug.cgi?id=39022
- platform/gtk/Skipped: Skip MathML tests which show 32-bit/64-bit rounding differences.
- 5:52 PM Changeset in webkit [65377] by
-
- 2 edits in trunk/WebKitTools
2010-08-14 Martin Robinson <mrobinson@igalia.com>
Reviewed by Kenneth Rohde Christiansen.
[GTK] autogen.sh not executed if build-webkit options change
https://bugs.webkit.org/show_bug.cgi?id=42266
Rerun autogen.sh in situations where the arguments to build-webkit have
changed since the previous build. This will fix some issues on the bots
where the build does not notice changes to default build-webkit arguments.
- Scripts/webkitdirs.pm: Add special logic for detecting changes to build-webkit arguments.
- 4:34 PM Changeset in webkit [65376] by
-
- 2 edits in trunk/WebCore
2010-08-14 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r65374.
http://trac.webkit.org/changeset/65374
https://bugs.webkit.org/show_bug.cgi?id=44018
broke a myriad of svg tests (Requested by kling on #webkit).
- platform/graphics/qt/PathQt.cpp: (WebCore::Path::strokeBoundingRect):
- 4:29 PM Changeset in webkit [65375] by
-
- 3 edits in trunk/WebCore
2010-08-14 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
XSLTProcessor.transformToFragment should not pass contextElement to html/xml document parsers
https://bugs.webkit.org/show_bug.cgi?id=44017
This fixes two tests which otherwise would fail when the
HTML5 TreeBuilder is enabled for fragment parsing.
This revealed a bug in HTMLTreeBuilder() which I fixed as well.
- html/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
- xml/XSLTProcessor.cpp: (WebCore::createFragmentFromSource):
- 3:44 PM Changeset in webkit [65374] by
-
- 2 edits in trunk/WebCore
2010-08-14 Andreas Kling <andreas.kling@nokia.com>
Reviewed by Ariya Hidayat.
[Qt] Path: Fast approximation of stroke bounding rects
https://bugs.webkit.org/show_bug.cgi?id=44014
- platform/graphics/qt/PathQt.cpp: (WebCore::Path::strokeBoundingRect): Use QPainterPath::controlPointRect() to calculate a slightly larger bounding rect in a fraction of the time.
- 3:00 PM Changeset in webkit [65373] by
-
- 2 edits in trunk/WebKit/qt
2010-08-14 Adam Barth <abarth@webkit.org>
Propagate name change to Qt.
- Api/qwebelement.cpp: (QWebElement::appendInside): (QWebElement::prependInside): (QWebElement::prependOutside): (QWebElement::appendOutside): (QWebElement::encloseContentsWith): (QWebElement::encloseWith):
- 2:38 PM Changeset in webkit [65372] by
-
- 7 edits in trunk/WebCore
2010-08-14 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
Move innerHTML off of Range::createContextualFragment
https://bugs.webkit.org/show_bug.cgi?id=44011
This makes all the editing tests stop failing under the
HTML5 TreeBuilder.
In a previous patch Adam disabled some of the (wrong) code
in createContextualFragment when in html5 treebuilder mode.
The problem is that the editing code depends on
createContextualFragment (as well as the Range DOM API),
so we have to leave this code in until we can figure
out if it's right or wrong behavior for the Range API.
This patch moves innerHTML/outerHTML off of using
createContextualFragment and instead calls
DocumentFragment::parseHTML directly (which is much simpler).
I expect Adam and I will end up turning on the HTML5 TreeBuilder
in the next couple days, and most of the if branches I added
here will go away for good.
I renamed Element::createContextualFragment to
deprecatedCreateContextualFragment, to indicate that it's a
dead API. The editing code should move off of it and consider
using DocumentFragment::parseHTML instead.
- dom/Element.cpp: (WebCore::Element::deprecatedCreateContextualFragment):
- dom/Element.h:
- dom/Range.cpp: (WebCore::Range::createContextualFragment):
- editing/markup.cpp: (WebCore::createFragmentFromMarkup):
- html/HTMLElement.cpp: (WebCore::useLegacyTreeBuilder): (WebCore::HTMLElement::deprecatedCreateContextualFragment): (WebCore::HTMLElement::setInnerHTML): (WebCore::HTMLElement::setOuterHTML):
- html/HTMLElement.h:
- 12:24 PM Changeset in webkit [65371] by
-
- 2 edits in trunk/WebCore
2010-08-14 Tasuku Suzuki <tasuku.suzuki@nokia.com>
Reviewed by Antonio Gomes.
[Qt] Fix compilation with QT_NO_LINEEDIT
https://bugs.webkit.org/show_bug.cgi?id=38324
- bridge/qt/qt_runtime.cpp: (JSC::Bindings::convertValueToQVariant): (JSC::Bindings::convertQVariantToValue):
- 10:53 AM Changeset in webkit [65370] by
-
- 10 edits4 adds in trunk
2010-08-14 Rob Buis <rwlbuis@gmail.com>
Reviewed by Dirk Schulze.
IE SVG empty path test fails
https://bugs.webkit.org/show_bug.cgi?id=44008
Change createLine to allow creating zero-length lines. This makes it possible
to have markers and line-caps applied to zero-length lines.
Test: svg/custom/marker-empty-path.svg
- platform/graphics/Path.cpp: (WebCore::Path::createLine):
- 9:34 AM Changeset in webkit [65369] by
-
- 4 edits in trunk
2010-08-14 Patrick Gansterer <paroga@paroga.com>
Reviewed by Kenneth Rohde Christiansen.
[CMake] Add preprocessor detection for generator scripts
https://bugs.webkit.org/show_bug.cgi?id=43984
- cmake/OptionsCommon.cmake:
2010-08-14 Patrick Gansterer <paroga@paroga.com>
Reviewed by Kenneth Rohde Christiansen.
[CMake] Add preprocessor detection for generator scripts
https://bugs.webkit.org/show_bug.cgi?id=43984
- CMakeLists.txt:
- 8:53 AM Changeset in webkit [65368] by
-
- 2 edits in trunk/WebCore
2010-08-14 Patrick Gansterer <paroga@paroga.com>
Reviewed by Kenneth Rohde Christiansen.
[CMake] Move SQL files into a IF (ENABLE_DATABASE) section
https://bugs.webkit.org/show_bug.cgi?id=43979
- CMakeLists.txt:
- 8:36 AM Changeset in webkit [65367] by
-
- 2 edits5 adds in trunk
2010-08-14 Matthew Delaney <mdelaney@apple.com>
Reviewed by Kenneth Rohde Christiansen.
Canvas is not reset when setting canvas.width
https://bugs.webkit.org/show_bug.cgi?id=43341
- html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::reset): Moved the call to hasCreatedImageBuffer up *before* the call to setSurface since setSurface sets hasCreatedImageBuffer to false every time.
- 8:17 AM Changeset in webkit [65366] by
-
- 8 edits in trunk
2010-08-14 Patrick Gansterer <paroga@paroga.com>
Reviewed by Kenneth Rohde Christiansen.
[CMake] Set target properties only if available
https://bugs.webkit.org/show_bug.cgi?id=43978
- CMakeLists.txt:
- jsc/CMakeLists.txt:
- wtf/CMakeLists.txt:
2010-08-14 Patrick Gansterer <paroga@paroga.com>
Reviewed by Kenneth Rohde Christiansen.
[CMake] Set target properties only if available
https://bugs.webkit.org/show_bug.cgi?id=43978
- CMakeLists.txt:
2010-08-14 Patrick Gansterer <paroga@paroga.com>
Reviewed by Kenneth Rohde Christiansen.
[CMake] Set target properties only if available
https://bugs.webkit.org/show_bug.cgi?id=43978
- CMakeLists.txt:
- 8:00 AM Changeset in webkit [65365] by
-
- 2 edits in trunk
2010-08-14 Adrienne Walker <enne@google.com>
Reviewed by Kenneth Rohde Christiansen.
Update .gitignore file for more files
https://bugs.webkit.org/show_bug.cgi?id=43991
- .gitignore:
- 7:11 AM Changeset in webkit [65364] by
-
- 2 edits in trunk/WebCore
2010-08-14 Dirk Schulze <krit@webkit.org>
Unreviewed sort of Xcode project file.
- WebCore.xcodeproj/project.pbxproj:
- 6:41 AM MathML 3 testsuite results edited by
- (diff)
- 6:06 AM MathML 3 testsuite results edited by
- (diff)
- 5:53 AM MathML 3 testsuite results edited by
- (diff)
- 5:51 AM MathML 3 testsuite results edited by
- (diff)
- 5:45 AM MathML 3 testsuite results edited by
- (diff)
- 5:39 AM MathML 3 testsuite results edited by
- (diff)
- 2:11 AM MathML 3 testsuite results edited by
- (diff)
- 1:39 AM Changeset in webkit [65363] by
-
- 2 edits in trunk/WebKit2
Clean build of WebKitTestRunner fails with “'size_t' has not been declared” in WKArray.h
https://bugs.webkit.org/show_bug.cgi?id=44005
Reviewed by Anders Carlsson in Sweden.
- UIProcess/API/C/WKBase.h: Include ctype.h.
- 1:22 AM Changeset in webkit [65362] by
-
- 2 edits in trunk/WebCore
2010-08-14 Ariya Hidayat <ariya@sencha.com>
Reviewed by Simon Hausmann and Kenneth Rohde Christiansen.
[Qt] Refactor shadow state handling in GraphicsContextQt
https://bugs.webkit.org/show_bug.cgi?id=44006
- platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContextPlatformPrivate::): Added shadow states as member variables. (WebCore::GraphicsContextPlatformPrivate::hasShadow): Convenient function to check whether there is shadow or not. (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate): (WebCore::GraphicsContext::drawRect): Use shadow states instead of calling getShadow. (WebCore::GraphicsContext::drawLine): ditto. (WebCore::GraphicsContext::strokeArc): ditto. (WebCore::GraphicsContext::drawConvexPolygon): ditto. (WebCore::GraphicsContext::fillPath): ditto. (WebCore::GraphicsContext::strokePath): ditto. (WebCore::GraphicsContext::fillRect): Removes the use of helper function drawBorderlessRectShadow as the code already becomes a lot simpler. (WebCore::GraphicsContext::fillRoundedRect): Removes the use of helper
function drawFilledShadowPath as the code already becomes a lot simpler.
(WebCore::GraphicsContext::setPlatformShadow): Store shadow states
and find out the shadow type (complexity) for future use.
(WebCore::GraphicsContext::clearPlatformShadow): Reset shadow states.
- 1:04 AM Changeset in webkit [65361] by
-
- 3 edits in trunk/LayoutTests
2010-08-14 Ariya Hidayat <ariya@sencha.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Outdated pixel test reference for fast/box-shadow/transform-fringing.html
https://bugs.webkit.org/show_bug.cgi?id=44007
- platform/qt/fast/box-shadow/transform-fringing-expected.checksum:
- platform/qt/fast/box-shadow/transform-fringing-expected.png:
- 12:17 AM Changeset in webkit [65360] by
-
- 2 edits in trunk/WebKitTools
2010-08-14 Eric Seidel <eric@webkit.org>
Unreviewed. Another fix to support python 2.3.
Add support for MathML entities
https://bugs.webkit.org/show_bug.cgi?id=43949
- Scripts/webkitpy/thirdparty/simplejson/decoder.py:
- It looks like our simplejson is version 1.7.3 which should be python 2.3 compatible. But someone modified our copy slightly from the original source. I've removed the relative import in hopes this fixes the problem.
Aug 13, 2010:
- 11:44 PM Changeset in webkit [65359] by
-
- 2 edits in trunk/WebKitTools
2010-08-13 Eric Seidel <eric@webkit.org>
Unreviewed. Build fix only.
Add support for MathML entities
https://bugs.webkit.org/show_bug.cgi?id=43949
- Scripts/create-html-entity-table:
- Hack sys.path to avoid executing 2.5 dependent python on systems (like chromium-win and Tiger) which do not have 2.5 python.
- 11:26 PM Changeset in webkit [65358] by
-
- 7 edits in trunk
2010-08-13 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Rename some concepts in HTML entity search to be more self-documenting
https://bugs.webkit.org/show_bug.cgi?id=44004
Start and end are now first and last, which lets us use some better
names for the statics in HTMLEntityTable.
- html/HTMLEntityParser.cpp: (WebCore::consumeHTMLEntity):
- html/HTMLEntitySearch.cpp: (WebCore::HTMLEntitySearch::HTMLEntitySearch): (WebCore::HTMLEntitySearch::findFirst): (WebCore::HTMLEntitySearch::findLast): (WebCore::HTMLEntitySearch::advance):
- html/HTMLEntitySearch.h: (WebCore::HTMLEntitySearch::isEntityPrefix): (WebCore::HTMLEntitySearch::mostRecentMatch): (WebCore::HTMLEntitySearch::fail):
- html/HTMLEntityTable.h:
2010-08-13 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Rename some concepts in HTML entity search to be more self-documenting
https://bugs.webkit.org/show_bug.cgi?id=44004
Reflect name change in generator script.
- Scripts/create-html-entity-table:
- 11:03 PM Changeset in webkit [65357] by
-
- 4 edits in trunk/LayoutTests
2010-08-13 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Make it easier to run LayoutTests in Firefox
https://bugs.webkit.org/show_bug.cgi?id=44002
Firefox doesn't seem to have innerText. Instead, let's just use the
normal DOM operations.
- fast/parser/resources/p-in-scope.js:
- fast/table/incomplete-table-in-fragment-2.html:
- fast/table/incomplete-table-in-fragment-hang.html:
- 10:09 PM Changeset in webkit [65356] by
-
- 2 edits in trunk/JavaScriptCore
[wx] Build fix, add CString to the list of forwards.
- 10:05 PM Changeset in webkit [65355] by
-
- 8 edits in trunk/LayoutTests
2010-08-13 Adam Barth <abarth@webkit.org>
Update test expectations to account for the HTML5 entity parser. There
are two main differences:
1) The value of lang and rang have changed.
2) We now parse FOO<BAR as FOO<BAR.
- fast/parser/entities-in-html-expected.txt:
- fast/parser/entities-in-xhtml-expected.txt:
- http/tests/security/xssAuditor/link-onclick-entities-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-entities-expected.txt:
- This test expectation is wrong. It's on my list to redesign how the XSS auditor works now that we have better parsing tools. Rather than skip the test on all platforms, I'm updating the expectation.
- platform/mac/fast/text/word-space-expected.txt:
- platform/mac/tables/mozilla/other/wa_table_thtd_rowspan-expected.txt:
- platform/mac/tables/mozilla/other/wa_table_tr_align-expected.txt:
- 9:57 PM Changeset in webkit [65354] by
-
- 2 edits in trunk/WebCore
2010-08-13 Adam Barth <abarth@webkit.org>
Fix ASSERT in XML entity parsing. You can't advance the entity search
if you've already discovered that your string is not an entity.
- html/HTMLEntityParser.cpp: (WebCore::decodeNamedEntity):
- 8:32 PM Changeset in webkit [65353] by
-
- 2 edits in trunk/WebCore
2010-08-13 Eric Seidel <eric@webkit.org>
Unreviewed. Attempt at fixing Chromium build.
Add support for MathML entities
https://bugs.webkit.org/show_bug.cgi?id=43949
- WebCore.gyp/WebCore.gyp:
- I have no clue if this is right or not.
- 8:28 PM Changeset in webkit [65352] by
-
- 2 edits in trunk/WebCore
2010-08-13 Eric Seidel <eric@webkit.org>
Unreviewed. Attempted build fix for Windows.
Add support for MathML entities
https://bugs.webkit.org/show_bug.cgi?id=43949
- DerivedSources.cpp:
- Add HTMLEntityTable.cpp
- 8:18 PM Changeset in webkit [65351] by
-
- 16 edits4 adds1 delete in trunk
2010-08-12 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Add support for MathML entities
https://bugs.webkit.org/show_bug.cgi?id=43949
Test progression for proper entity support.
- html5lib/runner-expected-html5.txt:
- html5lib/runner-expected.txt:
2010-08-09 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Add support for MathML entities
https://bugs.webkit.org/show_bug.cgi?id=43949
Implementing the HTML5 entity parsing algorithm require refactoring how
we search for entity names. Instead of using a perfect hash, we now
use a sorted list. As we advance through the input, we walk down a
binary search of the table looking for an entity.
Using this data structure lets us keep track of whether the current
string is a prefix of an existing entity, which we need for the
algorithm. In a future patch, I plan to add some indices to the
table, which should let us narrow down the range of interesting entries
more quickly.
The one nasty piece of the algorithm is if we walk too far down the
input and we need to back up to a previous match. In this patch, we
accomplish this by rewinding the input and consuming a known number of
characters to resync the source.
- WebCore.xcodeproj/project.pbxproj:
- html/HTMLEntityParser.cpp: (WebCore::consumeHTMLEntity):
- html/HTMLEntitySearch.cpp: Added. (WebCore::): (WebCore::HTMLEntitySearch::HTMLEntitySearch): (WebCore::HTMLEntitySearch::compare): (WebCore::HTMLEntitySearch::findStart): (WebCore::HTMLEntitySearch::findEnd): (WebCore::HTMLEntitySearch::advance):
- html/HTMLEntitySearch.h: Added. (WebCore::HTMLEntitySearch::isEntityPrefix): (WebCore::HTMLEntitySearch::currentValue): (WebCore::HTMLEntitySearch::lastMatch): (WebCore::HTMLEntitySearch::): (WebCore::HTMLEntitySearch::fail):
- html/HTMLEntityTable.h: Added. (WebCore::HTMLEntityTableEntry::lastCharacter):
2010-08-12 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Add support for MathML entities
https://bugs.webkit.org/show_bug.cgi?id=43949
A script for generating the C++ state data structure describing all the
entities from a JSON description.
- Scripts/create-html-entity-table: Added.
- 8:09 PM Changeset in webkit [65350] by
-
- 3 edits in trunk/WebCore
2010-08-13 Tony Gentilcore <tonyg@chromium.org>
Reviewed by Eric Seidel.
Refactor HTMLScriptRunner to allow deferred scripts to share code
https://bugs.webkit.org/show_bug.cgi?id=43736
No new tests because no functional change
- html/HTMLScriptRunner.cpp: (WebCore::HTMLScriptRunner::sourceFromPendingScript): Make const to enforce the idea that it doesn't change m_parsingBlockingScript. (WebCore::HTMLScriptRunner::executeParsingBlockingScript): Rename to make it clear this deals with the parsing blocking script and refactor to use executePendingScriptAndDispatchEvent. (WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent): Factored out of executePendingScript, this can be used for executing any external script. (WebCore::HTMLScriptRunner::executeScript): This can be used for executing any inline or external script. ASSERTs moved to the two calling points. (WebCore::HTMLScriptRunner::executeParsingBlockingScripts): Moved method. (WebCore::HTMLScriptRunner::requestParsingBlockingScript): Factored out requestPendingScript. (WebCore::HTMLScriptRunner::requestPendingScript): Factored out from reqeustParsingBlockingScript. (WebCore::HTMLScriptRunner::runScript):
- html/HTMLScriptRunner.h:
- 7:23 PM Changeset in webkit [65349] by
-
- 3 edits in trunk/WebCore
Windows build fix.
- WebCore.xcodeproj/project.pbxproj:
- platform/win/SharedBufferWin.cpp:
- 7:16 PM Changeset in webkit [65348] by
-
- 3 edits in trunk/LayoutTests
2010-08-13 Mihai Parparita <mihaip@chromium.org>
Reviewed by Dimitri Glazkov.
Form state restore tests fail on GTK build with r65340
https://bugs.webkit.org/show_bug.cgi?id=43998
Move form submits (and rest of test) to run during onload, to make sure
that the submit generates a history entry.
- fast/forms/state-restore-to-non-autocomplete-form.html:
- fast/forms/state-restore-to-non-edited-controls.html:
- 6:53 PM Changeset in webkit [65347] by
-
- 2 edits in trunk/JavaScriptCore
Windows build fix
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- 6:37 PM Changeset in webkit [65346] by
-
- 2 edits in trunk/JavaScriptCore
Windows build fix
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- 6:34 PM Changeset in webkit [65345] by
-
- 2 edits in trunk/JavaScriptCore
Windows build fix
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- 6:28 PM Changeset in webkit [65344] by
-
- 30 edits in trunk
Switch String::/UString::ascii() to return a CString.
Rubber stamped by Sam Weinig.
- JavaScriptCore.exp:
- JavaScriptCore.xcodeproj/project.pbxproj:
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dump):
- bytecode/SamplingTool.cpp:
(JSC::SamplingTool::dump):
- interpreter/CallFrame.cpp:
(JSC::CallFrame::dumpCaller):
- jsc.cpp:
(runWithScripts):
(runInteractive):
- runtime/Identifier.h:
(JSC::Identifier::ascii):
- runtime/ScopeChain.cpp:
(JSC::ScopeChainNode::print):
- runtime/UString.cpp:
(JSC::UString::ascii):
(JSC::UString::latin1):
- runtime/UString.h:
- wtf/text/StringImpl.cpp:
(WTF::StringImpl::asciiOLD):
- wtf/text/StringImpl.h:
- wtf/text/WTFString.cpp:
(WTF::String::ascii):
(WTF::String::latin1):
- wtf/text/WTFString.h:
WebCore:
- WebCore.xcodeproj/project.pbxproj:
- bridge/c/c_class.cpp:
(JSC::Bindings::CClass::methodsNamed):
(JSC::Bindings::CClass::fieldNamed):
- bridge/jni/jsc/JNIBridgeJSC.cpp:
(JavaField::valueFromInstance):
(JavaField::setValueToInstance):
- bridge/jni/jsc/JavaInstanceJSC.cpp:
(JavaInstance::invokeMethod):
- bridge/objc/objc_class.mm:
(JSC::Bindings::ObjcClass::methodsNamed):
(JSC::Bindings::ObjcClass::fieldNamed):
- bridge/objc/objc_instance.mm:
(ObjcInstance::setValueOfUndefinedField):
(ObjcInstance::getValueOfUndefinedField):
- loader/icon/IconRecord.cpp:
- platform/sql/SQLiteDatabase.cpp:
- platform/sql/SQLiteStatement.cpp:
- storage/SQLStatement.cpp:
WebKit:
- WebKit.xcodeproj/project.pbxproj:
WebKit/mac:
- Plugins/Hosted/ProxyInstance.mm:
(WebKit::ProxyInstance::methodsNamed):
(WebKit::ProxyInstance::fieldNamed):
- 5:34 PM Changeset in webkit [65343] by
-
- 4 edits in trunk/WebKitTools
2010-08-13 Dirk Pranke <dpranke@chromium.org>
Reviewed by Eric Seidel.
Rewrite new-run-webkit-test's wait_for_threads_to_finish loop to
check for exceptions on all threads, not just the first thread.
This change also changes the logging behavior for wedged threads
to only dump the stacks of threads that are actually wedged.
Refactor the thread classes in the dump_render_tree_thread module
to make the contract between TestRunner and TestShellThread clearer.
Added a bunch of unit tests.
https://bugs.webkit.org/show_bug.cgi?id=38561
- Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
- Scripts/webkitpy/layout_tests/run_webkit_tests.py:
- Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
- 4:59 PM Changeset in webkit [65342] by
-
- 2 edits in trunk/WebKit2
Fix build.
- WebKit2.xcodeproj/project.pbxproj: Make WKDictionary.h public.
- 4:44 PM Changeset in webkit [65341] by
-
- 9 edits in trunk/WebKit2
Pass values map to willSubmitForm in WebKit2 API
Part of <rdar://problem/8255932>
https://bugs.webkit.org/show_bug.cgi?id=43995
Reviewed by Brady Eidson.
- Platform/CoreIPC/ArgumentCoders.h:
(CoreIPC::):
Add overload for std::pair.
- Shared/ImmutableDictionary.h:
(WebKit::ImmutableDictionary::adopt):
Fix function signature by removing size parameter.
- UIProcess/API/C/WKPage.h:
Add dictionary parameter to callback.
- UIProcess/WebFormClient.cpp:
(WebKit::WebFormClient::willSubmitForm):
Create an ImmutableDictionary from the vector of string pairs.
- UIProcess/WebFormClient.h:
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveMessage):
(WebKit::WebPageProxy::willSubmitForm):
- UIProcess/WebPageProxy.h:
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
Plumb through the values vector.
- 4:35 PM Changeset in webkit [65340] by
-
- 65 edits1 copy9 adds4 deletes in trunk
2010-08-13 Mihai Parparita <mihaip@chromium.org>
Reviewed by Dimitri Glazkov.
Session history should skip over JS redirects
https://bugs.webkit.org/show_bug.cgi?id=42861
Lock the back/forward list for location changes and form submits that
happen before the onload event fires that are not the result of user
gestures.
http/tests/history tests now pass, their expectations were updated
accordingly. Other tests needed a setTimeout wrapper around location
changes and form submits during onload, otherwise they would not
generate history entries as expected anymore.
- fast/css/target-fragment-match.html:
- fast/dom/location-hash.html:
- fast/dom/Geolocation/resources/cached-page-1.html:
- fast/dom/Window/timer-resume-on-navigation-back.html:
- fast/events/pageshow-pagehide-on-back-cached-with-frames-expected.txt:
- fast/events/pageshow-pagehide-on-back-cached-with-frames.html:
- fast/forms/button-state-restore.html:
- fast/forms/state-restore-to-non-autocomplete-form.html:
- fast/forms/state-restore-to-non-edited-controls.html:
- fast/frames/resources/cached-page-1.html:
- fast/frames/resources/cached-page-2.html:
- fast/harness/resources/cached-page-1.html:
- fast/harness/resources/cached-page-with-data-urls.html:
- fast/history/gesture-before-onload-expected.txt: Added.
- fast/history/gesture-before-onload.html: Added.
- fast/history/history-length.html:
- fast/history/resources/gesture-before-onload-target.html: Added.
- fast/history/saves-state-after-fragment-nav.html:
- fast/loader/input-element-page-cache-crash.html:
- fast/loader/stateobjects/document-destroyed-navigate-back.html:
- fast/loader/stateobjects/pushstate-clears-forward-history.html:
- fast/loader/subframe-navigate-during-main-frame-load.html:
- http/tests/history/back-to-post.php:
- http/tests/history/redirect-js-document-location-before-load-expected.txt:
- http/tests/history/redirect-js-form-submit-before-load-expected.txt:
- http/tests/history/redirect-js-location-assign-before-load-expected.txt:
- http/tests/history/redirect-js-location-before-load-expected.txt:
- http/tests/history/redirect-js-location-href-before-load-expected.txt:
- http/tests/loading/307-after-303-after-post-expected.txt:
- http/tests/loading/redirect-methods-expected.txt:
- http/tests/navigation/resources/back-send-referrer-helper.php:
- http/tests/navigation/resources/document-location.js: (start):
- http/tests/navigation/resources/submit-to-fragment.pl:
- security/autocomplete-cleared-on-back.html:
- storage/hash-change-with-xhr.js: (updateDatabase): (invokeBack): (runTest): (runTestsInner):
2010-08-13 Mihai Parparita <mihaip@chromium.org>
Reviewed by Dimitri Glazkov.
Session history should skip over JS redirects
https://bugs.webkit.org/show_bug.cgi?id=42861
Lock the back/forward list for location changes and form submits that
happen before the onload event fires that are not the result of user
gestures.
Made form submission (at the ScheduledFormSubmission level) more similar
to ScheduledURLNavigation by having it call clientRedirected too, fixing
a long-standing FIXME.
Test: fast/history/gesture-before-onload-location-href.html,
fast/history/gesture-before-onload-form-submit.html and updated
expectations for http/tests/history tests that used to fail.
- loader/FormSubmission.cpp: (WebCore::FormSubmission::requestURL): (WebCore::FormSubmission::populateFrameLoadRequest):
- loader/FormSubmission.h:
- loader/RedirectScheduler.cpp: (WebCore::ScheduledFormSubmission::ScheduledFormSubmission): (WebCore::ScheduledFormSubmission::fire): (WebCore::ScheduledFormSubmission::didStartTimer): (WebCore::ScheduledFormSubmission::didStopTimer): (WebCore::RedirectScheduler::scheduleRedirect): (WebCore::RedirectScheduler::mustLockBackForwardList): (WebCore::RedirectScheduler::scheduleLocationChange): (WebCore::RedirectScheduler::scheduleFormSubmission):
- loader/RedirectScheduler.h:
- 2:33 PM Changeset in webkit [65339] by
-
- 8 edits4 adds in trunk/WebKit2
Add dictionary API type
https://bugs.webkit.org/show_bug.cgi?id=43990
Reviewed by Brady Eidson.
Add an immutable dictionary type (WKStringRef -> WKTypeRef).
- Shared/APIObject.h:
(WebKit::APIObject::):
Add new APIType.
- Shared/ImmutableDictionary.cpp: Added.
(WebKit::ImmutableDictionary::ImmutableDictionary):
(WebKit::ImmutableDictionary::~ImmutableDictionary):
- Shared/ImmutableDictionary.h: Added.
(WebKit::ImmutableDictionary::create):
(WebKit::ImmutableDictionary::adopt):
(WebKit::ImmutableDictionary::get):
(WebKit::ImmutableDictionary::size):
(WebKit::ImmutableDictionary::):
(WebKit::ImmutableDictionary::type):
Add basic implementation
- UIProcess/API/C/WKAPICast.h:
(WebKit::):
Add new mappings.
- UIProcess/API/C/WKBase.h:
Add new opaque type.
- UIProcess/API/C/WKDictionary.cpp: Added.
(WKDictionaryGetTypeID):
(WKDictionaryGetItemForKey):
(WKDictionaryGetSize):
(WKDictionaryRetain):
(WKDictionaryRelease):
- UIProcess/API/C/WKDictionary.h: Added.
Add API wrappings.
- UIProcess/API/C/WebKit2.h:
Add missing public headers.
- WebKit2.xcodeproj/project.pbxproj:
- win/WebKit2.vcproj:
- win/WebKit2Generated.make:
Add new files.
- 2:03 PM Changeset in webkit [65338] by
-
- 2 edits in trunk/LayoutTests
Add two more unsupported tests to the WebKit2 skipped list.
Rubber-stamped by Beth Dakin and Ban Bernstein.
- platform/mac-wk2/Skipped:
- 1:11 PM Changeset in webkit [65337] by
-
- 18 edits2 copies6 adds in trunk/WebKit2
Add form submission listener to WebKit2
Part of <rdar://problem/8255932>
https://bugs.webkit.org/show_bug.cgi?id=43947
Reviewed by Jon Honeycutt.
- Shared/APIObject.h:
Add TypeFormSubmissionListener APIType.
- Shared/CoreIPCSupport/WebPageProxyMessageKinds.h:
Add WillSubmitForm message kind.
- UIProcess/API/C/WKAPICast.h:
Add new mappings for WKFormSubmissionListenerRef -> WebFormSubmissionListener
- UIProcess/API/C/WKBase.h:
Add OpaqueWKFormSubmissionListener and rename the other opaque types to match.
- UIProcess/API/C/WKFormSubmissionListener.cpp: Added.
(WKFormSubmissionListenerGetTypeID):
(WKFormSubmissionListenerContinue):
(WKFormSubmissionListenerRetain):
(WKFormSubmissionListenerRelease):
- UIProcess/API/C/WKFormSubmissionListener.h: Added.
Add C wrapper for WebFormSubmissionListener.
- UIProcess/API/C/WKPage.cpp:
(WKPageSetPageFormClient):
- UIProcess/API/C/WKPage.h:
Add WKPageFormClient with willSubmitForm callback. Additional callbacks will be added as
needed.
- UIProcess/API/C/WebKit2.h:
Add include for WKFormSubmissionListener.h
- UIProcess/WebFormClient.cpp: Added.
(WebKit::WebFormClient::WebFormClient):
(WebKit::WebFormClient::initialize):
(WebKit::WebFormClient::willSubmitForm):
- UIProcess/WebFormClient.h: Added.
Add client for form related delagations.
- UIProcess/WebFormSubmissionListenerProxy.cpp: Added.
(WebKit::WebFormSubmissionListenerProxy::WebFormSubmissionListenerProxy):
(WebKit::WebFormSubmissionListenerProxy::continueSubmission):
- UIProcess/WebFormSubmissionListenerProxy.h: Added.
(WebKit::WebFormSubmissionListenerProxy::create):
(WebKit::WebFormSubmissionListenerProxy::type):
- UIProcess/WebFrameListenerProxy.cpp: Copied from UIProcess/WebFramePolicyListenerProxy.cpp.
Add new type of listener for form submissions. It inherits from the new base class
for listeners, WebFrameListenerProxy.
(WebKit::WebFrameListenerProxy::WebFrameListenerProxy):
(WebKit::WebFrameListenerProxy::~WebFrameListenerProxy):
(WebKit::WebFrameListenerProxy::invalidate):
(WebKit::WebFrameListenerProxy::receivedPolicyDecision):
- UIProcess/WebFrameListenerProxy.h: Copied from UIProcess/WebFramePolicyListenerProxy.h.
Move logic that would have to be shared between WebFramePolicyListenerProxy and
WebFormSubmissionListenerProxy into shared base class.
- UIProcess/WebFramePolicyListenerProxy.cpp:
(WebKit::WebFramePolicyListenerProxy::WebFramePolicyListenerProxy):
- UIProcess/WebFramePolicyListenerProxy.h:
(WebKit::WebFramePolicyListenerProxy::create):
(WebKit::WebFramePolicyListenerProxy::type):
Move to inheriting from WebFrameListenerProxy.
- UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::disconnect):
(WebKit::WebFrameProxy::receivedPolicyDecision):
(WebKit::WebFrameProxy::setUpPolicyListenerProxy):
(WebKit::WebFrameProxy::setUpFormSubmissionListenerProxy):
- UIProcess/WebFrameProxy.h:
Change listener functions to act on WebFrameListenerProxys and add setUpFormSubmissionListenerProxy.
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::initializeFormClient):
(WebKit::WebPageProxy::didReceiveMessage):
(WebKit::WebPageProxy::willSubmitForm):
- UIProcess/WebPageProxy.h:
Plumb through willSubmitForm call as we do with the other listeners.
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
Ditto.
- WebKit2.xcodeproj/project.pbxproj: Add new files.
- win/WebKit2.vcproj: Add new files.
- win/WebKit2Generated.make: Ditto.
- 12:09 PM Changeset in webkit [65336] by
-
- 2 edits in trunk/WebCore
2010-08-13 Leandro Pereira <leandro@profusion.mobi>
[EFL] Unreviewed build fix.
These changes were supposed to be landed on r65319, but due to some
svn-apply/commit-queue bug it wasn't fully applied. A bug was filed
by Patrick Gansterer (author of the changes in this commit):
https://bugs.webkit.org/show_bug.cgi?id=43981
- CMakeLists.txt: Update calls to GENERATE_GPERF and GENERATE_GRAMMAR macros.
- 11:49 AM Changeset in webkit [65335] by
-
- 6 edits2 adds in trunk
AX: isNativeCheckbox does not work as advertised
https://bugs.webkit.org/show_bug.cgi?id=43872
Re-adding this patch after it was erroneously rolled out.
WebCore:
Test: platform/mac/accessibility/native-vs-nonnative-checkboxes.html
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::isInputImage):
(WebCore::AccessibilityRenderObject::isNativeCheckboxOrRadio):
- dom/InputElement.h:
- html/HTMLInputElement.h:
(WebCore::HTMLInputElement::isCheckbox):
LayoutTests:
- platform/mac/accessibility/native-vs-nonnative-checkboxes-expected.txt: Added.
- platform/mac/accessibility/native-vs-nonnative-checkboxes.html: Added.
- 11:05 AM Changeset in webkit [65334] by
-
- 2 edits in trunk/WebCore
2010-08-13 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r65331.
http://trac.webkit.org/changeset/65331
https://bugs.webkit.org/show_bug.cgi?id=43980
This patch breaks some shadow tests on Qt Linux release
(Requested by ariya on #webkit).
- platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate): (WebCore::GraphicsContext::drawRect): (WebCore::GraphicsContext::drawLine): (WebCore::GraphicsContext::strokeArc): (WebCore::GraphicsContext::drawConvexPolygon): (WebCore::drawFilledShadowPath): (WebCore::GraphicsContext::fillPath): (WebCore::GraphicsContext::strokePath): (WebCore::drawBorderlessRectShadow): (WebCore::GraphicsContext::fillRect): (WebCore::GraphicsContext::fillRoundedRect): (WebCore::GraphicsContext::setPlatformShadow): (WebCore::GraphicsContext::clearPlatformShadow):
- 10:39 AM Changeset in webkit [65333] by
-
- 6 edits in trunk/WebCore
2010-08-13 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by David Levin.
Update run-bindings-tests expectations
https://bugs.webkit.org/show_bug.cgi?id=43944
The results have become out of sync after changeset 64552 and 65269.
Test: WebKitTools/Scripts/run-bindings-tests
- bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp: (webkit_dom_test_callback_callback_with_class1param): (webkit_dom_test_callback_callback_with_class2param): (webkit_dom_test_callback_callback_with_non_bool_return_type):
- bindings/scripts/test/GObject/WebKitDOMTestCallback.h:
- bindings/scripts/test/GObject/WebKitDOMTestObj.cpp: (webkit_dom_test_obj_void_method_with_args): (webkit_dom_test_obj_int_method_with_args): (webkit_dom_test_obj_obj_method): (webkit_dom_test_obj_obj_method_with_args): (webkit_dom_test_obj_method_that_requires_all_args): (webkit_dom_test_obj_method_that_requires_all_args_and_throws): (webkit_dom_test_obj_serialized_value): (webkit_dom_test_obj_idb_key): (webkit_dom_test_obj_with_dynamic_frame_and_user_gesture): (webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad): (webkit_dom_test_obj_with_script_state_obj): (webkit_dom_test_obj_with_script_state_obj_exception): (webkit_dom_test_obj_get_read_only_string_attr): (webkit_dom_test_obj_get_read_only_test_obj_attr): (webkit_dom_test_obj_get_string_attr): (webkit_dom_test_obj_set_string_attr): (webkit_dom_test_obj_get_test_obj_attr): (webkit_dom_test_obj_set_test_obj_attr): (webkit_dom_test_obj_get_xml_obj_attr): (webkit_dom_test_obj_set_xml_obj_attr): (webkit_dom_test_obj_get_reflected_string_attr): (webkit_dom_test_obj_set_reflected_string_attr): (webkit_dom_test_obj_get_reflected_url_attr): (webkit_dom_test_obj_set_reflected_url_attr): (webkit_dom_test_obj_get_reflected_non_empty_url_attr): (webkit_dom_test_obj_set_reflected_non_empty_url_attr): (webkit_dom_test_obj_get_reflected_custom_url_attr): (webkit_dom_test_obj_set_reflected_custom_url_attr): (webkit_dom_test_obj_get_reflected_custom_non_empty_url_attr): (webkit_dom_test_obj_set_reflected_custom_non_empty_url_attr): (webkit_dom_test_obj_get_string_attr_with_getter_exception): (webkit_dom_test_obj_set_string_attr_with_getter_exception): (webkit_dom_test_obj_get_string_attr_with_setter_exception): (webkit_dom_test_obj_set_string_attr_with_setter_exception): (webkit_dom_test_obj_get_script_string_attr): (webkit_dom_test_obj_get_hash): (webkit_dom_test_obj_class_init):
- bindings/scripts/test/GObject/WebKitDOMTestObj.h:
- bindings/scripts/test/JS/JSTestObj.cpp: (WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
- 10:35 AM Changeset in webkit [65332] by
-
- 3 edits in trunk
2010-08-13 Leandro Pereira <leandro@profusion.mobi>
[EFL] Unreviewed build fix.
- cmake/FindGthread.cmake: Fix warnings about obsolete PKGCONFIG macro.
- cmake/WebKitGenerators.cmake: FLEX_EXECUTABLE was defined already by the root CMakeLists.txt file, so remove relevant lines that depends on FIND_PACKAGE_HANDLE_STANDARD_ARGS macro, which isn't available anymore.
- 10:24 AM Changeset in webkit [65331] by
-
- 2 edits in trunk/WebCore
2010-08-13 Ariya Hidayat <ariya@sencha.com>
Reviewed by Simon Hausmann.
[Qt] Canvas and CSS: blur option in shadow not working
https://bugs.webkit.org/show_bug.cgi?id=34479
Patch 1: Refactor shadow states handling.
- platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContextPlatformPrivate::): Added shadow states as member variables. (WebCore::GraphicsContextPlatformPrivate::hasShadow): Convenient function to check whether there is shadow or not. (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate): (WebCore::GraphicsContext::drawRect): Use shadow states instead of calling getShadow. (WebCore::GraphicsContext::drawLine): ditto. (WebCore::GraphicsContext::strokeArc): ditto. (WebCore::GraphicsContext::drawConvexPolygon): ditto. (WebCore::GraphicsContext::fillPath): ditto. (WebCore::GraphicsContext::strokePath): ditto. (WebCore::GraphicsContext::fillRect): Removes the use of helper function drawBorderlessRectShadow as the code already becomes a lot simpler. (WebCore::GraphicsContext::fillRoundedRect): Removes the use of helper function drawFilledShadowPath as the code already becomes a lot simpler. (WebCore::GraphicsContext::setPlatformShadow): Store shadow states and find out the shadow type (complexity) for future use. (WebCore::GraphicsContext::clearPlatformShadow): Reset shadow states.
- 10:12 AM Changeset in webkit [65330] by
-
- 9 edits in trunk
2010-08-11 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
Regression in linking of programs
https://bugs.webkit.org/show_bug.cgi?id=43820
Shaders and programs shouldn't be deleted until their attachments are removed, therefore, we need to track the attach/detach/useProgram.
- html/canvas/WebGLObject.cpp: Track the object attachment count and whether it should really be deleted. (WebCore::WebGLObject::WebGLObject): (WebCore::WebGLObject::setObject): (WebCore::WebGLObject::deleteObject):
- html/canvas/WebGLObject.h: Track the object attachment count and whether it should really be deleted. (WebCore::WebGLObject::onAttached): (WebCore::WebGLObject::onDetached): (WebCore::WebGLObject::getAttachmentCount):
- html/canvas/WebGLProgram.cpp: Track the attached shaders. (WebCore::WebGLProgram::WebGLProgram): (WebCore::WebGLProgram::deleteObjectImpl): (WebCore::WebGLProgram::getAttachedShader): (WebCore::WebGLProgram::attachShader): (WebCore::WebGLProgram::detachShader):
- html/canvas/WebGLProgram.h: Track the attached shaders.
- html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::attachShader): Track the attachment of a shader to a program. (WebCore::WebGLRenderingContext::deleteProgram): Detach shaders. (WebCore::WebGLRenderingContext::detachShader): Track the attachment of a shader to a program. (WebCore::WebGLRenderingContext::validateWebGLObject): Also check if object == 0. (WebCore::WebGLRenderingContext::linkProgram): Using the cached attached shaders instead of query from driver. (WebCore::WebGLRenderingContext::useProgram): Track the attachment of a program to the current rendering pipeline.
2010-08-11 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
Regression in linking of programs
https://bugs.webkit.org/show_bug.cgi?id=43820
- fast/canvas/webgl/program-test-expected.txt: Fix the tests so a second shader of the same type attaching to a program will generate error; also, add tests for deleteShader/deleteProgram behavior.
- fast/canvas/webgl/program-test.html: Ditto.
- 10:02 AM Changeset in webkit [65329] by
-
- 4 edits5 adds in trunk
2010-08-13 Steve Block <steveblock@google.com>
Reviewed by Alexey Proskuryakov.
Geolocation activity started after frame has been disconnected can cause crash
https://bugs.webkit.org/show_bug.cgi?id=39879
New requests started after the Frame has been disconnected are ignored. We do
not invoke the error callback as this would allow buggy or malicious pages to
hose the CPU. Such a page could hold a reference to a Geolocation object from
a since closed Page and register new requests from the error callback to
create an infinite loop.
Tests: fast/dom/Geolocation/disconnected-frame-already.html
- page/Geolocation.cpp:
2010-08-13 Steve Block <steveblock@google.com>
Reviewed by Alexey Proskuryakov.
Geolocation activity started after frame has been disconnected can cause crash
https://bugs.webkit.org/show_bug.cgi?id=39879
Added new tests to GTK skipped list.
- fast/dom/Geolocation/disconnected-frame-already.html: Added.
- fast/dom/Geolocation/disconnected-frame-already-expected.txt: Added.
- fast/dom/Geolocation/script-tests/disconnected-frame-already.js: Added.
- fast/dom/Geolocation/resources/disconnected-frame-already-inner1.html: Added.
- fast/dom/Geolocation/resources/disconnected-frame-already-inner2.html: Added.
- platform/gtk/Skipped:
- 9:51 AM Changeset in webkit [65328] by
-
- 2 edits in trunk
2010-08-13 Alejandro G. Castro <alex@igalia.com>
Reviewed by Xan Lopez.
We have to add the ACLOCAL_FLAGS in the env to the autogen.sh
ACLOCAL_FLAGS variable in order to honor the value already
defined, jhbuild uses it to pass parameters.
- autogen.sh:
- 9:49 AM Changeset in webkit [65327] by
-
- 16 edits in trunk
2010-08-13 Satish Sampath <satish@chromium.org>
Reviewed by Jeremy Orlow.
Support for multiple speech enabled elements in same page.
https://bugs.webkit.org/show_bug.cgi?id=43922
- page/SpeechInput.cpp: Generates request ids as necessary when each speech enabled input element gets created/destroyed and multiplexes the listener callbacks to the appropriate input element based on the request id. (WebCore::SpeechInput::SpeechInput): (WebCore::SpeechInput::~SpeechInput): (WebCore::SpeechInput::registerListener): (WebCore::SpeechInput::unregisterListener): (WebCore::SpeechInput::didCompleteRecording): (WebCore::SpeechInput::didCompleteRecognition): (WebCore::SpeechInput::setRecognitionResult): (WebCore::SpeechInput::startRecognition): (WebCore::SpeechInput::stopRecording): (WebCore::SpeechInput::cancelRecognition):
- page/SpeechInput.h:
- page/SpeechInputClient.h: Now requires a one time set for the WebCore::SpeechInputListener and takes in a 'requestId' for all calls.
- page/SpeechInputListener.h: Now returns the above mentioned requestId in all the listener callbacks for identifying which input element the event goes to.
- platform/mock/SpeechInputClientMock.cpp: (WebCore::SpeechInputClientMock::SpeechInputClientMock): (WebCore::SpeechInputClientMock::setListener): (WebCore::SpeechInputClientMock::startRecognition): (WebCore::SpeechInputClientMock::stopRecording): (WebCore::SpeechInputClientMock::cancelRecognition): (WebCore::SpeechInputClientMock::timerFired):
- platform/mock/SpeechInputClientMock.h:
- rendering/TextControlInnerElements.cpp: (WebCore::InputFieldSpeechButtonElement::InputFieldSpeechButtonElement): (WebCore::InputFieldSpeechButtonElement::~InputFieldSpeechButtonElement): (WebCore::InputFieldSpeechButtonElement::defaultEventHandler): (WebCore::InputFieldSpeechButtonElement::speechInput): (WebCore::InputFieldSpeechButtonElement::didCompleteRecording): (WebCore::InputFieldSpeechButtonElement::didCompleteRecognition): (WebCore::InputFieldSpeechButtonElement::setRecognitionResult):
- rendering/TextControlInnerElements.h:
2010-08-13 Satish Sampath <satish@chromium.org>
Reviewed by Jeremy Orlow.
Support for multiple speech enabled elements in same page.
https://bugs.webkit.org/show_bug.cgi?id=43922
- public/WebSpeechInputController.h: Bubbles up the requestId given by webcore to the embedder. (WebKit::WebSpeechInputController::startRecognition): (WebKit::WebSpeechInputController::cancelRecognition): (WebKit::WebSpeechInputController::stopRecording):
- public/WebSpeechInputListener.h: Passes down the requestId given by embedder to webcore. (WebKit::WebSpeechInputListener::didCompleteRecording): (WebKit::WebSpeechInputListener::setRecognitionResult): (WebKit::WebSpeechInputListener::didCompleteRecognition):
- src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::setListener): (WebKit::SpeechInputClientImpl::startRecognition): (WebKit::SpeechInputClientImpl::stopRecording): (WebKit::SpeechInputClientImpl::cancelRecognition): (WebKit::SpeechInputClientImpl::didCompleteRecording): (WebKit::SpeechInputClientImpl::didCompleteRecognition): (WebKit::SpeechInputClientImpl::setRecognitionResult):
- src/SpeechInputClientImpl.h:
- src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl): (WebKit::WebSpeechInputControllerMockImpl::~WebSpeechInputControllerMockImpl): (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording): (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition): (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult): (WebKit::WebSpeechInputControllerMockImpl::startRecognition): (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition): (WebKit::WebSpeechInputControllerMockImpl::stopRecording):
- src/WebSpeechInputControllerMockImpl.h:
- 9:27 AM Changeset in webkit [65326] by
-
- 3 edits in trunk/LayoutTests
2010-08-13 Ariya Hidayat <ariya@sencha.com>
Rubber-stamped by Simon Hausmann.
[Qt] Outdated pixel test reference for basic-shadows.html
https://bugs.webkit.org/show_bug.cgi?id=43952
- platform/qt/fast/box-shadow/basic-shadows-expected.checksum:
- platform/qt/fast/box-shadow/basic-shadows-expected.png:
- 9:22 AM Changeset in webkit [65325] by
-
- 2 edits5 adds in trunk/LayoutTests
2010-08-13 Steve Block <steveblock@google.com>
Reviewed by Alexey Proskuryakov.
Need a LayoutTest to check that pages using Geolocation are not put in the page cache
https://bugs.webkit.org/show_bug.cgi?id=43957
- fast/dom/Geolocation/no-page-cache-expected.txt: Added.
- fast/dom/Geolocation/no-page-cache.html: Added.
- fast/dom/Geolocation/resources/cached-page-1.html: Added.
- fast/dom/Geolocation/resources/cached-page-2.html: Added.
- fast/dom/Geolocation/script-tests/no-page-cache.js: Added. (reportPageOneOnload):
- platform/gtk/Skipped: Added new test to GTK skipped list
- 8:52 AM Changeset in webkit [65324] by
-
- 2 edits in trunk/WebCore
2010-08-13 Eric Carlson <eric.carlson@apple.com>
Reviewed by David Kilzer.
HTMLMediaElement::prepareForLoad should cancel current plug-in proxy media player
https://bugs.webkit.org/show_bug.cgi?id=43923
- html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::prepareForLoad): Tell mediaPlayer to cancel the current load if it already exists.
- 6:58 AM Changeset in webkit [65323] by
-
- 4 edits in trunk/WebCore
2010-08-12 Stephen White <senorblanco@chromium.org>
Reviewed by David Levin.
[CHROMIUM] Use the BGRA format for canvas 2D accel upload and readbacks.
https://bugs.webkit.org/show_bug.cgi?id=43804
Use the BGRA format from GraphicsContext3D, if supported. Also keep a
texture around for uploads, rather than re-creating it each time.
Covered by many layout tests (once we're running them).
- platform/graphics/chromium/GLES2Texture.cpp: (WebCore::convertFormat): Move convertFormat() ahead of texture creation, so we can check for BGRA support. (WebCore::GLES2Texture::create): Use convertFormat() to determine the correct format and types to use; use the returned format also for internalFormat, since GLES2 insists they match.
- platform/graphics/skia/PlatformContextSkia.cpp: (WebCore::PlatformContextSkia::setGraphicsContext3D): Clear the upload texture when a new context is set. (WebCore::PlatformContextSkia::uploadSoftwareToHardware): Use m_uploadTexture instead of creating a new one each time. (WebCore::PlatformContextSkia::readbackHardwareToSoftware): When the context supports it, use the BGRA format for readbacks instead of swizzling.
- platform/graphics/skia/PlatformContextSkia.h: Add m_uploadTexture for consecutive uploads.
- 6:52 AM MathML Status edited by
- (diff)
- 6:48 AM Changeset in webkit [65322] by
-
- 2 edits in trunk
[Qt] Introduce Maemo6 for mobile features
https://bugs.webkit.org/show_bug.cgi?id=43969
Reviewed by Ariya Hidayat.
- WebKit.pri: Use maemo6 where we also use maemo5.
- 6:48 AM Changeset in webkit [65321] by
-
- 4 edits in trunk
[Qt] Clean up mobile feature useage
https://bugs.webkit.org/show_bug.cgi?id=43968
Reviewed by Ariya Hidayat.
.:
- WebKit.pri: Set feature defaults here for some Nokia specific mobile platforms
WebCore:
- WebCore.pro: Replaced use of Nokia specific platform scopes with concrete
feature names.
- 6:22 AM MathML Status edited by
- (diff)
- 6:22 AM Changeset in webkit [65320] by
-
- 20 edits in trunk/WebCore
2010-08-13 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: rename InspectorValue::push and set to
push{Value|Object|Array} and set{...}.
https://bugs.webkit.org/show_bug.cgi?id=43966
- bindings/js/ScriptProfile.cpp: (WebCore::buildInspectorObjectFor):
- bindings/js/ScriptValue.cpp: (WebCore::jsToInspectorValue):
- bindings/v8/ScriptCallStack.cpp: (WebCore::ScriptCallStack::stackTrace):
- bindings/v8/ScriptProfile.cpp: (WebCore::buildInspectorObjectFor):
- bindings/v8/ScriptValue.cpp: (WebCore::v8ToInspectorValue):
- inspector/CodeGeneratorInspector.pm:
- inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::addToFrontend):
- inspector/Inspector.idl:
- inspector/InspectorApplicationCacheAgent.cpp: (WebCore::InspectorApplicationCacheAgent::buildObjectForApplicationCache): (WebCore::InspectorApplicationCacheAgent::buildArrayForApplicationCacheResources):
- inspector/InspectorController.cpp: (WebCore::InspectorController::buildArrayForCookies): (WebCore::InspectorController::getDOMStorageEntries): (WebCore::InspectorController::getProfileHeaders): (WebCore::InspectorController::getProfile):
- inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::getEventListenersForNode): (WebCore::InspectorDOMAgent::buildObjectForNode): (WebCore::InspectorDOMAgent::buildArrayForContainerChildren): (WebCore::InspectorDOMAgent::getStyles): (WebCore::InspectorDOMAgent::getAllStyles): (WebCore::InspectorDOMAgent::getRuleRanges): (WebCore::InspectorDOMAgent::buildObjectForAttributeStyles): (WebCore::InspectorDOMAgent::buildArrayForCSSRules): (WebCore::InspectorDOMAgent::buildArrayForPseudoElements): (WebCore::InspectorDOMAgent::buildObjectForStyle): (WebCore::InspectorDOMAgent::populateObjectWithStyleProperties): (WebCore::InspectorDOMAgent::buildArrayForDisabledStyleProperties): (WebCore::InspectorDOMAgent::buildObjectForStyleSheet): (WebCore::InspectorDOMAgent::buildObjectForRule):
- inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::saveBreakpoints):
- inspector/InspectorResource.cpp: (WebCore::InspectorResource::updateScriptObject):
- inspector/InspectorStorageAgent.cpp: (WebCore::): (WebCore::InspectorStorageAgent::executeSQL):
- inspector/InspectorTimelineAgent.cpp: (WebCore::InspectorTimelineAgent::pushGCEventRecords): (WebCore::InspectorTimelineAgent::didInstallTimer): (WebCore::InspectorTimelineAgent::didRemoveTimer): (WebCore::InspectorTimelineAgent::didScheduleResourceRequest): (WebCore::InspectorTimelineAgent::willSendResourceRequest): (WebCore::InspectorTimelineAgent::didFinishLoadingResource): (WebCore::InspectorTimelineAgent::didMarkTimeline): (WebCore::InspectorTimelineAgent::addRecordToTimeline): (WebCore::InspectorTimelineAgent::didCompleteCurrentRecord):
- inspector/InspectorValues.cpp: (WebCore::): (WebCore::InspectorValue::asValue): (WebCore::InspectorValue::asObject): (WebCore::InspectorValue::asArray): (WebCore::InspectorObject::asObject): (WebCore::InspectorArray::asArray):
- inspector/InspectorValues.h: (WebCore::InspectorObject::setBool): (WebCore::InspectorObject::setNumber): (WebCore::InspectorObject::setString): (WebCore::InspectorObject::setValue): (WebCore::InspectorObject::setObject): (WebCore::InspectorObject::setArray): (WebCore::InspectorArray::pushValue): (WebCore::InspectorArray::pushObject): (WebCore::InspectorArray::pushArray):
- inspector/ScriptBreakpoint.cpp: (WebCore::ScriptBreakpoint::inspectorObjectFromSourceBreakpoints):
- inspector/TimelineRecordFactory.cpp: (WebCore::TimelineRecordFactory::createGenericRecord):
- 6:18 AM MathML Status edited by
- (diff)
- 6:16 AM Changeset in webkit [65319] by
-
- 3 edits in trunk
2010-08-13 Patrick Gansterer <paroga@paroga.com>
Reviewed by Nikolas Zimmermann.
[CMake] Cleanup generator code.
https://bugs.webkit.org/show_bug.cgi?id=39164
- cmake/WebKitGenerators.cmake:
- cmake/WebKitMacros.cmake:
- 6:03 AM QtWebKitContrib edited by
- (diff)
- 6:02 AM Changeset in webkit [65318] by
-
- 2 edits1 add in trunk/LayoutTests
2010-08-13 Nate Chapin <Nate Chapin>
Unreviewed, Chromium test_expectations.txt updates + a rebaseline
- platform/chromium-linux/svg/custom/absolute-sized-content-with-resources-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 5:54 AM Changeset in webkit [65317] by
-
- 5 edits2 deletes in trunk
2010-08-13 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r65204.
http://trac.webkit.org/changeset/65204
https://bugs.webkit.org/show_bug.cgi?id=43965
Caused a lot of test crashes in Chromium (Requested by yutak
on #webkit).
- platform/mac/accessibility/native-vs-nonnative-checkboxes-expected.txt: Removed.
- platform/mac/accessibility/native-vs-nonnative-checkboxes.html: Removed.
2010-08-13 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r65204.
http://trac.webkit.org/changeset/65204
https://bugs.webkit.org/show_bug.cgi?id=43965
Caused a lot of test crashes in Chromium (Requested by yutak
on #webkit).
- accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isInputImage): (WebCore::AccessibilityRenderObject::isNativeCheckboxOrRadio):
- dom/InputElement.h:
- html/HTMLInputElement.h:
- 5:29 AM Changeset in webkit [65316] by
-
- 8 edits in trunk/WebCore
2010-08-13 Anton Muhin <antonm@chromium.org>
Reviewed by Nate Chapin.
Reapplying http://trac.webkit.org/changeset/65284 after fixed include.
[v8] Create callbacks for named access of elements from document object on fly.
https://bugs.webkit.org/show_bug.cgi?id=43725
That should speed up access to methods on document as there is no need to
consult with interceptor before invoking the method.
This reapplies http://trac.webkit.org/changeset/60670 reverted with
http://trac.webkit.org/changeset/63845. The main difference is in treatment
of removed named elements: we don't remove an accessor any more, but leave it.
Therefore any accessor should be able to treat the case when there is no
expando property.
- bindings/scripts/CodeGeneratorV8.pm:
- bindings/v8/ScriptController.cpp: (WebCore::ScriptController::namedItemAdded): (WebCore::ScriptController::namedItemRemoved):
- bindings/v8/V8DOMWindowShell.cpp: (WebCore::checkDocumentWrapper): (WebCore::V8DOMWindowShell::updateDocumentWrapperCache): (WebCore::getter): (WebCore::V8DOMWindowShell::namedItemAdded): (WebCore::V8DOMWindowShell::namedItemRemoved):
- bindings/v8/V8DOMWindowShell.h:
- bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::instantiateV8Object):
- bindings/v8/custom/V8HTMLDocumentCustom.cpp: (WebCore::V8HTMLDocument::WrapInShadowObject): (WebCore::V8HTMLDocument::GetNamedProperty): (WebCore::V8HTMLDocument::allAccessorSetter): (WebCore::toV8):
- html/HTMLDocument.cpp: (WebCore::HTMLDocument::removeItemFromMap):
- 5:11 AM Changeset in webkit [65315] by
-
- 7 edits in trunk/LayoutTests
2010-08-13 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: DRT sometimes crashes on debugger tests
https://bugs.webkit.org/show_bug.cgi?id=43964
notifyDone() should be called only when debugger already resumed all active DOM objects,
otherwise we might accidentally call setTimeout in the inspected page and create
a new active DOM object while their set should remain unchanged when script execution
is paused.
- inspector/debugger-cyclic-ref.html:
- inspector/debugger-eval-while-paused.html:
- inspector/debugger-no-nested-pause.html:
- inspector/debugger-pause-in-eval-script.html:
- inspector/debugger-pause-on-debugger-statement.html:
- inspector/debugger-proto-property.html:
- 5:08 AM Changeset in webkit [65314] by
-
- 9 edits in trunk/WebCore
2010-08-13 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: remove openInInspectorWindow and evaluateAndStringify from InjectedScript.
https://bugs.webkit.org/show_bug.cgi?id=43854
- inspector/Inspector.idl:
- inspector/InspectorController.cpp: (WebCore::InspectorController::openInInspectedWindow):
- inspector/InspectorController.h:
- inspector/front-end/ExtensionServer.js: (WebInspector.ExtensionServer.prototype._onEvaluateOnInspectedPage.callback): (WebInspector.ExtensionServer.prototype._onEvaluateOnInspectedPage):
- inspector/front-end/InjectedScript.js: (injectedScriptConstructor):
- inspector/front-end/InjectedScriptAccess.js:
- inspector/front-end/InspectorBackendStub.js: (WebInspector.InspectorBackendStub):
- inspector/front-end/ResourcesPanel.js: (WebInspector.ResourceSidebarTreeElement.prototype.ondblclick):
- 5:01 AM Changeset in webkit [65313] by
-
- 3 edits in trunk/WebCore
2010-08-13 Fumitoshi Ukai <ukai@chromium.org>
Reviewed by Alexey Proskuryakov.
flaky websocket/tests/frame-length-overflow.html
https://bugs.webkit.org/show_bug.cgi?id=43902
Add m_shouldDiscardReceivedData flag to indicate it will no longer
receive data from network.
- websockets/WebSocketChannel.cpp: (WebCore::WebSocketChannel::WebSocketChannel): (WebCore::WebSocketChannel::didReceiveData): (WebCore::WebSocketChannel::didFail): (WebCore::WebSocketChannel::processBuffer):
- when frame length overflows, we couldn't process data any more. clear buffer and mark m_shouldDiscardReceivedData true to make sure it doesn't process the same buffer again.
- websockets/WebSocketChannel.h:
- 4:50 AM WinCE edited by
- (diff)
- 4:12 AM QtWebKitWeeklyBuilds edited by
- (diff)
- 4:12 AM MathML edited by
- (diff)
- 4:09 AM MathML Status edited by
- (diff)
- 3:42 AM MathML Status edited by
- (diff)
- 3:28 AM MathML Status edited by
- (diff)
- 3:26 AM MathML Status edited by
- (diff)
- 3:21 AM MathML Status edited by
- (diff)
- 3:15 AM Changeset in webkit [65312] by
-
- 16 edits2 adds in trunk/WebCore
2010-08-13 Dirk Schulze <krit@webkit.org>
Reviewed by Nikolas Zimmermann.
Use SVGPathByteStream to animate SVGPath
https://bugs.webkit.org/show_bug.cgi?id=43929
Use SVGPathByteStream to perform animations of Paths. SVGPathBlender blends
the starting point to the end point according to the current progress value.
Cleanup SVGPathSegList, by removing the unnecessary legacy blending code.
No new tests because no functional changes.
- Android.mk:
- CMakeLists.txt:
- GNUmakefile.am:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- svg/SVGAllInOne.cpp:
- svg/SVGAnimateElement.cpp: (WebCore::SVGAnimateElement::SVGAnimateElement): (WebCore::SVGAnimateElement::calculateAnimatedValue): (WebCore::SVGAnimateElement::calculateFromAndToValues): (WebCore::SVGAnimateElement::resetToBaseValue): (WebCore::SVGAnimateElement::applyResultsToTarget):
- svg/SVGAnimateElement.h:
- svg/SVGPathBlender.cpp: Added. (WebCore::SVGPathBlender::SVGPathBlender): (WebCore::SVGPathBlender::~SVGPathBlender): (WebCore::SVGPathBlender::blendAnimatedFloat): (WebCore::SVGPathBlender::blendAnimatedFloatPoint): (WebCore::SVGPathBlender::blendMoveToSegment): (WebCore::SVGPathBlender::blendLineToSegment): (WebCore::SVGPathBlender::blendLineToHorizontalSegment): (WebCore::SVGPathBlender::blendLineToVerticalSegment): (WebCore::SVGPathBlender::blendCurveToCubicSegment): (WebCore::SVGPathBlender::blendCurveToCubicSmoothSegment): (WebCore::SVGPathBlender::blendCurveToQuadraticSegment): (WebCore::SVGPathBlender::blendCurveToQuadraticSmoothSegment): (WebCore::SVGPathBlender::blendArcToSegment): (WebCore::SVGPathBlender::blendAnimatedPath): (WebCore::SVGPathBlender::cleanup):
- svg/SVGPathBlender.h: Added.
- svg/SVGPathParserFactory.cpp: (WebCore::globalSVGPathBlender): (WebCore::SVGPathParserFactory::buildAnimatedSVGPathByteStream):
- svg/SVGPathParserFactory.h:
- svg/SVGPathSegList.cpp: (WebCore::SVGPathSegList::getPathSegAtLength):
- svg/SVGPathSegList.h: (WebCore::SVGPathSegList::create):
- svg/SVGPointList.cpp: (WebCore::adjustAnimatedValue):
- 3:14 AM Changeset in webkit [65311] by
-
- 12 edits in trunk/JavaScriptCore
Avoid increasing required alignment of target type warning on ARM
https://bugs.webkit.org/show_bug.cgi?id=38045
Reviewed by Gavin Barraclough.
The reinterpret_cast<Type1*>([pointer to Type2]) expressions - where
sizeof(Type1) > sizeof(Type2) - cause the following warning on ARM:
increases required alignment of target type warnings.
Casting the type of [pointer to Type2] object to void* bypasses the
warning.
- JavaScriptCore/assembler/ARMAssembler.cpp:
(JSC::ARMAssembler::executableCopy):
- JavaScriptCore/assembler/AssemblerBuffer.h:
(JSC::AssemblerBuffer::putShortUnchecked):
(JSC::AssemblerBuffer::putIntUnchecked):
(JSC::AssemblerBuffer::putInt64Unchecked):
- JavaScriptCore/interpreter/RegisterFile.h:
(JSC::RegisterFile::RegisterFile):
(JSC::RegisterFile::grow):
- JavaScriptCore/jit/JITStubs.cpp:
- JavaScriptCore/pcre/pcre_compile.cpp:
(jsRegExpCompile):
- JavaScriptCore/runtime/JSArray.cpp:
(JSC::JSArray::putSlowCase):
(JSC::JSArray::increaseVectorLength):
(JSC::JSArray::increaseVectorPrefixLength):
(JSC::JSArray::shiftCount):
(JSC::JSArray::unshiftCount):
- JavaScriptCore/wtf/FastMalloc.cpp:
(WTF::PageHeapAllocator::New):
(WTF::TCMalloc_Central_FreeList::Populate):
- wtf/MD5.cpp:
(WTF::reverseBytes):
(WTF::MD5::addBytes):
(WTF::MD5::checksum):
- JavaScriptCore/wtf/StdLibExtras.h:
(isPointerTypeAlignmentOkay):
(reinterpret_cast_ptr):
- JavaScriptCore/wtf/Vector.h:
(WTF::VectorBuffer::inlineBuffer):
- JavaScriptCore/wtf/qt/StringQt.cpp:
(WTF::String::String):
- 3:14 AM MathML edited by
- (diff)
- 3:03 AM Changeset in webkit [65310] by
-
- 25 edits4 adds in trunk
2010-08-12 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Dirk Schulze.
Window size changes + resources on absolute sized content leads to pixelation
https://bugs.webkit.org/show_bug.cgi?id=43921
Avoid pixelation when using resources on absolute sized objects. Be sure to invalidate the used resources if window size changes.
Otherwhise masks etc. will be scaled up and pixelate. As nice side-effect, this fixes run-webkit-tests --singly svg/W3C-SVG-1.1, which
used to produce wrong results for the gradient tests, as the window size change from 800x600 for 480x360 (svg/W3C-SVG-1.1 specific DRT quirk)
didn't invalidate the resources.
Renamed invalidateClient -> removeClientFromCache and invalidateClients -> removeAllClientsFromCache.
Add a boolean "markForInvalidation" parameter, that controls wheter the clients should be marked for repaint/boundaries invalidation/layout
or wheter we only want to notify the parents that the resource changed, to avoid doing unncessary work in SVGRenderSupport::layoutChildren.
Test: svg/custom/absolute-sized-content-with-resources.xhtml
- rendering/RenderSVGGradientStop.cpp: (WebCore::RenderSVGGradientStop::styleDidChange): Don't do anything for StyleDifferenceEqual.
- rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::imageChanged):
- rendering/RenderSVGResource.cpp: (WebCore::RenderSVGResource::markForLayoutAndParentResourceInvalidation):
- rendering/RenderSVGResource.h:
- rendering/RenderSVGResourceClipper.cpp: (WebCore::RenderSVGResourceClipper::removeAllClientsFromCache): (WebCore::RenderSVGResourceClipper::removeClientFromCache):
- rendering/RenderSVGResourceClipper.h:
- rendering/RenderSVGResourceContainer.cpp: (WebCore::RenderSVGResourceContainer::layout): (WebCore::RenderSVGResourceContainer::idChanged): (WebCore::RenderSVGResourceContainer::markAllClientsForInvalidation): (WebCore::RenderSVGResourceContainer::markClientForInvalidation):
- rendering/RenderSVGResourceContainer.h: (WebCore::RenderSVGResourceContainer::):
- rendering/RenderSVGResourceFilter.cpp: (WebCore::RenderSVGResourceFilter::removeAllClientsFromCache): (WebCore::RenderSVGResourceFilter::removeClientFromCache): (WebCore::RenderSVGResourceFilter::postApplyResource):
- rendering/RenderSVGResourceFilter.h:
- rendering/RenderSVGResourceGradient.cpp: (WebCore::RenderSVGResourceGradient::removeAllClientsFromCache): (WebCore::RenderSVGResourceGradient::removeClientFromCache): (WebCore::RenderSVGResourceGradient::applyResource):
- rendering/RenderSVGResourceGradient.h:
- rendering/RenderSVGResourceMarker.cpp: (WebCore::RenderSVGResourceMarker::layout): (WebCore::RenderSVGResourceMarker::removeAllClientsFromCache): (WebCore::RenderSVGResourceMarker::removeClientFromCache):
- rendering/RenderSVGResourceMarker.h:
- rendering/RenderSVGResourceMasker.cpp: (WebCore::RenderSVGResourceMasker::removeAllClientsFromCache): (WebCore::RenderSVGResourceMasker::removeClientFromCache):
- rendering/RenderSVGResourceMasker.h:
- rendering/RenderSVGResourcePattern.cpp: (WebCore::RenderSVGResourcePattern::removeAllClientsFromCache): (WebCore::RenderSVGResourcePattern::removeClientFromCache): (WebCore::RenderSVGResourcePattern::applyResource):
- rendering/RenderSVGResourcePattern.h:
- rendering/RenderSVGResourceSolidColor.h: (WebCore::RenderSVGResourceSolidColor::removeAllClientsFromCache): (WebCore::RenderSVGResourceSolidColor::removeClientFromCache):
- rendering/SVGRenderSupport.cpp: (WebCore::invalidateResourcesOfChildren): Add new helper funtion recursively invalidating resources of a sub render tree. (WebCore::SVGRenderSupport::layoutChildren): Keep track of all objects that didn't need layout, as we still have to invalidate their resources, if window size changes.
- rendering/SVGResources.cpp: (WebCore::SVGResources::removeClientFromCache): (WebCore::SVGResources::resourceDestroyed):
- rendering/SVGResources.h:
- rendering/SVGResourcesCache.cpp: (WebCore::SVGResourcesCache::clientLayoutChanged):
2010-08-12 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Dirk Schulze.
Window size changes + resources on absolute sized content leads to pixelation
https://bugs.webkit.org/show_bug.cgi?id=43921
- platform/mac/svg/custom/absolute-sized-content-with-resources-expected.checksum: Added.
- platform/mac/svg/custom/absolute-sized-content-with-resources-expected.png: Added.
- platform/mac/svg/custom/absolute-sized-content-with-resources-expected.txt: Added.
- svg/custom/absolute-sized-content-with-resources.xhtml: Added.
- 2:55 AM Changeset in webkit [65309] by
-
- 2 edits5 moves3 adds in trunk/LayoutTests
2010-08-13 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chromium DevTools: brush up test expectations.
https://bugs.webkit.org/show_bug.cgi?id=43959
- platform/chromium/inspector/console-dir-expected.txt: Added.
- platform/chromium/inspector/console-format-expected.txt: Added.
- platform/chromium/inspector/timeline-event-dispatch-expected.txt: Renamed from LayoutTests/platform/chromium-win/inspector/timeline-event-dispatch-expected.txt.
- platform/chromium/inspector/timeline-mark-timeline-expected.txt: Renamed from LayoutTests/platform/chromium-win/inspector/timeline-mark-timeline-expected.txt.
- platform/chromium/inspector/timeline-network-resource-expected.txt: Renamed from LayoutTests/platform/chromium-win/inspector/timeline-network-resource-expected.txt.
- platform/chromium/inspector/timeline-paint-expected.txt: Renamed from LayoutTests/platform/chromium-win/inspector/timeline-paint-expected.txt.
- platform/chromium/inspector/timeline-parse-html-expected.txt: Renamed from LayoutTests/platform/chromium-win/inspector/timeline-parse-html-expected.txt.
- platform/chromium/test_expectations.txt:
- 1:54 AM Changeset in webkit [65308] by
-
- 7 edits2 adds in trunk/WebKitTools
2010-08-13 Kenichi Ishibashi <bashi@google.com>
Reviewed by Shinichiro Hamaji.
Add test_expectations.txt syntax checker to check-webkit-style.
https://bugs.webkit.org/show_bug.cgi?id=43899
Just utilizing layout_tests/layout_package/test_expectations.py for checking
the syntax of test_expectations.txt.
This change also moves tab checking class from style/checkers/text.py to
style/checkers/common.py for sharing code.
- Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
- Scripts/webkitpy/style/checker.py:
- Scripts/webkitpy/style/checkers/common.py:
- Scripts/webkitpy/style/checkers/common_unittest.py:
- Scripts/webkitpy/style/checkers/test_expectations.py: Added.
- Scripts/webkitpy/style/checkers/test_expectations_unittest.py: Added.
- Scripts/webkitpy/style/checkers/text.py:
- Scripts/webkitpy/style_references.py:
- 1:42 AM Changeset in webkit [65307] by
-
- 2 edits in trunk/WebCore
2010-08-13 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Chromium DevTools: [CRASH] Autocomplete on arrays causes crashes.
https://bugs.webkit.org/show_bug.cgi?id=43955
- bindings/v8/ScriptValue.cpp: (WebCore::v8ToInspectorValue):
- 1:38 AM Changeset in webkit [65306] by
-
- 2 edits in trunk
2010-08-13 Patrick Gansterer <paroga@paroga.com>
Reviewed by Nikolas Zimmermann.
[CMake] Add missing FIND_PACKAGE(Gperf)
https://bugs.webkit.org/show_bug.cgi?id=43937
- CMakeLists.txt:
- 12:35 AM Changeset in webkit [65305] by
-
- 41 edits in trunk
Unify UString::UTF8String() & String::utf8() methods,
remove UString::cost() & make atArrayIndex a free function.
Reviewed by Sam Weinig
- JavaScriptCore.exp:
- bytecode/CodeBlock.cpp:
(JSC::constantName):
(JSC::idName):
(JSC::CodeBlock::registerName):
(JSC::regexpName):
(JSC::printGlobalResolveInfo):
(JSC::printStructureStubInfo):
(JSC::CodeBlock::printStructure):
(JSC::CodeBlock::printStructures):
- jsc.cpp:
(functionPrint):
(functionDebug):
(runInteractive):
(fillBufferWithContentsOfFile):
- pcre/pcre_exec.cpp:
(Histogram::~Histogram):
- profiler/CallIdentifier.h:
(JSC::CallIdentifier::c_str):
- profiler/Profile.cpp:
(JSC::Profile::debugPrintDataSampleStyle):
- profiler/ProfileGenerator.cpp:
(JSC::ProfileGenerator::willExecute):
(JSC::ProfileGenerator::didExecute):
- profiler/ProfileNode.cpp:
(JSC::ProfileNode::debugPrintData):
(JSC::ProfileNode::debugPrintDataSampleStyle):
- runtime/Arguments.cpp:
(JSC::Arguments::getOwnPropertySlot):
(JSC::Arguments::getOwnPropertyDescriptor):
(JSC::Arguments::put):
(JSC::Arguments::deleteProperty):
- runtime/DateConversion.cpp:
(JSC::parseDate):
- runtime/Identifier.h:
(JSC::Identifier::toStrictUInt32):
- runtime/JSArray.cpp:
(JSC::JSArray::getOwnPropertySlot):
(JSC::JSArray::getOwnPropertyDescriptor):
(JSC::JSArray::put):
(JSC::JSArray::deleteProperty):
- runtime/JSArray.h:
(JSC::toArrayIndex):
- runtime/JSGlobalObjectFunctions.cpp:
(JSC::encode):
(JSC::parseInt):
(JSC::globalFuncJSCPrint):
- runtime/JSString.h:
(JSC::RopeBuilder::JSString):
- runtime/UString.cpp:
(JSC::UString::toDouble):
(JSC::putUTF8Triple):
(JSC::UString::utf8):
- runtime/UString.h:
(JSC::UString::~UString):
(JSC::UString::isNull):
(JSC::UString::isEmpty):
(JSC::UString::impl):
- wtf/text/WTFString.cpp:
(WTF::String::utf8):
- wtf/text/WTFString.h:
(WTF::String::~String):
(WTF::String::swap):
(WTF::String::isNull):
(WTF::String::isEmpty):
(WTF::String::impl):
(WTF::String::length):
(WTF::String::String):
(WTF::String::isHashTableDeletedValue):
WebCore:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::getOwnPropertySlot):
(WebCore::JSDOMWindow::getOwnPropertyDescriptor):
- bridge/NP_jsobject.cpp:
(_NPN_Enumerate):
- bridge/c/c_utility.cpp:
(JSC::Bindings::convertValueToNPVariant):
- bridge/jni/JNIBridge.cpp:
(JavaParameter::JavaParameter):
(JavaMethod::JavaMethod):
(JavaMethod::signature):
(JavaMethod::methodID):
- bridge/jni/JNIBridge.h:
(JSC::Bindings::JavaString::utf8):
(JSC::Bindings::JavaParameter::type):
(JSC::Bindings::JavaMethod::returnType):
- bridge/jni/jni_jsobject.mm:
(JavaJSObject::call):
(JavaJSObject::eval):
(JavaJSObject::getMember):
(JavaJSObject::setMember):
(JavaJSObject::removeMember):
(JavaJSObject::convertJObjectToValue):
- bridge/jni/jsc/JNIBridgeJSC.cpp:
(JavaField::JavaField):
(JavaField::valueFromInstance):
(JavaField::setValueToInstance):
- bridge/jni/jsc/JNIBridgeJSC.h:
(JSC::Bindings::JavaField::type):
- bridge/jni/jsc/JavaInstanceJSC.cpp:
(JavaInstance::invokeMethod):
- bridge/jni/jsc/JavaStringJSC.h:
(JSC::Bindings::JavaStringImpl::utf8):
- bridge/runtime_array.cpp:
(JSC::RuntimeArray::getOwnPropertySlot):
(JSC::RuntimeArray::getOwnPropertyDescriptor):
(JSC::RuntimeArray::put):
WebKit/mac:
- Plugins/Hosted/NetscapePluginInstanceProxy.mm:
(WebKit::NetscapePluginInstanceProxy::enumerate):
WebKit/wx:
- WebFrame.cpp:
(wxWebFrame::RunScript):
WebKit2:
- WebProcess/Plugins/JSNPObject.cpp:
(WebKit::npIdentifierFromIdentifier):
- WebProcess/Plugins/NPJSObject.cpp:
(WebKit::NPJSObject::enumerate):
- WebProcess/Plugins/NPRuntimeObjectMap.cpp:
(WebKit::NPRuntimeObjectMap::convertJSValueToNPVariant):