Timeline
Mar 21, 2008:
- 11:57 PM Changeset in webkit [31227] by
-
- 3 edits2 adds in trunk
WebCore:
Reviewed by Oliver Hunt.
- fix http://bugs.webkit.org/show_bug.cgi?id=17988 REGRESSION (r31114-31132): Crash in InlineBox::isDirty() opening chowhound.com
Test: fast/css-generated-content/empty-content-with-float-crash.html
- rendering/bidi.cpp: (WebCore::RenderBlock::layoutInlineChildren): Added a null check for the case where the block contains no in-flow elements but still lays out as a line flow, which can happen as a result of empty generated content.
LayoutTests:
Reviewed by Oliver Hunt.
- test for http://bugs.webkit.org/show_bug.cgi?id=17988 REGRESSION (r31114-31132): Crash in InlineBox::isDirty() opening chowhound.com
- fast/css-generated-content/empty-content-with-float-crash-expected.txt: Added.
- fast/css-generated-content/empty-content-with-float-crash.html: Added.
- 9:59 PM Changeset in webkit [31226] by
-
- 3 edits in trunk/JavaScriptCore
Optimise lookup of Math, undefined, NaN and Infinity
Reviewed by Maciej
Added a method to JSVariableObject to allow us to inject DontDelete properties
into the symbol table and localStorage. This results in a 0.4% progression in
SunSpider, with a 8% gain in math-partial-sums.
- 7:36 PM Changeset in webkit [31225] by
-
- 8 edits in trunk
Global properties that use LocalStorage are not correctly listed as enumerable.
Reviewed by Geoff Garen
The problem was caused by JSObject::getPropertyAttributes not being aware
of the JSVariableObject SymbolTable. The fix is to make getPropertyAttributes
virtual and override in JSVariableObject. This does not produce any performance
regression.
- 5:39 PM Changeset in webkit [31224] by
-
- 5 edits2 adds in trunk
WebCore:
2008-03-21 Sam Weinig <sam@webkit.org>
Reviewed by Oliver Hunt.
Fix <rdar://problem/5788451>
toDataURL not implemented for Windows (need mapping of MIME type to UTI)
Hard code support for just PNG's on windows, the minimum the spec requires.
- platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedImageMIMETypesForEncoding):
- platform/graphics/cg/ImageBufferCG.cpp: (WebCore::utiFromMIMEType): (WebCore::ImageBuffer::toDataURL):
LayoutTests:
2008-03-21 Sam Weinig <sam@webkit.org>
Reviewed by Oliver Hunt.
Enable tests for <rdar://problem/5788451>
toDataURL not implemented for Windows (need mapping of MIME type to UTI)
- platform/win/Skipped:
- platform/win/fast/canvas: Added.
- platform/win/fast/canvas/toDataURL-supportedTypes-expected.txt: Added.
- 4:58 PM Changeset in webkit [31223] by
-
- 4 edits in trunk/WebCore
2008-03-21 Matt Lilek <webkit@mattlilek.com>
Not reviewed, Mac build fix.
- bindings/objc/WebScriptObject.mm: (+[WebScriptObject _convertValueToObjcValue:originRootObject:rootObject:]):
- bridge/jni/jni_utility.cpp: (KJS::Bindings::convertValueToJValue):
- bridge/objc/objc_runtime.mm: (ObjcFallbackObjectImp::callAsFunction):
- 4:31 PM Changeset in webkit [31222] by
-
- 1 edit2 adds in trunk/WebKitSite
2008-03-21 Antti Koivisto <Antti Koivisto>
Add some images for a blog post.
- blog-files/wsj-nopreload.png: Added.
- blog-files/wsj-preload.png: Added.
- 4:30 PM Changeset in webkit [31221] by
-
- 2 edits in trunk/WebCore
Attempt to fix the Mac build
- bindings/objc/DOMUtility.mm: (KJS::createDOMWrapper):
- 3:09 PM Changeset in webkit [31220] by
-
- 35 edits in trunk/WebCore
Rename static info members to s_info
This avoids conflicts with custom "info" methods, such as the one that
will soon be added to Console.
Reviewed by Ada Chan and Sam Weinig.
- 3:00 PM Changeset in webkit [31219] by
-
- 3 edits in trunk/WebCore
2008-03-21 David Hyatt <hyatt@apple.com>
<rdar://problem/5808863> Zooming should not let non-zero border width become zero
Make sure zoomed values that begin >= 1 are not allowed to fall below 1.
Reviewed by adele
- css/CSSPrimitiveValue.cpp: (WebCore::CSSPrimitiveValue::computeLengthDouble):
- loader/CachedImage.cpp: (WebCore::CachedImage::imageSize): (WebCore::CachedImage::imageRect):
- 2:05 PM Changeset in webkit [31218] by
-
- 2 edits in trunk/WebCore
2008-03-21 Kevin McCullough <kmccullough@apple.com>
Reviewed by Sam.
-<rdar://problem/5712804> XMLHttpRequests do not show response contents, preview images (14313)
-<rdar://problem/5712931> XMLHttpRequests should be shown separately and grouped (14315)
-<rdar://problem/5732836> XMLHttpRequest: Inspector should show network activity/XHR in Console (17233)
- Instrument the InspectorController to cache XHR resrouces since they are not cached by WebCore. The resources will be kept in the same map as all other resources so they will have the exact same lifecycle.
- ChangeLog:
- page/InspectorController.cpp: (WebCore::InspectorCachedXMLHttpRequestResource::type): (WebCore::InspectorCachedXMLHttpRequestResource::setType): (WebCore::InspectorCachedXMLHttpRequestResource::data): (WebCore::InspectorCachedXMLHttpRequestResource::setData): (WebCore::InspectorCachedXMLHttpRequestResource::encoding): (WebCore::InspectorCachedXMLHttpRequestResource::setEncoding): (WebCore::InspectorCachedXMLHttpRequestResource::create): (WebCore::InspectorCachedXMLHttpRequestResource::InspectorCachedXMLHttpRequestResource):
- xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::send):
- 1:40 PM Changeset in webkit [31217] by
-
- 1 edit in trunk/ChangeLog
Add missing ChangeLog entry for r31214.
2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
Reviewed by Holger.
Remove the JSCore include path options from global_cppflags.
Place JSCore include path options in javascriptcore_cppflags.
Add javascriptcore_cppflags to libWebCore_la_CPPFLAGS.
- GNUmakefile.am:
- 12:26 PM Changeset in webkit [31216] by
-
- 2 edits in trunk/JavaScriptCore
2008-03-21 Arkadiusz Miskiewicz <arekm@maven.pl>
Webkit does not build on linux powerpc
Reviewed by David Kilzer.
- wtf/TCSpinLock.h: (TCMalloc_SpinLock::Unlock):
- 11:48 AM Changeset in webkit [31215] by
-
- 2 edits in trunk/SunSpider
Reviewed by Geoff.
- sunspider: Pause update daemon on Darwin to make results reliable again (workaround for <rdar://problem/5811127>).
- 11:21 AM Changeset in webkit [31214] by
-
- 7 edits in trunk
JavaScriptCore/ChangeLog:
2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
Reviewed by Holger.
Add javascriptcore_cppflags to Programs_minidom_CPPFLAGS.
- GNUmakefile.am:
WebCore/ChaneLog:
2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
Reviewed by Holger.
Remove WebCore/ForwardingHeaders from cppflags as it is not needed,
and causes build problems with GTK+.
- GNUmakefile.am:
WebKitTools/ChangeLog:
2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
Reviewed by Holger.
Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
- GNUmakefile.am:
- 10:17 AM Changeset in webkit [31213] by
-
- 3 edits4 adds in trunk
WebCore:
Reviewed by Adele Peterson.
- fix http://bugs.webkit.org/show_bug.cgi?id=17966 REGRESSION (r31114-r31132): Clearing via br behaves unpredictably
Test: fast/block/float/br-with-clear.html
- rendering/bidi.cpp: (WebCore::RenderBlock::layoutInlineChildren): Fixed the logic for the very special case of an all-lines-clean block that ends with a float- clearing <br> by looking for the <br> at the end of the line rather than at its beginning.
LayoutTests:
Reviewed by Adele Peterson.
- test for http://bugs.webkit.org/show_bug.cgi?id=17966 REGRESSION (r31114-r31132): Clearing via br behaves unpredictably
- fast/block/float/br-with-clear.html: Added.
- platform/mac/fast/block/float/br-with-clear-expected.checksum: Added.
- platform/mac/fast/block/float/br-with-clear-expected.png: Added.
- platform/mac/fast/block/float/br-with-clear-expected.txt: Added.
- 9:36 AM Changeset in webkit [31212] by
-
- 2 edits in trunk/WebKit/win
<rdar://problem/5810324> visitCount not updated in History.plist
Call WebCore::HistoryItem::mergeAutoCompleteHints() in WebHistoryItem::mergeAutoCompleteHints().
Reviewed by Steve.
- WebHistoryItem.cpp: (WebHistoryItem::mergeAutoCompleteHints): (WebHistoryItem::QueryInterface):
- 9:29 AM Changeset in webkit [31211] by
-
- 3 edits in trunk/WebKitTools
Remove a non-working mirror from cygwin-downloader and add the ruby package
- CygwinDownloader/cygwin-downloader.py:
- CygwinDownloader/cygwin-downloader.zip: Updated.
- 9:27 AM Changeset in webkit [31210] by
-
- 3 edits in trunk/WebCore
Don't allow any newly-scheduled plugin requests to be serviced when JS is paused
This is a followup to r31199.
Reviewed by Tim Hatcher.
- plugins/PluginView.cpp: (WebCore::PluginView::requestTimerFired): Added an assertion that JS is not paused. (WebCore::PluginView::scheduleRequest): Don't start the request timer if JS is paused. This is the bug fix. (WebCore::PluginView::setJavaScriptPaused): Replaced the use of m_requestTimerWasActive with a check to see if we have any pending requests. m_requestTimerWasActive would not be accurate if a new request had been scheduled while JS was paused. (WebCore::PluginView::PluginView): Removed initialization of m_requestTimerWasActive.
- plugins/PluginView.h: Removed m_requestTimerWasActive.
- 9:19 AM UpdatingCygwinDownloader created by
- Initial version
- 9:14 AM WikiStart edited by
- Add a link to a page to describe how to update cygwin-downloader (diff)
- 9:00 AM Changeset in webkit [31209] by
-
- 6 edits in trunk/WebKit/mac
Bug 17980: Regression: Inspector highlighting of webpage not cleared when going to new URL
http://bugs.webkit.org/show_bug.cgi?id=17980
Reviewed by Adam.
The new highlight drawing was not honoring the fade value, so it was
always drawing at full opacity. The animation code didn't match Windows
and the new highlight anyway, so it has been removed. The highlight
how just detaches when it is hidden.
- WebCoreSupport/WebInspectorClient.mm:
(-[WebInspectorWindowController windowShouldClose:]): Call hideHighlight.
(-[WebInspectorWindowController close]): Ditto.
(-[WebInspectorWindowController highlightNode:]): Call attach.
(-[WebInspectorWindowController hideHighlight]): Call detach and release _currentHighlight.
- WebInspector/WebNodeHighlight.h:
- WebInspector/WebNodeHighlight.m:
(-[WebNodeHighlight initWithTargetView:inspectorController:]):
(-[WebNodeHighlight dealloc]): Assert we have no _highlightView.
(-[WebNodeHighlight attach]): Renamed from attachHighlight.
(-[WebNodeHighlight detach]): Renamed from detachHighlight.
(-[WebNodeHighlight setNeedsUpdateInTargetViewRect:]): Renamed from setHolesNeedUpdateInTargetViewRect:.
- WebInspector/WebNodeHighlightView.h:
- WebInspector/WebNodeHighlightView.m:
(-[WebNodeHighlightView setNeedsDisplayInRect:]): Renamed from setHolesNeedUpdateInRect:.
- 4:14 AM Changeset in webkit [31208] by
-
- 10 edits in trunk/JavaScriptCore
Reviewed by Oliver Hunt.
Consolidate static identifier initializers within CommonIdentifiers.
No reliably measurable change on SunSpider; maybe a tiny improvement (within 0.2%).
- kjs/CommonIdentifiers.h: Added static identifiers that were lazily initialized throughout the code.
- kjs/date_object.cpp: (KJS::DateObjectImp::DateObjectImp):
- kjs/function_object.cpp: (KJS::FunctionPrototype::FunctionPrototype):
- kjs/object_object.cpp: (KJS::ObjectPrototype::ObjectPrototype):
- kjs/regexp_object.cpp: (KJS::RegExpPrototype::RegExpPrototype): Use the values from CommonIdentifiers.
- kjs/lookup.h: Caching the identifier in a static wasn't a win on SunSpider, removed it.
- kjs/value.h: (KJS::jsNaN): We already have a shared NaN value, no need for a duplicate here.
- wtf/MathExtras.h: (wtf_atan2): Having local variables for numeric_limits constants is good for readability, but there is no reason to keep them static.
- JavaScriptCore.exp: Don't needlessly export JSGlobalObject::s_head.
- 12:07 AM Changeset in webkit [31207] by
-
- 4 edits in trunk/LayoutTests
- update results for the 'zoom' property added in <http://trac.webkit.org/projects/webkit/changeset/31155>
- fast/css/computed-style-expected.txt:
- fast/css/computed-style-without-renderer-expected.txt:
- svg/css/getComputedStyle-basic-expected.txt:
Mar 20, 2008:
- 10:30 PM Changeset in webkit [31206] by
-
- 4 edits2 adds in trunk
WebCore:
2008-03-20 Dan Bernstein <mitz@apple.com>
Reviewed by Anders Carlsson.
- fix an assertion failure due to a line being marked dirty during computeVerticalPositionsForLine() due to temporary box destruction
Test: fast/inline/clean-after-removing-temp-boxes.html
- rendering/RenderText.cpp: (WebCore::RenderText::setTextWithOffset): Added code to dirty lines when this method is called on an empty text node, which has no line boxes.
- rendering/bidi.cpp: (WebCore::RenderBlock::computeVerticalPositionsForLine): Mark the line clean in the end.
LayoutTests:
2008-03-20 Dan Bernstein <mitz@apple.com>
Reviewed by Anders Carlsson.
- test for an assertion failure due to a line being marked dirty during computeVerticalPositionsForLine() due to temporary box destruction
- fast/inline/clean-after-removing-temp-boxes-expected.txt: Added.
- fast/inline/clean-after-removing-temp-boxes.html: Added.
- 10:00 PM Changeset in webkit [31205] by
-
- 4 edits in trunk/JavaScriptCore
Fix for leak introduced by inline ScopeChainNode use
Reviewed by Maciej
To avoid any extra branches when managing an inline ScopeChainNode
in the ScopeChain the inline node gets inserted with a refcount of
- This meant than when the ScopeChain was destroyed the ScopeChainNodes
above the inline node would be leaked.
We resolve this by manually popping the inline node in the
FunctionExecState destructor.
- 6:32 PM Changeset in webkit [31204] by
-
- 3 edits in trunk/WebCore
2008-03-20 Anders Carlsson <andersca@apple.com>
Reviewed by Maciej.
Make some member variables private.
- loader/ResourceLoader.cpp: (WebCore::ResourceLoader::ResourceLoader):
- loader/ResourceLoader.h:
- 6:18 PM Changeset in webkit [31203] by
-
- 4 edits in trunk/WebCore
2008-03-20 Anders Carlsson <andersca@apple.com>
Reviewed by Maciej.
Get rid of m_originalURL in ResourceLoader.
- loader/ResourceLoader.cpp: (WebCore::ResourceLoader::load): Don't store m_originalURL.
- loader/ResourceLoader.h:
- loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::willSendRequest): Use the url of the current request instead of the original URL.
- 6:07 PM Changeset in webkit [31202] by
-
- 3 edits in trunk/WebCore
2008-03-20 Anders Carlsson <andersca@apple.com>
Reviewed by Maciej.
Small loader cleanups.
- loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::willSendRequest): No need to call setRequest here, ResourceLoader::willSendRequest takes care of that. Also, there is no need to check that newRequest is null here, because we assert earlier that it is not.
- loader/ResourceLoader.h: Get rid of setRequest, it is no longer needed.
- 6:00 PM Changeset in webkit [31201] by
-
- 2 edits in trunk/WebCore
2008-03-20 Anders Carlsson <andersca@apple.com>
Get rid of a couple of unnecessary class declarations.
- loader/SubresourceLoader.h:
- 5:30 PM Changeset in webkit [31200] by
-
- 20 edits in trunk/WebCore
2008-03-20 David Hyatt <hyatt@apple.com>
Add a new value to background-clip, "text", that allows backgrounds to be clipped to foreground text (and
associated text decorations like shadows and underlines).
Reviewed by Beth
- css/CSSParser.cpp: (WebCore::CSSParser::parseBackgroundProperty):
- css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): (WebCore::CSSPrimitiveValue::operator EBackgroundBox):
- platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::clipToImageBuffer):
- platform/graphics/GraphicsContext.h:
- platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::clipToImageBuffer):
- rendering/InlineBox.cpp: (WebCore::InlineBox::paint):
- rendering/InlineFlowBox.cpp: (WebCore::InlineFlowBox::paintBackgrounds): (WebCore::InlineFlowBox::paintBackground): (WebCore::InlineFlowBox::paintBoxDecorations):
- rendering/InlineFlowBox.h:
- rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paint):
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::paintColumns): (WebCore::RenderBlock::paintObject): (WebCore::RenderBlock::paintFloats):
- rendering/RenderBlock.h:
- rendering/RenderBox.cpp: (WebCore::RenderBox::paintRootBoxDecorations): (WebCore::RenderBox::paintBoxDecorations): (WebCore::RenderBox::paintBackgrounds): (WebCore::RenderBox::paintBackground): (WebCore::RenderBox::paintBackgroundExtended):
- rendering/RenderBox.h:
- rendering/RenderFieldset.cpp: (WebCore::RenderFieldset::paintBoxDecorations):
- rendering/RenderFlow.cpp: (WebCore::RenderFlow::paintLines):
- rendering/RenderObject.h: (WebCore::): (WebCore::RenderObject::paintBackgroundExtended):
- rendering/RenderStyle.h: (WebCore::):
- rendering/RenderTable.cpp: (WebCore::RenderTable::paintBoxDecorations):
- rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::paintBackgroundsBehindCell):
- 5:14 PM Changeset in webkit [31199] by
-
- 3 edits in trunk/WebCore
Allow pausing/blocking of JS execution by plugins
Part of Bug 17133: Should support pausing JavaScript execution without
hanging the process
<http://bugs.webkit.org/show_bug.cgi?id=17133>
<rdar://problem/5719551>
This patch doesn't affect Mac, which doesn't use the shared PluginView
code.
Note that this patch doesn't prevent plugins from executing JS via an
NPObject they've already gotten hold of. It just blocks obtaining new
NPObjects and pauses any requests to evaluate javascript: URIs. This
is probably good enough for now because most plugins seem to always
obtain the Window object each time they want to execute JS.
Reviewed by Tim Hatcher.
- plugins/PluginView.cpp: (WebCore::PluginView::getValue): Return an error if JS is paused. (WebCore::PluginView::setJavaScriptPaused): Stop the request timer if we're pausing, and resume it if we're unpausing. (WebCore::PluginView::PluginView): Initialize new members.
- plugins/PluginView.h:
- 5:14 PM Changeset in webkit [31198] by
-
- 3 edits in trunk/WebCore
Allow pausing of callOnMainThread callbacks
Part of Bug 17133: Should support pausing JavaScript execution without
hanging the process
<http://bugs.webkit.org/show_bug.cgi?id=17133>
<rdar://problem/5719551>
Reviewed by Tim Hatcher.
- platform/MainThread.cpp: (WebCore::dispatchFunctionsFromMainThread): If callbacks are paused, don't dispatch the functions. (WebCore::setMainThreadCallbacksPaused): Added. If we're being unpaused, call scheduleDispatchFunctionsOnMainThread so that any queued callbacks will get dispatched in the near future.
- platform/MainThread.h:
- 5:13 PM Changeset in webkit [31197] by
-
- 5 edits in trunk/WebCore
Allow blocking of JS event handlers/javascript: URIs per-Frame
Part of Bug 17133: Should support pausing JavaScript execution without
hanging the process
<http://bugs.webkit.org/show_bug.cgi?id=17133>
<rdar://problem/5719551>
Two new methods are added to KJSProxy: setPaused and isPaused. When
setPaused(true) is called, JS event handlers are blocked and
javascript: URIs will not be evaluated.
Reviewed by Tim Hatcher.
- bindings/js/kjs_events.cpp:
(WebCore::JSAbstractEventListener::handleEvent):
- Removed some old KJS_DEBUGGER code
- Don't run the handler if the KJSProxy is paused.
- bindings/js/kjs_proxy.cpp: (WebCore::KJSProxy::KJSProxy): Initialize new member.
- bindings/js/kjs_proxy.h: Added new methods.
- loader/FrameLoader.cpp: (WebCore::FrameLoader::executeScript): Don't execute the script if the KJSProxy is paused.
- 4:50 PM Changeset in webkit [31196] by
-
- 3 edits in trunk/WebCore
2008-03-20 Jon Honeycutt <jhoneycutt@apple.com>
Reviewed by Anders.
Fix Windows warning / leak: warning C4150: deletion of pointer to
incomplete type 'WebCore::PluginRequest'; no destructor called
- plugins/PluginView.cpp: Move PluginRequest class to PluginView.h so Windows PluginView destructor can use WTF::deleteAllValues to clean up m_requests.
- plugins/PluginView.h: (WebCore::PluginRequest::PluginRequest): (WebCore::PluginRequest::frameLoadRequest): (WebCore::PluginRequest::notifyData): (WebCore::PluginRequest::sendNotification): (WebCore::PluginRequest::shouldAllowPopups):
- 4:18 PM Changeset in webkit [31195] by
-
- 8 edits in trunk
Ensure that the defines in FEATURE_DEFINES are sorted so that they will match the default settings of build-webkit.
This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
command-line.
Reviewed by Sam Weinig.
- 4:17 PM Changeset in webkit [31194] by
-
- 1 edit in trunk/WebCore/ChangeLog
Add some more bug references to ChangeLog from r31079
- 4:16 PM Developer Tools Hitlist edited by
- Removed another fixed bug (diff)
- 4:11 PM Developer Tools Hitlist edited by
- Removed a fixed bug (diff)
- 4:00 PM Changeset in webkit [31193] by
-
- 2 edits in trunk/WebCore
2008-03-20 Jon Honeycutt <jhoneycutt@apple.com>
Reviewed by Anders.
<rdar://problem/5809600> REGRESSION:
http/tests/plugins/cross-frame-object-access.html hangs Windows Layout
Tests
r30897 changed the way we conditionalize this feature.
- plugins/PluginView.cpp: (WebCore::PluginView::getValue): Test ENABLE(NETSCAPE_PLUGIN_API) instead of USE(NPOBJECT). (WebCore::PluginView::bindingInstance): Same.
- 3:59 PM Changeset in webkit [31192] by
-
- 2 edits in trunk/WebCore
Highlight nodes when you hover over them in the Console
Part of Bug 16532: Inspector should highlight nodes in page when
hovering over nodes in Inspector's interface
<http://bugs.webkit.org/show_bug.cgi?id=16532>
<rdar://problem/5712896>
Reviewed by Tim Hatcher.
- page/inspector/ConsolePanel.js: (WebInspector.ConsolePanel._formatnode): Add mouseover/mouseout event listeners to highlight the node and clear the highlight.
- 3:59 PM Changeset in webkit [31191] by
-
- 2 edits in trunk/WebCore
Highlight nodes in the page when you hover over their DOM breadcrumbs
Part of Bug 16532: Inspector should highlight nodes in page when
hovering over nodes in Inspector's interface
<http://bugs.webkit.org/show_bug.cgi?id=16532>
<rdar://problem/5712896>
Reviewed by Tim Hatcher.
- page/inspector/DocumentPanel.js: (WebInspector.DocumentPanel): Add an mouseout event listener to the breadcrumbs element to clear the highlighted node. (WebInspector.DocumentPanel.updateBreadcrumbs): Change the mouseover event listener to highlight the node represented by the hovered breadcrumb.
- 3:58 PM Changeset in webkit [31190] by
-
- 2 edits in trunk/WebCore
Highlight nodes in the page when you hover over them in the DOM tree
Part of Bug 16532: Inspector should highlight nodes in page when
hovering over nodes in Inspector's interface
<http://bugs.webkit.org/show_bug.cgi?id=16532>
<rdar://problem/5712896>
The inspected node is no longer highlighted (unless, of course, you
hover over it).
Reviewed by Tim Hatcher.
- page/inspector/DocumentPanel.js:
(WebInspector.DocumentPanel):
- Don't highlight the focused node when the DOM tree is shown
- Added mousemove/mouseout event listeners to set/clear the highlighted node. These are added to the root of the DOM tree instead of to each individual list item to avoid flashing as the mouse moves between nodes.
(WebInspector.DocumentPanel.set focusedDOMNode): Don't highlight the
focused node.
(WebInspector.DocumentPanel._onmousemove): Highlight the node under
the mouse.
- 3:58 PM Changeset in webkit [31189] by
-
- 2 edits in trunk/WebCore
Show nodes' content/padding/border/margin boxes in the node highlight
Part of Bug 17221: Node highlight should show node metrics
<http://bugs.webkit.org/show_bug.cgi?id=17221>
<rdar://problem/5732822>
Outstanding issues:
1) We don't show padding/border/margins for inlines
2) We don't show any numeric metrics, we just draw the boxes
3) We'll probably want to tweak the look of the highlight some, at
least to make the boxes better distinguishable
Reviewed by Tim Hatcher.
- page/InspectorController.cpp: (WebCore::drawOutlinedRect): Added. Just draws a single rect. (WebCore::drawHighlightForBoxes): Added. Takes the rects we calculated for the node and draws the highlight. (WebCore::InspectorController::drawNodeHighlight): Calculates the content/padding/border/margin boxes for blocks and passes them off to drawHighlightForBoxes. The behavior for inlines is for now unchanged.
- 3:57 PM Changeset in webkit [31188] by
-
- 3 edits in trunk/WebCore
Fix RenderContainer's override of addLineBoxRects to match RenderObject's
RenderContainer::addLineBoxRects was never getting called because its
parameters didn't match those of RenderObject::addLineBoxRects.
Reviewed by Mitz Pettel.
No test possible.
- rendering/RenderContainer.cpp: Added an optional bool useSelectionHeight parameter to match RenderObject's method.
- rendering/RenderContainer.h: Ditto.
- 3:38 PM Changeset in webkit [31187] by
-
- 3 edits in trunk/LayoutTests
Tweak NodeList tests to ensure that they force a GC outside of DRT.
Rubber-stamped by Sam Weinig.
- fast/dom/NodeList/5725058-crash-scenario-1.html:
- fast/dom/NodeList/5725058-crash-scenario-2.html:
- 3:37 PM Changeset in webkit [31186] by
-
- 2 edits in trunk/WebKit/win
Reviewed by Adam Roben.
- make makeTextLarger() and zoomPageIn() do what they are supposed to do
- WebView.cpp: (WebView::makeTextLarger): Changed call to canZoomIn() to zoomIn(). (WebView::zoomPageIn): Ditto.
- 2:00 PM Changeset in webkit [31185] by
-
- 2 edits in trunk/WebCore
2008-03-20 Marco Barisione <marco.barisione@collabora.co.uk>
Reviewed by Alp Toker.
http://bugs.webkit.org/show_bug.cgi?id=17946
[GTK] Widgets are not clipped
- platform/gtk/RenderThemeGtk.cpp: (WebCore::paintMozWidget): pass the clipping rectangle to moz_gtk_widget_paint() instead of just the widget rectangle.
- 1:44 PM Changeset in webkit [31184] by
-
- 9 edits2 deletes in trunk/WebKit/gtk
2008-03-20 Alp Toker <alp@atoker.com>
GTK+ build fix. Back out r31183. This patch also introduced API style
issues.
- WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
- webkit/headers.pri:
- webkit/webkit-marshal.list:
- webkit/webkitdefines.h:
- webkit/webkitnavigationaction.cpp: Removed.
- webkit/webkitnavigationaction.h: Removed.
- webkit/webkitprivate.cpp:
- webkit/webkitprivate.h:
- webkit/webkitwebview.cpp:
- webkit/webkitwebview.h:
- 11:19 AM Changeset in webkit [31183] by
-
- 10 edits2 adds in trunk
.:
2008-03-20 Jasper Bryant-Greene <jasper@unix.geek.nz>
Reviewed by Anders.
Resolves http://bugs.webkit.org/show_bug.cgi?id=16092
"[GTK] Middle-mouse click should allow opening a URL in a new tab"
Added WebKitNavigationAction object to GTK API
- GNUmakefile.am:
WebKit/gtk:
2008-03-20 Jasper Bryant-Greene <jasper@unix.geek.nz>
Reviewed and tweaked by Anders.
Resolves http://bugs.webkit.org/show_bug.cgi?id=16092
"[GTK] Middle-mouse click should allow opening a URL in a new tab"
Created WebKitNavigationAction object exported through the API. The
navigation-requested signal provides this object as context for the
requested navigation, allowing the application to decide what to do
with the navigation based on which mouse button was used, which
modifier keys were held down, etc. This allows, for example, the
application to open links in a new tab when either middle-click or
control-click are used to initiate the navigation.
- WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
- webkit/headers.pri:
- webkit/webkit-marshal.list:
- webkit/webkitdefines.h:
- webkit/webkitnavigationaction.cpp: Added. (webkit_navigation_action_finalize): (webkit_navigation_action_class_init): (webkit_navigation_action_init): (webkit_navigation_action_get_button): (webkit_navigation_action_get_modifier_flags): (webkit_navigation_action_get_navigation_type): (webkit_navigation_action_get_original_url):
- webkit/webkitnavigationaction.h: Added.
- webkit/webkitprivate.cpp: (WebKit::kit):
- webkit/webkitprivate.h:
- webkit/webkitwebview.cpp:
- webkit/webkitwebview.h:
- 10:59 AM Changeset in webkit [31182] by
-
- 4 adds in trunk/LayoutTests
Added layout test for dynamic sibling selector patch.
- 10:59 AM Changeset in webkit [31181] by
-
- 2 edits in trunk/WebCore
2008-03-20 David Hyatt <hyatt@apple.com>
Make :hover work with the adjacent sibling selector. This fix makes all forms of dynamic changes
(class name changes, :hover, :focus, etc.) work properly when used with the + selector.
Reviewed by weinig
Added fast/css/dynamic-sibling-selector.html
- dom/Element.cpp: (WebCore::Element::recalcStyle):
- 10:22 AM Changeset in webkit [31180] by
-
- 4 edits in trunk/WebKit/win
Add full page zoom API for Windows WebKit.
- 9:18 AM Changeset in webkit [31179] by
-
- 4 edits in trunk/WebKit
WebKit:
2008-03-20 John Sullivan <sullivan@apple.com>
- StringsNotToBeLocalized.txt: Brought this file up to date
WebKit/win:
2008-03-20 John Sullivan <sullivan@apple.com>
- English.lproj/Localizable.strings: Brought this file up to date
- 9:09 AM Changeset in webkit [31178] by
-
- 3 edits4 adds in trunk
WebCore:
2008-03-20 Aaron Golden <aegolden@gmail.com>
Reviewed by Darin and David Kilzer.
Addresses <http://bugs.webkit.org/show_bug.cgi?id=15263>, which caused certain marquees to not display.
Test: fast/html/marquee-scroll.html
- html/HTMLMarqueeElement.cpp: (WebCore::HTMLMarqueeElement::parseMappedAttribute):
LayoutTests:
2008-03-20 Aaron Golden <aegolden@gmail.com>
Reviewed by Darin and David Kilzer.
- test for <http://bugs.webkit.org/show_bug.cgi?id=15263>, which caused certain marquees to not display.
- fast/html/marquee-scroll.html: Added.
- platform/mac/fast/html/marquee-scroll-expected.checksum: Added.
- platform/mac/fast/html/marquee-scroll-expected.png: Added.
- platform/mac/fast/html/marquee-scroll-expected.txt: Added.
- 9:01 AM Changeset in webkit [31177] by
-
- 9 edits in trunk
Make WebNodeHighlightView use InspectorController to do its painting
WebCore:
Export InspectorController::drawNodeHighlight
Reviewed by Tim Hatcher.
- WebCore.base.exp: Also sorted this file.
WebKit:
Mark WebNodeHighlight.m and WebNodeHighlightView.m Obj-C++
Reviewed by Tim Hatcher.
- WebKit.xcodeproj/project.pbxproj:
WebKit/mac:
Make WebNodeHighlightView use InspectorController to do its painting
Reviewed by Tim Hatcher.
- WebCoreSupport/WebInspectorClient.mm: (-[WebInspectorWindowController highlightNode:]): Pass the InspectorController to the WebNodeHighlight, and don't call setHighlightedNode: (which has been removed). (-[WebInspectorWindowController hideHighlight]): Removed call to setHighlightedNode:.
- WebInspector/WebNodeHighlight.h:
- Replaced _highlightNode with _inspectorController
- Removed _highlightedNode accessors
- Added -inspectorController method
- WebInspector/WebNodeHighlight.m: (-[WebNodeHighlight initWithTargetView:inspectorController:]): Now takes an InspectorController* and stores it in _inspectorController. (-[WebNodeHighlight dealloc]): Removed code dealing with _highlightedNode. (-[WebNodeHighlight inspectorController]): Added.
- WebInspector/WebNodeHighlightView.m: Removed FileInternal category. (-[WebNodeHighlightView isFlipped]): Added. WebCore expects all GraphicsContexts to be based on a flipped CGContext, so we have to specify that this view is flipped. (-[WebNodeHighlightView drawRect:]): Changed to create a GraphicsContext and pass it to InspectorController::drawNodeHighlight.
- 7:33 AM Changeset in webkit [31176] by
-
- 2 edits in trunk/JavaScriptCore
2008-03-20 David Krause <david.krause@gmail.com>
Reviewed by David Kilzer.
Fix http://bugs.webkit.org/show_bug.cgi?id=17923
Bug 17923: ARM platform endian defines inaccurate
- wtf/Platform.h: Replaced !defined(ARMEL) check with !defined(VFP_FP) for PLATFORM(MIDDLE_ENDIAN)
- 3:20 AM Changeset in webkit [31175] by
-
- 1 edit1 add in trunk/JavaScriptGlue
2008-03-20 Maciej Stachowiak <mjs@apple.com>
- fix build
- ForwardingHeaders/wtf/ListRefPtr.h: Added.
- 3:20 AM Changeset in webkit [31174] by
-
- 2 edits in trunk/JavaScriptCore
2008-03-20 Maciej Stachowiak <mjs@apple.com>
- fix build
- JavaScriptCore.xcodeproj/project.pbxproj: install Activation.h as private
- 2:34 AM Changeset in webkit [31173] by
-
- 5 edits1 add in trunk/JavaScriptCore
2008-03-20 Maciej Stachowiak <mjs@apple.com>
Reviewed by Oliver.
- reduce function call overhead for 1.014x speedup on SunSpider
I moved some functions from ExecState.cpp to ExecStateInline.h and
from JSGlobalObject.cpp to JSGlobalObject.h, and declared them
inline; machine function call overhead for these was hurting JS
funcion call overhead.
- kjs/ExecState.cpp:
- kjs/ExecStateInlines.h: Added. (KJS::ExecState::ExecState): (KJS::ExecState::~ExecState): (KJS::FunctionExecState::FunctionExecState): (KJS::FunctionExecState::~FunctionExecState):
- kjs/JSGlobalObject.cpp:
- kjs/JSGlobalObject.h: (KJS::JSGlobalObject::pushActivation): (KJS::JSGlobalObject::checkActivationCount): (KJS::JSGlobalObject::popActivation):
- kjs/function.cpp: