Timeline
Feb 15, 2010:
- 11:42 PM Changeset in webkit [54809] by
-
- 2 edits in trunk/JavaScriptCore
2010-02-15 Gabor Loki <loki@webkit.org>
Reviewed by Gavin Barraclough.
Fix the SP at ctiOpThrowNotCaught on Thumb2 (JSVALUE32)
https://bugs.webkit.org/show_bug.cgi?id=34939
- jit/JITStubs.cpp:
- 10:17 PM Changeset in webkit [54808] by
-
- 3 edits in trunk/WebKitTools
2010-02-15 Martin Robinson <Martin Robinson>
Reviewed by Darin Adler.
check-webkit-style should not complain about NULL sentinel in calls to g_strconcat and g_strjoin
https://bugs.webkit.org/show_bug.cgi?id=34834
- Scripts/webkitpy/style/processors/cpp.py:
- Scripts/webkitpy/style/processors/cpp_unittest.py:
- 8:19 PM Changeset in webkit [54807] by
-
- 8 edits in trunk
WebCore: <rdar://problem/7645609> [webView selectionRect] API is broken for multicolumn layout
Reviewed by Simon Fraser.
Refine the fix for https://bugs.webkit.org/show_bug.cgi?id=34923 by using the center of
a quad’s bounding box, rather than its top left, as the reference point passed to
offsetFromContainer(). This ensures that if a sliver off the top of the selection rect is in
one column, but most of it is on another column, the single rect we return will be for the
second column.
- platform/graphics/FloatRect.h:
(WebCore::FloatRect::center): Added.
- rendering/RenderObject.cpp:
(WebCore::RenderObject::localToContainerQuad): Use the center instead of the top left.
LayoutTests: Add test case for <rdar://problem/7645609> [webView selectionRect] API is broken for multicolumn layout
Reviewed by Simon Fraser.
- fast/multicol/client-rects-expected.checksum:
- fast/multicol/client-rects-expected.png:
- fast/multicol/client-rects-expected.txt:
- fast/multicol/client-rects.html:
- 6:36 PM Changeset in webkit [54806] by
-
- 3 edits in trunk/WebCore
2010-02-15 MORITA Hajime <morrita@gmail.com>
Reviewed by Nikolas Zimmermann.
SVG text refactor: reduce paint specific callbacks on SVGTextChunkWalker
No new tests, no change of functionality.
- rendering/SVGCharacterLayoutInfo.h: (WebCore::SVGTextChunkWalker::SVGTextChunkWalker): Removed setupBackground(), setupFill(), setupFillSelection(), setupStroke(), setupStrokeSelection(), setupForeground() and associated member variables.
- rendering/SVGRootInlineBox.cpp: (WebCore::SVGRootInlineBoxPaintWalker::setupBackground): renamed from chunkSetupBackgroundCallback. (WebCore::SVGRootInlineBoxPaintWalker::setupFill): renamed from chunkSetupFillCallback. (WebCore::SVGRootInlineBoxPaintWalker::setupFillSelection): renamed from chunkSetupFillSelectionCallback. (WebCore::SVGRootInlineBoxPaintWalker::setupStroke): renamed from chunkSetupStrokeCallback. (WebCore::SVGRootInlineBoxPaintWalker::setupStrokeSelection): renamed from chunkSetupStrokeSelectionCallback. (WebCore::SVGRootInlineBoxPaintWalker::setupForeground): renamed from chunkSetupForegroundCallback. (WebCore::SVGRootInlineBoxPaintWalker::paintChunk): renamed from chunkPortionCallback. (WebCore::SVGRootInlineBoxPaintWalker::chunkPortionCallback): extracted from walkTextChunks. (WebCore::SVGRootInlineBox::paint): follow SVGTextChunkWalker change. (WebCore::SVGRootInlineBox::walkTextChunks): moved paint some specific code to SVGRootInlineBoxPaintWalker::chunkPortionCallback().
- 5:54 PM Changeset in webkit [54805] by
-
- 2 edits in trunk/JavaScriptCore
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
Reviewed by NOBODY (Build Fix!).
- 5:32 PM Changeset in webkit [54804] by
-
- 6 edits in trunk/JavaScriptCore
Some general Rope related refactoring.
Reviewed by Oliver Hunt.
Rename Rope::m_ropeLength to m_fiberCount, to be more descriptive.
Rename Rope::m_stringLength to simply m_length (since this is the
more conventional name for the length of a string). Move append
behaviour out into a new RopeBuilder class, so that Rope no longer
needs any knowledge of the JSString or UString implementation.
Make Rope no longer be nested within JSString.
(Rope now no-longer need reside within JSString.h, but leaving
the change of moving this out to a different header as a separate
change from these renames).
- JavaScriptCore.exp:
- jit/JITOpcodes.cpp:
(JSC::JIT::privateCompileCTIMachineTrampolines):
- runtime/JSString.cpp:
(JSC::Rope::destructNonRecursive):
(JSC::Rope::~Rope):
(JSC::JSString::resolveRope):
(JSC::JSString::toBoolean):
(JSC::JSString::getStringPropertyDescriptor):
- runtime/JSString.h:
(JSC::Rope::Fiber::Fiber):
(JSC::Rope::Fiber::deref):
(JSC::Rope::Fiber::ref):
(JSC::Rope::Fiber::refAndGetLength):
(JSC::Rope::Fiber::isRope):
(JSC::Rope::Fiber::rope):
(JSC::Rope::Fiber::isString):
(JSC::Rope::Fiber::string):
(JSC::Rope::Fiber::nonFiber):
(JSC::Rope::tryCreateUninitialized):
(JSC::Rope::append):
(JSC::Rope::fiberCount):
(JSC::Rope::length):
(JSC::Rope::fibers):
(JSC::Rope::Rope):
(JSC::Rope::operator new):
(JSC::):
(JSC::RopeBuilder::JSString):
(JSC::RopeBuilder::~JSString):
(JSC::RopeBuilder::length):
(JSC::RopeBuilder::canGetIndex):
(JSC::RopeBuilder::appendStringInConstruct):
(JSC::RopeBuilder::appendValueInConstructAndIncrementLength):
(JSC::RopeBuilder::isRope):
(JSC::RopeBuilder::fiberCount):
(JSC::JSString::getStringPropertySlot):
- runtime/Operations.h:
(JSC::jsString):
- 4:25 PM Changeset in webkit [54803] by
-
- 2 edits in trunk/WebKit/chromium
[Chromium] Fix StorageNamespaceProxy::copy() for test shell
https://bugs.webkit.org/show_bug.cgi?id=34949
Reviewed by Darin Fisher.
Chromium passes back NULL when you call WebStorageNamespace::proxy()
but TestShell returns a valid object. Both need to work via
the WebStorageNamespace.
- src/StorageNamespaceProxy.cpp:
(WebCore::StorageNamespaceProxy::copy):
- 4:19 PM Changeset in webkit [54802] by
-
- 2 edits in trunk/WebCore
Try to fix the Chromium build.
- rendering/RenderThemeChromiumMac.mm:
(WebCore::RenderThemeChromiumMac::convertToPaintingRect):
- 3:44 PM Changeset in webkit [54801] by
-
- 2 edits in trunk/JavaScriptCore
Add missing cast for !YARR (PPC) builds.
Reviewed by NOBODY (Build fix).
- runtime/RegExp.cpp:
(JSC::RegExp::match):
- 2:58 PM Changeset in webkit [54800] by
-
- 1 edit in trunk/LayoutTests/platform/win/Skipped
Add newline to end of Windows skipped list
- 2:57 PM Changeset in webkit [54799] by
-
- 2 edits in trunk/LayoutTests
Rubber-stamped by Dan Bernstein.
Skipped glyph-reordering on Windows since it has failed since it was landed. Left a comment
in <https://bugs.webkit.org/show_bug.cgi?id=34865> to track the failure.
- platform/win/Skipped:
- 2:37 PM Changeset in webkit [54798] by
-
- 7 edits2 deletes in trunk
https://bugs.webkit.org/show_bug.cgi?id=33731
Many false leaks in release builds due to PtrAndFlags
Reviewed by Darin Adler.
StructureTransitionTable was effectively a smart pointer type,
one machine word in size and wholly contained as a member of
of Structure. It either pointed to an actual table, or could
be used to describe a single transtion entry without use of a
table.
This, however, worked by using a PtrAndFlags, which is not
compatible with the leaks tool. Since there is no clear way to
obtain another bit for 'free' here, and since there are bits
available up in Structure, merge this functionality back up into
Structure. Having this in a separate class was quite clean
from an enacapsulation perspective, but this solution doesn't
seem to bad - all table access is now intermediated through the
Structure::structureTransitionTableFoo methods, keeping the
optimization fairly well contained.
This was the last use of PtrAndFlags, so removing the file too.
- JavaScriptCore.xcodeproj/project.pbxproj:
- bytecode/CodeBlock.h:
- runtime/Structure.cpp:
(JSC::Structure::Structure):
(JSC::Structure::~Structure):
(JSC::Structure::addPropertyTransitionToExistingStructure):
(JSC::Structure::addPropertyTransition):
(JSC::Structure::hasTransition):
- runtime/Structure.h:
(JSC::Structure::):
(JSC::Structure::structureTransitionTableContains):
(JSC::Structure::structureTransitionTableGet):
(JSC::Structure::structureTransitionTableHasTransition):
(JSC::Structure::structureTransitionTableRemove):
(JSC::Structure::structureTransitionTableAdd):
(JSC::Structure::structureTransitionTable):
(JSC::Structure::setStructureTransitionTable):
(JSC::Structure::singleTransition):
(JSC::Structure::setSingleTransition):
- runtime/StructureTransitionTable.h:
- wtf/PtrAndFlags.h: Removed.
WebCore:
PtrAndFlags has now been removed; remove forwarding header.
- ForwardingHeaders/wtf/PtrAndFlags.h: Removed.
- 2:21 PM Changeset in webkit [54797] by
-
- 2 edits in trunk/LayoutTests
Skip more plugin tests on Snow Leopard buildbot, as they need updated closed source components.
- platform/mac-snowleopard/Skipped: Skip netscape-dom-access.html and netscape-browser-object-identity.html.
- 1:48 PM Changeset in webkit [54796] by
-
- 5 edits in trunk/WebKit/win
Add IWebFramePrivate::visibleContentRect
Fixes <http://webkit.org/b/34956> Add API to get a WebFrame's visible
content rect
Reviewed by Jon Honeycutt.
- Interfaces/IWebFramePrivate.idl: Added visibleContentRect.
- Interfaces/WebKit.idl: Touched to force a build.
- WebFrame.cpp:
(WebFrame::visibleContentRect):
- WebFrame.h:
Added. Calls through to FrameView::visibleContentRect.
- 1:43 PM Changeset in webkit [54795] by
-
- 2 edits in trunk/JavaScriptCore
Rubber Stamped by Geoff Garen.
Bug 34948 - tryMakeString should fail on error in length calculation
Ooops! - "bool overflow" argument should have been "bool& overflow".
- runtime/UString.h:
(JSC::sumWithOverflow):
(JSC::tryMakeString):
- 1:41 PM Changeset in webkit [54794] by
-
- 2 edits in trunk/JavaScriptCore
Some symbol names have changed, remove, will readd if required.
Reviewed by NOBODY (Build Fix (pt 2!)).
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- 1:37 PM Changeset in webkit [54793] by
-
- 2 edits in trunk/LayoutTests
[Qt] fast/multicol/client-rects.html fails in QtLauncher
https://bugs.webkit.org/show_bug.cgi?id=34959
- platform/qt/Skipped: fast/multicol/client-rects.html skipped until fix.
- 1:24 PM Changeset in webkit [54792] by
-
- 2 edits in trunk/JavaScriptCore
Some symbol names have changed, remove, will readd if required.
Reviewed by NOBODY (Build Fix (pt 1?)).
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- 1:18 PM Changeset in webkit [54791] by
-
- 3 edits in trunk/WebKit/mac
More build fixing (for what is actually a 64-bit failure, as 32-bit apparently includes
headers that aren't included in 64-bit).
- Plugins/Hosted/NetscapePluginInstanceProxy.h:
- Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::contains): (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::get): Move inline functions to .cpp; also made the class Noncopyable.
- 1:09 PM Changeset in webkit [54790] by
-
- 2 edits in trunk/JavaScriptCore
Removed some mistaken code added in http://trac.webkit.org/changeset/53860.
Reviewed by Oliver Hunt.
- API/APIShims.h:
(JSC::APICallbackShim::APICallbackShim):
(JSC::APICallbackShim::~APICallbackShim): No need to start/stop the
timeout checker when calling out from the API to the client; we want to
monitor the VM for timeouts, not the client. This mistake was harmless /
undetectable, since it's totally redundant with the APIEntryShim, which
also starts / stops the timeout checker.
- 1:03 PM Changeset in webkit [54789] by
-
- 18 edits in trunk
Bug 34952 - String lengths in UString should be unsigned.
This matches WebCore::StringImpl, and better unifies behaviour throughout JSC.
Reviewed by Geoff Garen.
- JavaScriptCore.exp:
- bytecode/EvalCodeCache.h:
- runtime/Identifier.cpp:
(JSC::Identifier::equal):
- runtime/Identifier.h:
- runtime/JSGlobalObjectFunctions.cpp:
(JSC::globalFuncEscape):
- runtime/JSONObject.cpp:
(JSC::gap):
(JSC::Stringifier::indent):
- runtime/NumberPrototype.cpp:
(JSC::numberProtoFuncToFixed):
(JSC::numberProtoFuncToPrecision):
- runtime/RegExp.cpp:
(JSC::RegExp::match):
- runtime/StringPrototype.cpp:
(JSC::substituteBackreferencesSlow):
(JSC::stringProtoFuncReplace):
(JSC::stringProtoFuncSplit):
(JSC::trimString):
- runtime/UString.cpp:
(JSC::UString::UString):
(JSC::UString::from):
(JSC::UString::getCString):
(JSC::UString::ascii):
(JSC::UString::operator[]):
(JSC::UString::toStrictUInt32):
(JSC::UString::find):
(JSC::UString::rfind):
(JSC::UString::substr):
(JSC::operator<):
(JSC::operator>):
(JSC::compare):
(JSC::equal):
(JSC::UString::UTF8String):
- runtime/UString.h:
(JSC::UString::size):
(JSC::operator==):
- runtime/UStringImpl.cpp:
(JSC::UStringImpl::create):
- runtime/UStringImpl.h:
(JSC::UStringImpl::create):
(JSC::UStringImpl::size):
(JSC::UStringImpl::computeHash):
(JSC::UStringImpl::UStringImpl):
WebCore:
- bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::atob):
(WebCore::JSDOMWindow::btoa):
- 12:59 PM Changeset in webkit [54788] by
-
- 2 edits in trunk/JavaScriptCore
Bug 34948 - tryMakeString should fail on error in length calculation
Reviewed by Geoff Garen.
The sum of the length of substrings could overflow.
- runtime/UString.h:
(JSC::sumWithOverflow):
(JSC::tryMakeString):
- 12:42 PM Changeset in webkit [54787] by
-
- 3 edits in trunk/WebKit/mac
Mac release build fix attempt.
- Plugins/Hosted/NetscapePluginInstanceProxy.h:
- Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::~LocalObjectMap): Implement destructor in .cpp file, where necessary headers are already included.
- 12:35 PM Changeset in webkit [54786] by
-
- 3 edits3 adds in trunk
2010-02-15 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Xan Lopez.
[GTK] Crashes when going back to a page that has data: URIs, with page cache enabled
https://bugs.webkit.org/show_bug.cgi?id=34944
Set the URL in the newly created response, when parsing data:
URIs.
Test: fast/harness/page-cache-crash-on-data-urls.html
- platform/network/soup/ResourceHandleSoup.cpp: (WebCore::parseDataUrl):
- 12:32 PM Changeset in webkit [54785] by
-
- 2 edits in trunk/JavaScriptCore
Fixed <rdar://problem/7628524> Crash beneath JSGlobalContextRelease when
typing in Google search field with GuardMalloc/full page heap enabled
Reviewed by Oliver Hunt.
- API/JSContextRef.cpp: Don't use APIEntryShim, since that requires
a JSGlobalData, which this function destroys. Do use setCurrentIdentifierTable
and JSLock instead, since those are the two features of APIEntryShim we
require.
- 11:48 AM Changeset in webkit [54784] by
-
- 15 edits4 adds in trunk
<rdar://problem/7647300> Incorrect client rects for blocks the span multiple columns and their descendants
https://bugs.webkit.org/show_bug.cgi?id=34923
Reviewed by Simon Fraser.
WebCore:
Test: fast/multicol/client-rects.html
In column layout, a different transform applies to different points in
the block and its descendants, depending on their y coordinate within the
block. offsetFromContainer() used to return the offset that applied to
the origin. With this change, it returns the offset that applies to a
given reference point. When mapping a quad from local to absolute
coordinates, the top left of the quad’s bounding box is used as that
reference point.
- editing/SelectionController.cpp:
(WebCore::SelectionController::layout): Pass the caret’s origin as the
reference point to offsetFromContainer().
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::adjustForColumns): Adds the offset between the
given point and its image under the column paint-time transform to the
given offset. Used by offsetFromContainer() where it had previously used
adjustRectForColumns(), which takes a rect and operates less efficiently.
- rendering/RenderBlock.h:
- rendering/RenderBox.cpp:
(WebCore::RenderBox::mapLocalToContainer): Pass the transformed point as
the reference point to offsetFromContainer().
(WebCore::RenderBox::mapAbsoluteToLocalPoint): Pass a point to
offsetFromContainer().
(WebCore::RenderBox::offsetFromContainer): Use adjustForColumns() instead
of adjustRectForColumns(), and use the reference point to get the right
adjustment for the point of interest, instead of the origin, in case this
box spans multiple columns.
- rendering/RenderBox.h:
- rendering/RenderInline.cpp:
(WebCore::RenderInline::offsetFromContainer): Ditto. Actually apply the
column offset to the computation, which previously this function didn’t
do.
(WebCore::RenderInline::mapLocalToContainer): Pass the transformed point
as the reference point to offsetFromContainer().
(WebCore::RenderInline::mapAbsoluteToLocalPoint): Pass a point to
offsetFromContainer().
- rendering/RenderInline.h:
- rendering/RenderObject.cpp:
(WebCore::RenderObject::mapLocalToContainer): Apply column adjustment,
based on the reference point, to the transform if needed.
(WebCore::RenderObject::localToContainerQuad): Initialize the
TransformState with the top left corner of the quad’s bounding box. It
is later used as the reference point when deciding on which column to
base the calculations.
(WebCore::RenderObject::offsetFromContainer): Adjust for columns.
(WebCore::RenderObject::offsetFromAncestorContainer): Pass the origin
as the reference point to offsetFromContainer().
- rendering/RenderObject.h:
(WebCore::RenderObject::adjustForColumns): Added.
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::offsetFromContainer): Pass the reference
point through.
- rendering/RenderTableCell.h:
- rendering/RenderText.cpp:
(WebCore::RenderText::absoluteRectsForRange): Map (the origin of) each
rect to absolute coordinates individually.
- rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::convertToPaintingRect): Pass a point to
offsetFromContainer().
LayoutTests:
- fast/multicol/client-rects-expected.checksum: Added.
- fast/multicol/client-rects-expected.png: Added.
- fast/multicol/client-rects-expected.txt: Added.
- fast/multicol/client-rects.html: Added.
- 11:16 AM Changeset in webkit [54783] by
-
- 13 edits3 adds in trunk
Reviewed by Kevin Decker.
<rdar://problem/7130641> Browser objects identity is not preserved by Safari
Test: plugins/netscape-browser-object-identity.html
- bridge/runtime_root.h: (JSC::Bindings::RootObject::addInvalidationCallback): RootObject can now call out during invalidation, making it possible for other code to know when this happens.
- bridge/runtime_root.cpp: (JSC::Bindings::RootObject::InvalidationCallback::~InvalidationCallback): Empty destructor, in cpp file since it's virtual. (JSC::Bindings::RootObject::invalidate): Invoke invalidation callbacks.
- bridge/NP_jsobject.cpp: (ObjectMap): Keep a JSObject->NPObject map for each RootObject. It somewhat cleaner to keep it outside RootObject, because (1) it is agnostic of what kinds of objects can wrap JSObject, and (2) out of process NPAPI implementation also keeps its corresponding map separately, due to supporting per-instance granularity (as opposed to per-RootObject here). (jsDeallocate): Remove the corresponding map entry. (_NPN_CreateScriptObject): Try to fetch existing object from the map, incrementing refcount.
- 10:35 AM Changeset in webkit [54782] by
-
- 2 edits in trunk/WebCore
2010-02-15 Philippe Normand <pnormand@igalia.com>
Rubber-stamped by Gustavo Noronha Silva.
Removed redefine of LOG_VERBOSE. This should not have commited in
the first place.
- platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
- 10:04 AM Changeset in webkit [54781] by
-
- 3 edits in trunk/JavaScriptCore
2010-02-15 Patrick Gansterer <paroga@paroga.com>
Reviewed by Laszlo Gombos.
Added additional parameter to create_rvct_stubs
for setting the offset of thunkReturnAddress.
https://bugs.webkit.org/show_bug.cgi?id=34657
- create_rvct_stubs:
- jit/JITStubs.cpp:
- 9:48 AM Changeset in webkit [54780] by
-
- 4 edits2 adds in trunk
2010-02-15 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: incorrect syntax highlighting as HTML in a script tag.
We were preserving initial lexer state upon entering other tags while in <script>
but were not doing it for <script tag itself. As a result, nested script
tags were failing to highlight.
- inspector/front-end/SourceHTMLTokenizer.js: (WebInspector.SourceHTMLTokenizer.prototype.nextToken):
- inspector/front-end/SourceHTMLTokenizer.re2js:
- 9:46 AM Changeset in webkit [54779] by
-
- 3 edits in trunk/WebKit/gtk
2010-02-15 Emilio Pozuelo Monfort <pochu27@gmail.com>
Reviewed by Gustavo Noronha Silva.
[GTK] Fails to build on GNU/Hurd because of PATH_MAX usage
https://bugs.webkit.org/show_bug.cgi?id=34920
Use dynamic allocation instead of fixed PATH_MAX size buffers to
fix the build on GNU/Hurd, where PATH_MAX is undefined.
- tests/testmimehandling.c: (main):
- tests/testwebview.c: (main):
- 9:31 AM Changeset in webkit [54778] by
-
- 4 edits in trunk/WebCore
Add a progress-indicator logging channel to WebCore, and convert the old WebKit Logging
messages over to WebCore-style.
Reviewed by Dan Bernstein.
No new tests. (Logging changes only)
- loader/ProgressTracker.cpp:
(WebCore::ProgressTracker::progressStarted):
(WebCore::ProgressTracker::progressCompleted):
(WebCore::ProgressTracker::finalProgressComplete):
(WebCore::ProgressTracker::incrementProgress):
- platform/Logging.cpp:
(WebCore::):
(WebCore::getChannelFromName):
- platform/Logging.h:
- 9:10 AM Changeset in webkit [54777] by
-
- 7 edits4 moves in trunk/WebCore
Revert 54776
Move JSC-specific wrappers for Profile and ProfileNode to bindings/js.
https://bugs.webkit.org/show_bug.cgi?id=34848
- 8:59 AM Changeset in webkit [54776] by
-
- 7 edits4 moves in trunk/WebCore
2010-02-15 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
Move JSC-specific wrappers for Profile and ProfileNode to bindings/js.
- GNUmakefile.am:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSBindingsAllInOne.cpp:
- bindings/js/JavaScriptProfile.cpp: Added. (WebCore::profileCache): (WebCore::getTitleCallback): (WebCore::getHeadCallback): (WebCore::getUniqueIdCallback): (WebCore::focus): (WebCore::exclude): (WebCore::restoreAll): (WebCore::finalize): (WebCore::ProfileClass): (WebCore::toJS):
- bindings/js/JavaScriptProfile.h: Added.
- bindings/js/JavaScriptProfileNode.cpp: Added. (WebCore::profileNodeCache): (WebCore::getFunctionName): (WebCore::getURL): (WebCore::getLineNumber): (WebCore::getTotalTime): (WebCore::getSelfTime): (WebCore::getNumberOfCalls): (WebCore::getChildren): (WebCore::getVisible): (WebCore::getCallUID): (WebCore::finalize): (WebCore::ProfileNodeClass): (WebCore::toJS):
- bindings/js/JavaScriptProfileNode.h: Added.
- inspector/JavaScriptProfile.cpp: Removed.
- inspector/JavaScriptProfile.h: Removed.
- inspector/JavaScriptProfileNode.cpp: Removed.
- inspector/JavaScriptProfileNode.h: Removed.
- 7:36 AM Changeset in webkit [54775] by
-
- 5 edits in trunk
2010-02-15 Noam Rosenthal <noam.rosenthal@nokia.com>
Reviewed by Simon Hausmann.
[Qt] QtWebkit bridge: enable passing a QWebElement to a signal/slot/property
https://bugs.webkit.org/show_bug.cgi?id=34901
When a signal/slot/property is of type QWebElement, it can seamlessly
connect with JS objects that hold a WebCore element.
New tests, see WebKit/qt/ChangeLog
- bridge/qt/qt_runtime.cpp: (JSC::Bindings::QtWebElementRuntime::create): A proxy to QWebElement constructor (JSC::Bindings::QtWebElementRuntime::get): A proxy to QWebElement::element (JSC::Bindings::convertValueToQVariant): handle QWebElement (JSC::Bindings::convertQVariantToValue): handle QWebElement
2010-02-15 Noam Rosenthal <noam.rosenthal@nokia.com>
Reviewed by Simon Hausmann.
[Qt] QtWebkit bridge: enable passing a QWebElement to a signal/slot/property
Add Q_DECLARE_METATYPE to QWebElement, add relevant tests to
tst_qwebframe
https://bugs.webkit.org/show_bug.cgi?id=34901
- Api/qwebelement.h: declare metatype
- tests/qwebframe/tst_qwebframe.cpp: (MyQObject::webElementProperty): new test for QWebElement (MyQObject::setWebElementProperty): new test for QWebElement (MyQObject::myOverloadedSlot): new test for QWebElement
- 5:56 AM Changeset in webkit [54774] by
-
- 2 edits in trunk/WebCore
2010-02-15 Pavel Feldman <pfeldman@chromium.org>
Not reviewed, Chromium tests fix (force conversion of property names to
strings in Web Inspector's injected script).
- inspector/front-end/InjectedScript.js: (injectedScriptConstructor):
- 4:52 AM QtWebKitTableOfFeatures46 edited by
- (diff)
- 4:46 AM HackingGtk edited by
- (diff)
- 4:08 AM Changeset in webkit [54773] by
-
- 4 edits in trunk/JavaScriptCore
2010-02-15 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
Reviewed by Simon Hausmann.
Fix QScriptValue::toIntXX methods.
More ECMA Script compliance.
[Qt] QScriptValue::toIntXX returns incorrect values
https://bugs.webkit.org/show_bug.cgi?id=34847
- qt/api/qscriptvalue_p.h: (QScriptValuePrivate::toInteger): (QScriptValuePrivate::toInt32): (QScriptValuePrivate::toUInt32): (QScriptValuePrivate::toUInt16):
- qt/tests/qscriptvalue/tst_qscriptvalue.h:
- qt/tests/qscriptvalue/tst_qscriptvalue_generated.cpp: (tst_QScriptValue::toInteger_initData): (tst_QScriptValue::toInteger_makeData): (tst_QScriptValue::toInteger_test): (tst_QScriptValue::toInt32_initData): (tst_QScriptValue::toInt32_makeData): (tst_QScriptValue::toInt32_test): (tst_QScriptValue::toUInt32_initData): (tst_QScriptValue::toUInt32_makeData): (tst_QScriptValue::toUInt32_test): (tst_QScriptValue::toUInt16_initData): (tst_QScriptValue::toUInt16_makeData): (tst_QScriptValue::toUInt16_test):
- 3:11 AM QtWebKitTableOfFeatures46 edited by
- (diff)
- 2:56 AM Changeset in webkit [54772] by
-
- 10 edits in trunk
2010-02-15 Robert Hogan <robert@roberthogan.net>
Reviewed by Simon Hausmann.
[Qt] DRT: Support evaluateInWebInspector(), setTimelineProfilingEnabled().
Support LayoutTestController.evaluateInWebInspector(), setTimelineProfilingEnabled() in Qt DRT.
This allows the following tests to pass:
inspector/console-format-collections.html
inspector/styles-iframe.html
inspector/syntax-highlight-css.html
inspector/syntax-highlight-javascript.html
inspector/timeline-enum-stability.html
inspector/timeline-layout.html
inspector/timeline-mark-timeline.html
inspector/timeline-paint.html
inspector/timeline-parse-html.html
inspector/timeline-recalculate-styles.html
inspector/timeline-script-tag-1.html
inspector/timeline-script-tag-2.html
inspector/timeline-trivial.html
inspector/cookie-resource-match.html
inspector/elements-img-tooltip.html
inspector/elements-panel-selection-on-refresh.html
inspector/inspected-objects-not-overriden.html
inspector/timeline-event-dispatch.html
inspector/timeline-network-resource.html
inspector/elements-panel-rewrite-href.html
inspector/console-dir.html
inspector/console-dirxml.html
inspector/console-format.html
inspector/console-tests.html
inspector/elements-panel-structure.html
inspector/evaluate-in-frontend.html
inspector/console-clear.html
- platform/qt/Skipped:
2010-02-15 Robert Hogan <robert@roberthogan.net>, Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
Reviewed by Simon Hausmann.
[Qt] DRT: Support evaluateInWebInspector(), setTimelineProfilingEnabled().
Support LayoutTestController.evaluateInWebInspector(), setTimelineProfilingEnabled() in Qt DRT.
This allows the following tests to pass:
inspector/console-format-collections.html
inspector/styles-iframe.html
inspector/syntax-highlight-css.html
inspector/syntax-highlight-javascript.html
inspector/timeline-enum-stability.html
inspector/timeline-layout.html
inspector/timeline-mark-timeline.html
inspector/timeline-paint.html
inspector/timeline-parse-html.html
inspector/timeline-recalculate-styles.html
inspector/timeline-script-tag-1.html
inspector/timeline-script-tag-2.html
inspector/timeline-trivial.html
inspector/cookie-resource-match.html
inspector/elements-img-tooltip.html
inspector/elements-panel-selection-on-refresh.html
inspector/inspected-objects-not-overriden.html
inspector/timeline-event-dispatch.html
inspector/timeline-network-resource.html
inspector/elements-panel-rewrite-href.html
inspector/console-dir.html
inspector/console-dirxml.html
inspector/console-format.html
inspector/console-tests.html
inspector/elements-panel-structure.html
inspector/evaluate-in-frontend.html
inspector/console-clear.html
- Api/qwebpage.cpp: (qt_drt_webinspector_executeScript): (qt_drt_webinspector_close): (qt_drt_webinspector_show): (qt_drt_setTimelineProfilingEnabled):
- WebCoreSupport/InspectorClientQt.cpp: (InspectorClientQt::createPage)
2010-02-15 Robert Hogan <robert@roberthogan.net>
Reviewed by Simon Hausmann.
[Qt] DRT: Support evaluateInWebInspector(), setTimelineProfilingEnabled().
Support LayoutTestController.evaluateInWebInspector(), setTimelineProfilingEnabled() in Qt DRT.
This allows the following tests to pass:
inspector/console-format-collections.html
inspector/styles-iframe.html
inspector/syntax-highlight-css.html
inspector/syntax-highlight-javascript.html
inspector/timeline-enum-stability.html
inspector/timeline-layout.html
inspector/timeline-mark-timeline.html
inspector/timeline-paint.html
inspector/timeline-parse-html.html
inspector/timeline-recalculate-styles.html
inspector/timeline-script-tag-1.html
inspector/timeline-script-tag-2.html
inspector/timeline-trivial.html
inspector/cookie-resource-match.html
inspector/elements-img-tooltip.html
inspector/elements-panel-selection-on-refresh.html
inspector/inspected-objects-not-overriden.html
inspector/timeline-event-dispatch.html
inspector/timeline-network-resource.html
inspector/elements-panel-rewrite-href.html
inspector/console-dir.html
inspector/console-dirxml.html
inspector/console-format.html
inspector/console-tests.html
inspector/elements-panel-structure.html
inspector/evaluate-in-frontend.html
inspector/console-clear.html
- DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): (WebCore::isWebInspectorTest): (WebCore::DumpRenderTree::open):
- DumpRenderTree/qt/DumpRenderTreeQt.h: (WebCore::DumpRenderTree::display):
- DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::closeWebInspector): (LayoutTestController::showWebInspector): (LayoutTestController::evaluateInWebInspector): (LayoutTestController::setTimelineProfilingEnabled): (LayoutTestController::display):
- DumpRenderTree/qt/LayoutTestControllerQt.h:
- 2:51 AM Changeset in webkit [54771] by
-
- 2 edits in trunk/WebCore
2010-02-15 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: touch InspectorController in order to kick win bot tests
with new injected script contents.
- inspector/InspectorController.cpp:
- 2:44 AM QtWebKitTableOfFeatures46 edited by
- (diff)
- 2:34 AM Changeset in webkit [54770] by
-
- 8 edits in trunk/WebCore
2010-02-14 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: highlight actual search match in elements panel.
- inspector/front-end/ElementsPanel.js: (WebInspector.ElementsPanel.prototype.searchCanceled): (WebInspector.ElementsPanel.prototype.performSearch): (WebInspector.ElementsPanel.prototype.addNodesToSearchResult): (WebInspector.ElementsPanel.prototype.jumpToNextSearchResult): (WebInspector.ElementsPanel.prototype.jumpToPreviousSearchResult): (WebInspector.ElementsPanel.prototype._highlightCurrentSearchResult): (WebInspector.ElementsPanel.prototype._hideSearchHighlights):
- inspector/front-end/InjectedScript.js:
- inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype.findSearchMatches):
- inspector/front-end/TextViewer.js: (WebInspector.TextViewer.prototype._paintLine):
- inspector/front-end/textViewer.css:
- inspector/front-end/utilities.js:
- 2:22 AM QtWebKitTableOfFeatures46 edited by
- (diff)
- 2:20 AM Changeset in webkit [54769] by
-
- 8 edits in trunk
2010-02-14 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: XPathResult objects are not expanded in console.
- inspector/front-end/InjectedScript.js: (injectedScriptConstructor):
- inspector/front-end/ObjectPropertiesSection.js: (WebInspector.ObjectPropertiesSection.prototype.updateProperties): (WebInspector.ObjectPropertiesSection.CompareProperties): (WebInspector.ObjectPropertyTreeElement.prototype.update):
- inspector/front-end/Section.js: (WebInspector.Section):
- inspector/front-end/inspector.css:
Tests:
- inspector/console-dir-expected.txt:
- inspector/console-dir.html:
- 2:20 AM QtWebKitTableOfFeatures46 edited by
- (diff)
- 2:14 AM QtWebKitTableOfFeatures46 edited by
- (diff)
- 2:07 AM QtWebKitTableOfFeatures46 edited by
- (diff)
- 1:51 AM Changeset in webkit [54768] by
-
- 4 edits in trunk/LayoutTests
2010-02-15 Philippe Normand <pnormand@igalia.com>
media/video-display-aspect-ratio.html fails
https://bugs.webkit.org/show_bug.cgi?id=34933
Skipped the new test that fails.
- platform/mac-leopard/Skipped:
- platform/mac-snowleopard/Skipped:
- platform/win/Skipped:
- 1:28 AM Changeset in webkit [54767] by
-
- 4 edits in trunk/WebKit/qt
2010-02-12 Antti Koivisto <koivisto@iki.fi>
Reviewed by Kenneth Rohde Christiansen and Simon Hausmann.
https://bugs.webkit.org/show_bug.cgi?id=34885
Add a QGraphicsWebView mode that makes it automatically resize itself to the size of the content.
This is useful for cases where the client wants to implement page panning and zooming by manipulating
the graphics item.
Add a option to QGVLauncher to test this mode.
- Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate): (QGraphicsWebViewPrivate::updateResizesToContentsForPage): (QGraphicsWebViewPrivate::_q_contentsSizeChanged): (QGraphicsWebView::setPage): (QGraphicsWebView::setResizesToContents): (QGraphicsWebView::resizesToContents):
- Api/qgraphicswebview.h:
- QGVLauncher/main.cpp: (WebView::WebView): (MainView::MainView): (MainView::setMainWidget): (MainView::resizeEvent): (main):
- 12:48 AM Changeset in webkit [54766] by
-
- 3 edits3 adds in trunk
2010-02-10 Philippe Normand <pnormand@igalia.com>
Reviewed by Gustavo Noronha Silva.
[Gtk] wrong video aspect ratio
https://bugs.webkit.org/show_bug.cgi?id=34790
Fixed natural size calculation regarding pixel aspect ratio and
display aspect ratio.
Test: media/video-display-aspect-ratio.html
- platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp: (WebCore::greatestCommonDivisor): (WebCore::MediaPlayerPrivate::naturalSize):
2010-02-12 Philippe Normand <pnormand@igalia.com>
Reviewed by Gustavo Noronha Silva.
[Gtk] wrong video aspect ratio
https://bugs.webkit.org/show_bug.cgi?id=34790
Test checking the size of a 4:3 video with a 16:9 pixel aspect
ratio.
- media/content/test-par-16-9.mp4: Added.
- media/video-display-aspect-ratio-expected.txt: Added.
- media/video-display-aspect-ratio.html: Added.
Feb 14, 2010:
- 10:31 PM Changeset in webkit [54765] by
-
- 2 edits in trunk/JavaScriptCore
2010-02-14 Laszlo Gombos <Laszlo Gombos>
Reviewed by Adam Barth.
Implement NEVER_INLINE and NO_RETURN for RVCT
https://bugs.webkit.org/show_bug.cgi?id=34740
- wtf/AlwaysInline.h:
- 10:05 PM Changeset in webkit [54764] by
-
- 3 edits4 adds in trunk
2010-02-14 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
HTML5 iframe sandbox bypass of window.top.location navigation via <form target="_top">
https://bugs.webkit.org/show_bug.cgi?id=33277
Add a test that _top is covered by @sandbox.
- http/tests/security/resources/fail.html: Added.
- http/tests/security/resources/sandboxed-iframe-form-top.html: Added.
- http/tests/security/sandboxed-iframe-form-top-expected.txt: Added.
- http/tests/security/sandboxed-iframe-form-top.html: Added.
2010-02-14 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
HTML5 iframe sandbox bypass of window.top.location navigation via <form target="_top">
https://bugs.webkit.org/show_bug.cgi?id=33277
submitForm wasn't respecting shouldAllowNavigation. Instead of calling
the wrapper function, we need to call shouldAllowNavigation because we
need to handle the "frame not found" case differently than the
"navigation denied" case.
Test: http/tests/security/sandboxed-iframe-form-top.html
- loader/FrameLoader.cpp: (WebCore::FrameLoader::submitForm):
- 9:47 PM Changeset in webkit [54763] by
-
- 4 edits in trunk/WebKit/chromium
2010-02-14 Vangelis Kokkevis <vangelis@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Add support for the showDebugBorders setting to Chromium.
- public/WebSettings.h: Add declaration for setShowDebugBorders
- src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setShowDebugBorders): Add method implementation
- src/WebSettingsImpl.h: Added declaration for setShowDebugBorders
- 9:31 PM Changeset in webkit [54762] by
-
- 2 edits in trunk/WebKit/gtk
2010-02-14 Diego Escalante Urrelo <descalante@igalia.com>
Reviewed by Gustavo Noronha Silva.
[gtk] WebKitDownload's currentSize property is guint, should be guint64
https://bugs.webkit.org/show_bug.cgi?id=34829
Actually use a guint64 for current-size property in WebKitDownload, we
were using a guint which is likely the cause for wrong sizes for files
over 4 Gb.
- webkit/webkitdownload.cpp:
- 9:14 PM Changeset in webkit [54761] by
-
- 3 edits in trunk/LayoutTests
2010-02-14 Shu Chang <Chang.Shu@nokia.com>
Reviewed by Adam Barth.
[Qt] The original test case failed on Qt because its real output
"A B C DE F" did not match the expected "A B C D E F". The input
field between D and E failed to generate the space in the dumped
text as it normally would if it was broken into a new line.
This DRT issue can be addressed in a seperate bug if necessary
but shrinking the size of font so as to fit all fields into one
line is an immediate fix to pass the test case.
https://bugs.webkit.org/show_bug.cgi?id=33093
- fast/html/text-field-input-types.html:
- platform/qt/Skipped:
- 8:58 PM Changeset in webkit [54760] by
-
- 10 edits in trunk/WebKitTools
2010-02-14 Dirk Pranke <dpranke@chromium.org>
Reviewed by Eric Seidel.
Update rebaseline-chromium-webkit-tests to work with the new code
structure (port objects instead of path_utils and platform_utils).
Added a path_to_test_expectations_file() to the Port interface.
Fixed a bug in the chromium_* platform implementations where the
'target' option was assumed to be set.
- Scripts/rebaseline-chromium-webkit-tests:
- Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
- Scripts/webkitpy/layout_tests/port/base.py:
- Scripts/webkitpy/layout_tests/port/chromium.py:
- Scripts/webkitpy/layout_tests/port/chromium_linux.py:
- Scripts/webkitpy/layout_tests/port/chromium_mac.py:
- Scripts/webkitpy/layout_tests/port/chromium_win.py:
- Scripts/webkitpy/layout_tests/port/test.py:
- Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
- 8:42 PM Changeset in webkit [54759] by
-
- 3 edits in trunk/WebKitTools
2010-02-14 Eric Seidel <eric@webkit.org>
Reviewed by Darin Adler.
webkit-build-directory misuses terms
https://bugs.webkit.org/show_bug.cgi?id=34822
- Scripts/webkit-build-directory:
- Add --top-level and --configuration options and make using one of them required.
- Scripts/webkitpy/layout_tests/port/mac.py:
- Use --top-level instead of --base.
- 8:08 PM Changeset in webkit [54758] by
-
- 5 edits in trunk/WebCore
2010-02-14 Kent Tamura <tkent@chromium.org>
No review. Touch RenderRuny*.cpp to fix Chromium/Windows build bot.
- rendering/RenderRuby.cpp: Add a comment for #endf.
- rendering/RenderRubyBase.cpp: Add a comment for #endf.
- rendering/RenderRubyRun.cpp: Add a comment for #endf.
- rendering/RenderRubyText.cpp: Add a comment for #endf.
- 8:22 AM Changeset in webkit [54757] by
-
- 4 edits in trunk
2010-02-14 Chang Shu <Chang.Shu@nokia.com>
Reviewed by Laszlo Gombos.
[Qt] Enable appcache feature.
https://bugs.webkit.org/show_bug.cgi?id=34713
Re-land r54543 without the change in DumpRenderTree/qt/main.cpp.
Persistent storage for AppCache is already initialized in
DumpRenderTreeQt.cpp.
- DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::WebPage::WebPage):
2010-02-14 Chang Shu <Chang.Shu@nokia.com>
Reviewed by Laszlo Gombos.
[Qt] Enable http/tests/appcache but skip the failed cases.
https://bugs.webkit.org/show_bug.cgi?id=34713
- platform/qt/Skipped:
- 1:17 AM Changeset in webkit [54756] by
-
- 3 edits in trunk/WebCore
2010-02-13 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: cache created row, span and text elements
in TextView to improve scroller performance on debug build.
- inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype.set visible):
- inspector/front-end/TextViewer.js: (WebInspector.TextViewer): (WebInspector.TextViewer.prototype.freeCachedElements): (WebInspector.TextViewer.prototype._buildChunks): (WebInspector.TextViewer.prototype._makeLineAChunk): (WebInspector.TextViewer.prototype._paintLine): (WebInspector.TextViewer.prototype._releaseLines): (WebInspector.TextViewer.prototype._appendSpan): (WebInspector.TextViewer.prototype._appendTextNode): (WebInspector.TextChunk): (WebInspector.TextChunk.prototype.set expanded): (WebInspector.TextChunk.prototype._lineNumberText): (WebInspector.TextChunk.prototype._createRow):