Timeline
Aug 9, 2007:
- 11:08 PM Changeset in webkit [24976] by
-
- 12 edits in trunk
2007-08-09 Mark Rowe <mrowe@apple.com>
Reviewed by Antti.
<rdar://problem/5400709> Versioning in debug and release builds should include minor and tiny version before +
- Configurations/Version.xcconfig:
- JavaScriptCore.xcodeproj/project.pbxproj: Add a shell script phase to make to dependency between Version.xcconfig and Info.plist explicit to Xcode.
2007-08-09 Mark Rowe <mrowe@apple.com>
Reviewed by Antti.
<rdar://problem/5400709> Versioning in debug and release builds should include minor and tiny version before +
- Configurations/Version.xcconfig:
- JavaScriptGlue.xcodeproj/project.pbxproj: Add a shell script phase to make to dependency between Version.xcconfig and Info.plist explicit to Xcode.
2007-08-09 Mark Rowe <mrowe@apple.com>
Reviewed by Antti.
<rdar://problem/5400709> Versioning in debug and release builds should include minor and tiny version before +
- Configurations/Version.xcconfig:
- WebCore.xcodeproj/project.pbxproj: Add a shell script phase to make to dependency between Version.xcconfig and Info.plist explicit to Xcode.
2007-08-09 Mark Rowe <mrowe@apple.com>
Reviewed by Antti.
<rdar://problem/5400709> Versioning in debug and release builds should include minor and tiny version before +
- Configurations/Version.xcconfig:
- WebKit.xcodeproj/project.pbxproj: Add a shell script phase to make to dependency between Version.xcconfig and Info.plist explicit to Xcode.
- 9:12 PM Changeset in webkit [24975] by
-
- 4 edits in trunk/LayoutTests
Reviewed by Mark Rowe.
Use index-getter instead of name-getter to better ensure
that the frame has finished loading.
- http/tests/security/dataURL/xss-DENIED-from-data-url-in-foriegn-domain-window-open.html:
- http/tests/security/dataURL/xss-DENIED-to-data-url-in-foriegn-domain-subframe.html:
- http/tests/security/dataURL/xss-DENIED-to-data-url-in-foriegn-domain-window-open.html:
- 8:56 PM Changeset in webkit [24974] by
-
- 3 edits4 adds in trunk
2007-08-09 Mitz Pettel <mitz@webkit.org>
Reviewed by Justin Garcia.
- fix http://bugs.webkit.org/show_bug.cgi?id=14347 REGRESSION (r21291): Initiating a drag near the edge of a selection deselects it
Test: editing/selection/contains-boundaries.html
- editing/SelectionController.cpp: (WebCore::SelectionController::contains): Changed to return true for the selection boundaries too.
2007-08-09 Mitz Pettel <mitz@webkit.org>
Reviewed by Justin Garcia.
- test for http://bugs.webkit.org/show_bug.cgi?id=14347 REGRESSION (r21291): Initiating a drag near the edge of a selection deselects it
- editing/selection/contains-boundaries-expected.checksum: Added.
- editing/selection/contains-boundaries-expected.png: Added.
- editing/selection/contains-boundaries-expected.txt: Added.
- editing/selection/contains-boundaries.html: Added.
- 8:52 PM Changeset in webkit [24973] by
-
- 2 edits in trunk/WebCore
2007-08-09 Mitz Pettel <mitz@webkit.org>
Reviewed by Dave Hyatt.
- fix http://bugs.webkit.org/show_bug.cgi?id=14742 Document::recalcStyle(Force) called for every updateStyleIgnorePendingStylesheets while waiting for stylesheets <rdar://problem/5376306>
updateStyleSelector() is normally called when something changes that factors
into the style selector. However, updateLayoutIgnorePendingStylesheets() calls it for
a different reason, namely to account for all the preceding changes that were ignored
because of the early return in updateStyleSelector(). After that, the early return
can no longer occur, so changes are accounted for as they happen, and
updateLayoutIgnorePendingStylesheets() does not need to call updateStyleSelector()
again.
- dom/Document.cpp: (WebCore::Document::updateLayoutIgnorePendingStylesheets): Call updateStyleSelector() only before the first layout.
- 8:49 PM Changeset in webkit [24972] by
-
- 2 edits in trunk/WebCore
2007-08-09 Mitz Pettel <mitz@webkit.org>
Reviewed by Adam Roben.
- fix http://bugs.webkit.org/show_bug.cgi?id=14362 Opening a select list always highlights first element in list
- platform/win/PopupMenuWin.cpp: (WebCore::PopupWndProc): Track the mouse only inside the popup.
- 8:46 PM Changeset in webkit [24971] by
-
- 3 edits4 adds in trunk
2007-08-09 Mitz Pettel <mitz@webkit.org>
Reviewed by Dave Hyatt.
- fix http://bugs.webkit.org/show_bug.cgi?id=14875 Textarea with nowrap - left/right nav, Up/down nav both hide text
Test: fast/layers/scroll-rect-to-visible.html
- rendering/RenderLayer.cpp: (WebCore::RenderLayer::scrollRectToVisible): Account for borders and scroll bars.
2007-08-09 Mitz Pettel <mitz@webkit.org>
Reviewed by Dave Hyatt.
- test for http://bugs.webkit.org/show_bug.cgi?id=14875 Textarea with nowrap - left/right nav, Up/down nav both hide text
- fast/layers/scroll-rect-to-visible-expected.checksum: Added.
- fast/layers/scroll-rect-to-visible-expected.png: Added.
- fast/layers/scroll-rect-to-visible-expected.txt: Added.
- fast/layers/scroll-rect-to-visible.html: Added.
- 7:30 PM Changeset in webkit [24970] by
-
- 16 edits in trunk/WebCore
Reviewed by Dave Hyatt.
Refactored live decoded resource eviction to be more modular /
encapsulated.
This fixes one known place where we forgot to hook into the live
decoded eviction mechanism -- canvas. There might be other, unknown
places. In a canvas test page, which I broke off from the Safari
pageout test, I saw an RPRVT reduction of ~10MB.
A few renames:
- "m_lastLiveAccessTime" => "m_lastDecodedAccessTime" because the data point we're recording is access to the resource in decoded form.
- "liveResourceAccessed" => "didAccessDecodedData" for the same reason.
- "pruneAllResources" => "pruneDeadResources" because this function does not prune live resources.
And the fix:
Instead of updating cache metadata at the call site whenver drawing an
image, just have an image notify its observer whenever it draws. The
observer, which is a CachedResource, can then update the metadata.
- loader/Cache.cpp: Renames
- loader/Cache.h: Removed stale declarations, updated comments
- loader/CachedImage.cpp: (WebCore::CachedImage::didDraw): Implemented didDraw to update cache metadata whenever our image draws.
- loader/CachedImage.h: Grouped parts of the ImageObserver interface.
- loader/CachedResource.cpp: (WebCore::CachedResource::CachedResource): (WebCore::CachedResource::deref): (WebCore::CachedResource::didAccessDecodedData): Made this function slightly more modular by allowing the caller to provide a time stamp. In theory, not all CachedResources will necessarily want to use the current paint time stamp.
- platform/graphics/cg/ImageCG.cpp: (WebCore::BitmapImage::draw): Notify our observer that we drew. (WebCore::Image::drawPattern): ditto
- platform/graphics/cg/PDFDocumentImage.cpp: (WebCore::PDFDocumentImage::draw): ditto
- platform/graphics/svg/SVGImage.cpp: (WebCore::SVGImage::draw): ditto
Removed old code at image drawing call sites:
- rendering/RenderBox.cpp: (WebCore::RenderBox::paintBackgroundExtended):
- rendering/RenderImage.cpp: (WebCore::RenderImage::paint):
- rendering/RenderListMarker.cpp: (WebCore::RenderListMarker::paint):
- rendering/RenderObject.cpp: (WebCore::RenderObject::paintBorderImage):
- 6:53 PM Changeset in webkit [24969] by
-
- 8 edits10 moves in trunk
WebCore:
2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Adam.
Move the various *ClientGdk.{h,cpp} away from the WebCore directory as
of http://bugs.webkit.org/show_bug.cgi?id=14727.
- WebCore.pro:
- platform/gdk/TemporaryLinkStubs.cpp:
WebKit/gtk:
2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Adam.
As of http://bugs.webkit.org/show_bug.cgi?id=14727 move the
various *ClientGdk.{cpp,h} files from WebCore to WebKit/gtk/WebCoreSupport and
rename it from Gdk to Gtk.
- Api/webkitgtkdefines.h:
- Api/webkitgtkframe.cpp:
- Api/webkitgtkframe.h:
- Api/webkitgtkglobal.cpp:
- Api/webkitgtkglobal.h:
- Api/webkitgtknetworkrequest.cpp:
- Api/webkitgtknetworkrequest.h:
- Api/webkitgtkpage.cpp:
- Api/webkitgtkpage.h:
- Api/webkitgtkprivate.cpp:
- Api/webkitgtkprivate.h:
- Api/webkitgtksettings.cpp:
- Api/webkitgtksettings.h:
- WebCoreSupport/ChromeClientGtk.cpp: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.cpp. (WebKitGtk::ChromeClientGtk::ChromeClientGtk): (WebKitGtk::ChromeClientGtk::chromeDestroyed): (WebKitGtk::ChromeClientGtk::windowRect): (WebKitGtk::ChromeClientGtk::setWindowRect): (WebKitGtk::ChromeClientGtk::pageRect): (WebKitGtk::ChromeClientGtk::scaleFactor): (WebKitGtk::ChromeClientGtk::focus): (WebKitGtk::ChromeClientGtk::unfocus): (WebKitGtk::ChromeClientGtk::createWindow): (WebKitGtk::ChromeClientGtk::createModalDialog): (WebKitGtk::ChromeClientGtk::show): (WebKitGtk::ChromeClientGtk::canRunModal): (WebKitGtk::ChromeClientGtk::runModal): (WebKitGtk::ChromeClientGtk::setToolbarsVisible): (WebKitGtk::ChromeClientGtk::toolbarsVisible): (WebKitGtk::ChromeClientGtk::setStatusbarVisible): (WebKitGtk::ChromeClientGtk::statusbarVisible): (WebKitGtk::ChromeClientGtk::setScrollbarsVisible): (WebKitGtk::ChromeClientGtk::scrollbarsVisible): (WebKitGtk::ChromeClientGtk::setMenubarVisible): (WebKitGtk::ChromeClientGtk::menubarVisible): (WebKitGtk::ChromeClientGtk::setResizable): (WebKitGtk::ChromeClientGtk::closeWindowSoon): (WebKitGtk::ChromeClientGtk::canTakeFocus): (WebKitGtk::ChromeClientGtk::takeFocus): (WebKitGtk::ChromeClientGtk::canRunBeforeUnloadConfirmPanel): (WebKitGtk::ChromeClientGtk::runBeforeUnloadConfirmPanel): (WebKitGtk::ChromeClientGtk::addMessageToConsole): (WebKitGtk::ChromeClientGtk::runJavaScriptAlert): (WebKitGtk::ChromeClientGtk::runJavaScriptConfirm): (WebKitGtk::ChromeClientGtk::runJavaScriptPrompt): (WebKitGtk::ChromeClientGtk::setStatusbarText): (WebKitGtk::ChromeClientGtk::shouldInterruptJavaScript): (WebKitGtk::ChromeClientGtk::tabsToLinks): (WebKitGtk::ChromeClientGtk::windowResizerRect): (WebKitGtk::ChromeClientGtk::addToDirtyRegion): (WebKitGtk::ChromeClientGtk::scrollBackingStore): (WebKitGtk::ChromeClientGtk::updateBackingStore): (WebKitGtk::ChromeClientGtk::mouseDidMoveOverElement): (WebKitGtk::ChromeClientGtk::setToolTip):
- WebCoreSupport/ChromeClientGtk.h: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.h. (WebKitGtk::ChromeClientGtk::webPage):
- WebCoreSupport/ContextMenuClientGtk.cpp: Renamed from WebCore/page/gdk/ContextMenuClientGdk.cpp. (WebCore::ContextMenuClientGtk::contextMenuDestroyed): (WebCore::ContextMenuClientGtk::getCustomMenuFromDefaultItems): (WebCore::ContextMenuClientGtk::contextMenuItemSelected): (WebCore::ContextMenuClientGtk::downloadURL): (WebCore::ContextMenuClientGtk::copyImageToClipboard): (WebCore::ContextMenuClientGtk::searchWithGoogle): (WebCore::ContextMenuClientGtk::lookUpInDictionary): (WebCore::ContextMenuClientGtk::speak): (WebCore::ContextMenuClientGtk::stopSpeaking):
- WebCoreSupport/ContextMenuClientGtk.h: Renamed from WebCore/page/gdk/ContextMenuClientGdk.h.
- WebCoreSupport/EditorClientGtk.cpp: Renamed from WebCore/platform/gdk/EditorClientGdk.cpp. (WebCore::EditorClientGtk::shouldDeleteRange): (WebCore::EditorClientGtk::shouldShowDeleteInterface): (WebCore::EditorClientGtk::isContinuousSpellCheckingEnabled): (WebCore::EditorClientGtk::isGrammarCheckingEnabled): (WebCore::EditorClientGtk::spellCheckerDocumentTag): (WebCore::EditorClientGtk::shouldBeginEditing): (WebCore::EditorClientGtk::shouldEndEditing): (WebCore::EditorClientGtk::shouldInsertText): (WebCore::EditorClientGtk::shouldChangeSelectedRange): (WebCore::EditorClientGtk::shouldApplyStyle): (WebCore::EditorClientGtk::shouldMoveRangeAfterDelete): (WebCore::EditorClientGtk::didBeginEditing): (WebCore::EditorClientGtk::respondToChangedContents): (WebCore::EditorClientGtk::respondToChangedSelection): (WebCore::EditorClientGtk::didEndEditing): (WebCore::EditorClientGtk::didWriteSelectionToPasteboard): (WebCore::EditorClientGtk::didSetSelectionTypesForPasteboard): (WebCore::EditorClientGtk::selectWordBeforeMenuEvent): (WebCore::EditorClientGtk::isEditable): (WebCore::EditorClientGtk::registerCommandForUndo): (WebCore::EditorClientGtk::registerCommandForRedo): (WebCore::EditorClientGtk::clearUndoRedoOperations): (WebCore::EditorClientGtk::canUndo): (WebCore::EditorClientGtk::canRedo): (WebCore::EditorClientGtk::undo): (WebCore::EditorClientGtk::redo): (WebCore::EditorClientGtk::shouldInsertNode): (WebCore::EditorClientGtk::pageDestroyed): (WebCore::EditorClientGtk::smartInsertDeleteEnabled): (WebCore::EditorClientGtk::toggleContinuousSpellChecking): (WebCore::EditorClientGtk::toggleGrammarChecking): (WebCore::EditorClientGtk::handleKeypress): (WebCore::EditorClientGtk::handleInputMethodKeypress): (WebCore::EditorClientGtk::EditorClientGtk): (WebCore::EditorClientGtk::textFieldDidBeginEditing): (WebCore::EditorClientGtk::textFieldDidEndEditing): (WebCore::EditorClientGtk::textDidChangeInTextField): (WebCore::EditorClientGtk::doTextFieldCommandFromEvent): (WebCore::EditorClientGtk::textWillBeDeletedInTextField): (WebCore::EditorClientGtk::textDidChangeInTextArea): (WebCore::EditorClientGtk::ignoreWordInSpellDocument): (WebCore::EditorClientGtk::learnWord): (WebCore::EditorClientGtk::checkSpellingOfString): (WebCore::EditorClientGtk::checkGrammarOfString): (WebCore::EditorClientGtk::updateSpellingUIWithGrammarString): (WebCore::EditorClientGtk::updateSpellingUIWithMisspelledWord): (WebCore::EditorClientGtk::showSpellingUI): (WebCore::EditorClientGtk::spellingUIIsShowing): (WebCore::EditorClientGtk::getGuessesForWord):
- WebCoreSupport/EditorClientGtk.h: Renamed from WebCore/platform/gdk/EditorClientGdk.h.
- WebCoreSupport/FrameLoaderClientGtk.cpp: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.cpp. (WebCore::FrameLoaderClientGtk::FrameLoaderClientGtk): (WebCore::FrameLoaderClientGtk::userAgent): (WebCore::FrameLoaderClientGtk::createDocumentLoader): (WebCore::FrameLoaderClientGtk::dispatchWillSubmitForm): (WebCore::FrameLoaderClientGtk::committedLoad): (WebCore::FrameLoaderClientGtk::dispatchDidReceiveAuthenticationChallenge): (WebCore::FrameLoaderClientGtk::dispatchDidCancelAuthenticationChallenge): (WebCore::FrameLoaderClientGtk::dispatchWillSendRequest): (WebCore::FrameLoaderClientGtk::assignIdentifierToInitialRequest): (WebCore::FrameLoaderClientGtk::postProgressStartedNotification): (WebCore::FrameLoaderClientGtk::postProgressEstimateChangedNotification): (WebCore::FrameLoaderClientGtk::postProgressFinishedNotification): (WebCore::FrameLoaderClientGtk::frameLoaderDestroyed): (WebCore::FrameLoaderClientGtk::dispatchDidReceiveResponse): (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForMIMEType): (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNewWindowAction): (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNavigationAction): (WebCore::FrameLoaderClientGtk::createPlugin): (WebCore::FrameLoaderClientGtk::createFrame): (WebCore::FrameLoaderClientGtk::redirectDataToPlugin): (WebCore::FrameLoaderClientGtk::createJavaAppletWidget): (WebCore::FrameLoaderClientGtk::objectContentType): (WebCore::FrameLoaderClientGtk::overrideMediaType): (WebCore::FrameLoaderClientGtk::windowObjectCleared): (WebCore::FrameLoaderClientGtk::setMainFrameDocumentReady): (WebCore::FrameLoaderClientGtk::hasWebView): (WebCore::FrameLoaderClientGtk::hasFrameView): (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoad): (WebCore::FrameLoaderClientGtk::frameLoadCompleted): (WebCore::FrameLoaderClientGtk::saveViewStateToItem): (WebCore::FrameLoaderClientGtk::restoreViewState): (WebCore::FrameLoaderClientGtk::shouldGoToHistoryItem): (WebCore::FrameLoaderClientGtk::privateBrowsingEnabled): (WebCore::FrameLoaderClientGtk::makeDocumentView): (WebCore::FrameLoaderClientGtk::makeRepresentation): (WebCore::FrameLoaderClientGtk::forceLayout): (WebCore::FrameLoaderClientGtk::forceLayoutForNonHTML): (WebCore::FrameLoaderClientGtk::setCopiesOnScroll): (WebCore::FrameLoaderClientGtk::detachedFromParent1): (WebCore::FrameLoaderClientGtk::detachedFromParent2): (WebCore::FrameLoaderClientGtk::detachedFromParent3): (WebCore::FrameLoaderClientGtk::detachedFromParent4): (WebCore::FrameLoaderClientGtk::loadedFromCachedPage): (WebCore::FrameLoaderClientGtk::dispatchDidHandleOnloadEvents): (WebCore::FrameLoaderClientGtk::dispatchDidReceiveServerRedirectForProvisionalLoad): (WebCore::FrameLoaderClientGtk::dispatchDidCancelClientRedirect): (WebCore::FrameLoaderClientGtk::dispatchWillPerformClientRedirect): (WebCore::FrameLoaderClientGtk::dispatchDidChangeLocationWithinPage): (WebCore::FrameLoaderClientGtk::dispatchWillClose): (WebCore::FrameLoaderClientGtk::dispatchDidReceiveIcon): (WebCore::FrameLoaderClientGtk::dispatchDidStartProvisionalLoad): (WebCore::FrameLoaderClientGtk::dispatchDidReceiveTitle): (WebCore::FrameLoaderClientGtk::dispatchDidCommitLoad): (WebCore::FrameLoaderClientGtk::dispatchDidFinishDocumentLoad): (WebCore::FrameLoaderClientGtk::dispatchDidFirstLayout): (WebCore::FrameLoaderClientGtk::dispatchShow): (WebCore::FrameLoaderClientGtk::cancelPolicyCheck): (WebCore::FrameLoaderClientGtk::dispatchDidLoadMainResource): (WebCore::FrameLoaderClientGtk::revertToProvisionalState): (WebCore::FrameLoaderClientGtk::clearUnarchivingState): (WebCore::FrameLoaderClientGtk::willChangeTitle): (WebCore::FrameLoaderClientGtk::didChangeTitle): (WebCore::FrameLoaderClientGtk::finishedLoading): (WebCore::FrameLoaderClientGtk::finalSetupForReplace): (WebCore::FrameLoaderClientGtk::setDefersLoading): (WebCore::FrameLoaderClientGtk::isArchiveLoadPending): (WebCore::FrameLoaderClientGtk::cancelPendingArchiveLoad): (WebCore::FrameLoaderClientGtk::clearArchivedResources): (WebCore::FrameLoaderClientGtk::canHandleRequest): (WebCore::FrameLoaderClientGtk::canShowMIMEType): (WebCore::FrameLoaderClientGtk::representationExistsForURLScheme): (WebCore::FrameLoaderClientGtk::generatedMIMETypeForURLScheme): (WebCore::FrameLoaderClientGtk::provisionalLoadStarted): (WebCore::FrameLoaderClientGtk::didFinishLoad): (WebCore::FrameLoaderClientGtk::prepareForDataSourceReplacement): (WebCore::FrameLoaderClientGtk::setTitle): (WebCore::FrameLoaderClientGtk::setDocumentViewFromCachedPage): (WebCore::FrameLoaderClientGtk::dispatchDidReceiveContentLength): (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoading): (WebCore::FrameLoaderClientGtk::dispatchDidFailLoading): (WebCore::FrameLoaderClientGtk::dispatchDidLoadResourceFromMemoryCache): (WebCore::FrameLoaderClientGtk::dispatchDidFailProvisionalLoad): (WebCore::FrameLoaderClientGtk::dispatchDidFailLoad): (WebCore::FrameLoaderClientGtk::download): (WebCore::FrameLoaderClientGtk::cancelledError): (WebCore::FrameLoaderClientGtk::blockedError): (WebCore::FrameLoaderClientGtk::cannotShowURLError): (WebCore::FrameLoaderClientGtk::interruptForPolicyChangeError): (WebCore::FrameLoaderClientGtk::cannotShowMIMETypeError): (WebCore::FrameLoaderClientGtk::fileDoesNotExistError): (WebCore::FrameLoaderClientGtk::shouldFallBack): (WebCore::FrameLoaderClientGtk::willUseArchive): (WebCore::FrameLoaderClientGtk::saveDocumentViewToCachedPage): (WebCore::FrameLoaderClientGtk::canCachePage): (WebCore::FrameLoaderClientGtk::dispatchCreatePage): (WebCore::FrameLoaderClientGtk::dispatchUnableToImplementPolicy):
- WebCoreSupport/FrameLoaderClientGtk.h: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.h. (WebCore::FrameLoaderClientGtk::~FrameLoaderClientGtk): (WebCore::FrameLoaderClientGtk::webFrame):
- WebCoreSupport/InspectorClientGtk.cpp: Renamed from WebCore/page/gdk/InspectorClientGdk.cpp. (WebCore::InspectorClientGtk::inspectorDestroyed): (WebCore::InspectorClientGtk::createPage): (WebCore::InspectorClientGtk::showWindow): (WebCore::InspectorClientGtk::closeWindow): (WebCore::InspectorClientGtk::attachWindow): (WebCore::InspectorClientGtk::detachWindow): (WebCore::InspectorClientGtk::highlight): (WebCore::InspectorClientGtk::hideHighlight): (WebCore::InspectorClientGtk::inspectedURLChanged):
- WebCoreSupport/InspectorClientGtk.h: Renamed from WebCore/page/gdk/InspectorClientGdk.h.
- 6:28 PM Changeset in webkit [24968] by
-
- 2 edits in trunk/LayoutTests
Reviewed by Oliver.
<rdar://problem/5313534> REGRESSION(Leopard): Some fast/xsl tests sometimes fail on Leopard
These tests no longer fail for me, so let's try removing them from the skipped file
and see what happens.
- mac/leopard/Skipped:
- 6:04 PM Changeset in webkit [24967] by
-
- 3 edits in trunk/WebCore
Reviewed by Maciej.
<rdar://problem/5400029> iframes with an image src rarely load image
Don't try to shrink standalone images in subframes. The resize event is not
sent for subframes which screws up the shrink-to-fit logic.
- loader/ImageDocument.cpp: (WebCore::ImageDocument::createDocumentStructure): (WebCore::ImageDocument::imageChanged): (WebCore::ImageDocument::shouldShrinkToFit):
- loader/ImageDocument.h:
- 5:33 PM Changeset in webkit [24966] by
-
- 2 edits in trunk/WebKit
Moved Gtk changelog entries from WebKit/ChangeLog to WebKit/gtk/ChangeLog.
Rubberstamped by Adam.
- 5:25 PM Changeset in webkit [24965] by
-
- 2 edits in trunk/WebKit/gtk
2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
Build fix.
- Api/webkitgtkframe.cpp:
- 5:19 PM Changeset in webkit [24964] by
-
- 8 edits2 deletes in trunk
WebCore:
2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Adam.
Implement FrameLoaderClientGdk::createFrame mostly by copying
the windows implementation. A method similiar to WebFrame::loadURLIntoChild
was not introduced instead we have a simplified version similiar to the
one of the Qt port.
Remove building of WebKit/gtk/webkitgtkframedata.{cpp,h}.
- WebCore.pro:
- loader/gdk/FrameLoaderClientGdk.cpp: (WebCore::FrameLoaderClientGdk::createFrame):
WebKit/gtk:
2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Adam.
Remove the create_frame virtual method of WebKitGtkPage. This method was inspired
by the Qt port but to be useful for reimplementations WebKitGtkFrameData would need
to export/expose WebCore types. WebView doesn't offer such a method so I decided to
remove it.
Add a internal constructor to WebKitGtkFrame to be used for constructing Sub-Frames. This
is currently used by FrameLoaderClientGdk::createFrame.
- Api/webkitgtkframe.cpp:
- Api/webkitgtkframedata.cpp: Removed.
- Api/webkitgtkframedata.h: Removed.
- Api/webkitgtkpage.cpp:
- Api/webkitgtkpage.h:
- Api/webkitgtkprivate.h:
- 4:44 PM Changeset in webkit [24963] by
-
- 10 edits1 add in trunk
WebCore:
2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Adam.
Use the ScrollView/Widget design of the Windows port to only use one
native window for the whole page. This will make it possible to implement
FrameLoaderClientGdk::createFrame.
In contrast to the windows port the ScrollBars are GtkWidgets. To paint them
at the right position we need to position them correctly. To not scroll the
ScrollBar's belonging to the ScrollView a ScrollViewScrollbar is introduced with
a different geometryChanged method.
To allow the Gtk+ way of scrolling the ScrollView allows to get GtkAdjustments
set. In this case no ScrollViewScrollbar will be created.
- platform/ScrollView.h:
- platform/Widget.h:
- platform/gdk/PlatformScreenGdk.cpp: (WebCore::screenDepth):
- platform/gdk/PlatformScrollBar.h:
- platform/gdk/PlatformScrollBarGdk.cpp: (PlatformScrollbar::PlatformScrollbar): (PlatformScrollbar::~PlatformScrollbar): (PlatformScrollbar::setRect): (PlatformScrollbar::geometryChanged):
- platform/gdk/ScrollViewGdk.cpp: (WebCore::ScrollView::ScrollViewPrivate::ScrollViewPrivate): (WebCore::ScrollView::ScrollViewPrivate::~ScrollViewPrivate): (WebCore::ScrollViewScrollbar::ScrollViewScrollbar): (WebCore::ScrollViewScrollbar::geometryChanged): (WebCore::ScrollView::ScrollViewPrivate::setHasHorizontalScrollbar): (WebCore::ScrollView::ScrollViewPrivate::setHasVerticalScrollbar): (WebCore::ScrollView::ScrollViewPrivate::scrollBackingStore): (WebCore::ScrollView::ScrollViewPrivate::adjustmentChanged): (WebCore::ScrollView::ScrollViewPrivate::valueChanged): (WebCore::ScrollView::ScrollViewPrivate::windowClipRect): (WebCore::ScrollView::setGtkAdjustments): (WebCore::ScrollView::updateContents): (WebCore::ScrollView::update): (WebCore::ScrollView::visibleWidth): (WebCore::ScrollView::resizeContents): (WebCore::ScrollView::contentsX): (WebCore::ScrollView::scrollOffset): (WebCore::ScrollView::maximumScroll): (WebCore::ScrollView::scrollBy): (WebCore::ScrollView::suppressScrollbars): (WebCore::ScrollView::setHScrollbarMode): (WebCore::ScrollView::setVScrollbarMode): (WebCore::ScrollView::setScrollbarsMode): (WebCore::ScrollView::setFrameGeometry): (WebCore::ScrollView::addChild): (WebCore::ScrollView::removeChild): (WebCore::ScrollView::scrollRectIntoViewRecursively): (WebCore::ScrollView::wheelEvent): (WebCore::ScrollView::updateScrollbars): (WebCore::ScrollView::windowToContents): (WebCore::ScrollView::contentsToWindow): (WebCore::ScrollView::scrollbarUnderMouse): (WebCore::ScrollView::convertChildToSelf): (WebCore::ScrollView::convertSelfToChild): (WebCore::ScrollView::paint): (WebCore::ScrollView::geometryChanged): (WebCore::ScrollView::scroll): (WebCore::ScrollView::addToDirtyRegion): (WebCore::ScrollView::scrollBackingStore): (WebCore::ScrollView::updateBackingStore):
- platform/gdk/WidgetGdk.cpp: (WebCore::WidgetPrivate::gdkDrawable): (WebCore::Widget::Widget): (WebCore::Widget::setContainingWindow): (WebCore::Widget::containingWindow): (WebCore::Widget::frameGeometry): (WebCore::Widget::setFrameGeometry): (WebCore::Widget::setParent): (WebCore::Widget::parent): (WebCore::Widget::setCursor): (WebCore::Widget::show): (WebCore::Widget::hide): (WebCore::Widget::removeFromParent): (WebCore::Widget::paint): (WebCore::Widget::invalidate): (WebCore::Widget::invalidateRect): (WebCore::Widget::convertToContainingWindow): (WebCore::Widget::convertFromContainingWindow): (WebCore::Widget::convertChildToSelf): (WebCore::Widget::convertSelfToChild): (WebCore::Widget::suppressInvalidation): (WebCore::Widget::setSuppressInvalidation):
WebKit/gtk:
2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Adam.
Follow the changes of ScrollView in WebCore and call setContainingWindow, set the
GtkAdjustment of the GtkLayout and reimplement the set_scroll_adjustments method and pass
the GtkAdjustments to ScrollView.
This makes having one GdkWindow for the complete FrameTree possible.
- gtk/Api/webkitgtkframe.cpp:
- gtk/Api/webkitgtkpage.cpp:
- 3:53 PM Changeset in webkit [24962] by
-
- 2 edits in trunk/WebCore
Fix by Brady, reviewed by me.
Fix for <rdar://problem/5380697> connection:willSendRequest:redirectResponse: is called on every NSURLConnection
- platform/network/mac/ResourceHandleMac.mm: (-[WebCoreResourceHandleAsDelegate connection:willSendRequest:redirectResponse:]): Work around a behavior change in CFNetwork where willSendRequest gets called more often by returning early.
- 2:37 PM Changeset in webkit [24961] by
-
- 2 edits in S60/trunk/WebKit
2007-08-03 yadavall <sriram.yadavalli@nokia.com>
Reviewed by Sachin Padma (sachin.padma@nokia.com).
DESC: Widget related Browser control "reserved" APIs need to be extensible
http://bugs.webkit.org/show_bug.cgi?id=14874
- BrowserControl/inc/BrCtlInterface.h:
- 2:37 PM Changeset in webkit [24960] by
-
- 2 edits in S60/branches/3.1m/WebKit
2007-08-03 yadavall <sriram.yadavalli@nokia.com>
Reviewed by Sachin Padma (sachin.padma@nokia.com).
DESC: Widget related Browser control "reserved" APIs need to be extensible
http://bugs.webkit.org/show_bug.cgi?id=14874
- BrowserControl/inc/BrCtlInterface.h:
- 2:32 PM Changeset in webkit [24959] by
-
- 6 edits in S60/trunk/WebKit
2007-07-27 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
Reviewed by Sachin Padma.
DESC: Scroll support for plugins.
http://waplabdc.nokia-boston.com/browser/users/MaheshKK/geturl.html
- WebKit/Plugin/inc/npapi.h: (NPPVariable): Added variable NPPVPluginFocusPosition
- WebKit/Plugin/inc/PluginWin.h (class CPluginWin ): Added memeber function MoveWindow
- WebKit/Plugin/inc/PluginAdapterInterface.h: (class MPluginNotifier:TNotificationType): Added two enum's EPluginActivated and EPluginDeactivated
- WebKit/Plugin/src/NpnImplementation.cpp: (NpnSetValue()): Handled case for NPPVPluginFocusPosition
- WebKit/Plugin/src/PluginWin.cpp: (CPluginWin::ProcessEventL): Send EPluginActivated and EPluginDeactivated notification when activating and deactivating plugin (CPluginWin::MoveWindow) : New function added to Move/scroll window by aOffset and also sets the current cursor position
- 2:29 PM Changeset in webkit [24958] by
-
- 6 edits in S60/branches/3.1m/WebKit
2007-07-27 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
Reviewed by Sachin Padma.
DESC: Scroll support for plugins.
http://waplabdc.nokia-boston.com/browser/users/MaheshKK/geturl.html
- WebKit/Plugin/inc/npapi.h: (NPPVariable): Added variable NPPVPluginFocusPosition
- WebKit/Plugin/inc/PluginWin.h (class CPluginWin ): Added memeber function MoveWindow
- WebKit/Plugin/inc/PluginAdapterInterface.h: (class MPluginNotifier:TNotificationType): Added two enum's EPluginActivated and EPluginDeactivated
- WebKit/Plugin/src/NpnImplementation.cpp: (NpnSetValue()): Handled case for NPPVPluginFocusPosition
- WebKit/Plugin/src/PluginWin.cpp: (CPluginWin::ProcessEventL): Send EPluginActivated and EPluginDeactivated notification when activating and deactivating plugin (CPluginWin::MoveWindow) : New function added to Move/scroll window by aOffset and also sets the current cursor position
- 10:51 AM Changeset in webkit [24957] by
-
- 4 edits1 add in trunk/WebCore
Reviewed by Antti.
- fix <rdar://problem/4889753> REGRESSION: Selection doesn't continue with drag selecting when autoscrolling vertically (in Notes as well as Safari)
The bug doesn't happen inside DumpRenderTree, so I was unable to make an automated
regression test.
- manual-tests/autoscroll-when-outside-window.html: Added.
- rendering/RenderLayer.cpp: (WebCore::RenderLayer::autoscroll): Removed unneeded null check for the layer's renderer and the document, neither of which can be null. Call the new updateSelectionForMouseDrag instead of doing selection updating here.
- page/EventHandler.h:
- page/EventHandler.cpp: (WebCore::EventHandler::handleMouseDraggedEvent): Refactored most of the logic about updating the selection into updateSelectionForMouseDrag. (WebCore::EventHandler::updateSelectionForMouseDrag): Added. The public version of this function takes no parameters, and is for use from auto-scrolling code. The private version of this function takes node and point parameters and contains the shared code, including everything from updateSelectionForMouseDragOverPosition. Aside from the code motion, variable name changes, and sharing more code, this differs from the old code in RenderLayer::autoscroll in the following ways:
1) The old code did hit testing only in the layer that was auto-scrolling,
and the new code instead starts the hit testing at the root layer, which is
better because it's the same thing we do for mouse moved events. Further,
the code to do this by calling convertToLayerCoords had a bug because the
x and y variables were uninitialized.
2) The old code passed false for active to HitTestRequest, which was wrong.
The new code passes true. This flag needs to be true for hit testing done
while the mouse is down and false for hit testing done while the mouse is up.
3) The old code did not have the SVG-specific logic to match the mouse moved case.
4) The old code wouldn't do any selection updating if the return value from hitTest
was false, which is incorrect. The new code ignores the return value as it should.
- 8:49 AM Changeset in webkit [24956] by
-
- 1 edit in trunk/WebCore/WebCore.xcodeproj/project.pbxproj
Don't copy character-sets.txt and make-charset-table.pl to WebCore's resources.
- 8:28 AM Changeset in webkit [24955] by
-
- 8 edits in S60/branches/3.1m
2007-08-09 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
Reviewed by Sachin.
DESC: [S60] Problem with CPluginSkin::PluginScriptableObject
http://bugs.webkit.org/show_bug.cgi?id=14383
- WebKit\Plugin\inc\PluginWin.h: Added CPluginWin::GetPluginUid()
- WebKit\Plugin\inc\PluginHandler.h: Added CPluginInfo::Uid()
- WebKit\Plugin\inc\PluginSkin.h: Added CPluginSkin::IsPluginScriptableL()
- WebKit\Plugin\src\PluginSkin.cpp: (CPluginSkin::IsPluginScriptableL())
- WebKit\Plugin\src\PluginWin.cpp: (CPluginWin::GetPluginUid())
Aug 8, 2007:
- 11:37 PM Changeset in webkit [24954] by
-
- 1 copy in tags/Safari-4523
New tag.
- 10:19 PM Changeset in webkit [24953] by
-
- 5 edits4 adds in trunk
LayoutTests:
Reviewed by Geoff Garen.
Test for <rdar://problem/5286443>, http://bugs.webkit.org/
show_bug.cgi?id=14268 REGRESSION: Radio buttons don't stay selected
due to unclosed <label> tags
- fast/forms/radio-nested-labels-expected.checksum: Added.
- fast/forms/radio-nested-labels-expected.png: Added.
- fast/forms/radio-nested-labels-expected.txt: Added.
- fast/forms/radio-nested-labels.html: Added.
WebCore:
Reviewed by Geoff Garen.
Fx for <rdar://problem/5286443>, http://bugs.webkit.org/
show_bug.cgi?id=14268 REGRESSION: Radio buttons don't stay selected
due to unclosed <label> tags
This patch maintains the behavior that allows <label> tags to nest.
This matches WinIE, and appears to match the spec, since the spec
does not explicitly say that they cannot nest. It fixes the bug
instead by calling setDefaultHandled() in two places it should have
been called anyway. This keeps the appropriate button checked as
the event bubbles.
- html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::postDispatchEventHandler):
- html/HTMLLabelElement.cpp: (WebCore::HTMLLabelElement::defaultEventHandler):
- 9:15 PM Changeset in webkit [24952] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by Oliver.
<rdar://problem/5387578> Crash at ReplaceSelectionCommand::doApply() when pasting just after table cell content
- editing/pasteboard/5387578-expected.checksum: Added.
- editing/pasteboard/5387578-expected.png: Added.
- editing/pasteboard/5387578-expected.txt: Added.
- editing/pasteboard/5387578.html: Added.
WebCore:
Reviewed by Oliver.
<rdar://problem/5387578> Crash at ReplaceSelectionCommand::doApply() when pasting just after table cell content
ReplaceSelectionCommand::doApply() inserts a line break before insertion
to prevent block nesting. InsertLineBreakCommand::doApply was accidently
destroying a text node when it removed insignificant whitespace and then
setting a nil endingSelection().
- editing/InsertLineBreakCommand.cpp: (WebCore::InsertLineBreakCommand::doApply): If insignificant whitespace removal removes textNode from the document, insert a text node containing the non-breaking space we were attempting to insert and then insert it at the position that the removed textNode occupied.
- 8:59 PM Changeset in webkit [24951] by
-
- 6 edits in trunk/WebCore
Reviewed by Maciej Stachowiak.
Added a thrash check to live decoded resource eviction.
Here's the strategy: Stamp every image with its paint time. Don't evict
a live decoded resource until another resource paints with a reasonably
(1 second) larger time stamp.
If no other resource paints, or another resource paints, but very soon
after the resource in question, the resource in question is very likely
to paint again soon. In fact, it's probably still on screen. So we
leave it alone. (Previously, we evicted it on a timer, but that would
evict a resource that was still on screen, hurting speed without
helping memory use.)
In theory, this algorithm allows a single large resource or closely
related set of resources to linger in the live decoded cache even
though the cache is over its limit. However, that can only happen as
long as no other resource ever paints again, which guarantees an
absolute cap on cache memory usage from then on. Also, the resources
will only linger as long as they remain live. Upon going dead, they
will flush. Also, these circumstances are so rare that they are almost
impossible to encounter in the wild. So don't sweat it.
Stop evicting if the next resource painted too recently:
- loader/Cache.cpp: (WebCore::Cache::pruneLiveResources):
- loader/CachedResource.cpp: (WebCore::CachedResource::CachedResource): (WebCore::CachedResource::liveResourceAccessed):
- loader/CachedResource.h:
Track the paint time stamp in Frame. We do this to give a consistent
stamp to all resources painted in a single paint operation (in case the
operation takes a significant amount of time), and to avoid excessive
calls to system time functions, which hurt the PLT:
- page/Frame.cpp: (WebCore::Frame::paint):
- page/Frame.h: (WebCore::Frame::currentPaintTimeStamp):
- 8:16 PM Changeset in webkit [24950] by
-
- 2 edits in trunk/WebCore
Reviewed by Adam Roben.
Update project file to reflect the moving of character-sets.txt
and make-charset-table.pl to platform/mac a while ago.
- WebCore.xcodeproj/project.pbxproj:
- 6:56 PM Changeset in webkit [24949] by
-
- 1 edit in trunk/WebKit/ChangeLog
Tweaked ChangeLog entry
- 6:53 PM Changeset in webkit [24948] by
-
- 7 edits4 adds in trunk
LayoutTests:
Reviewed by Harrison.
<rdar://problem/5390681> WebKit asserts when deleting To Do content selected with a double-click
- editing/deleting/5390681-2-expected.checksum: Added.
- editing/deleting/5390681-2-expected.png: Added.
- editing/deleting/5390681-2-expected.txt: Added.
- editing/deleting/5390681-2.html: Added.
Added a FIXME about an extraneous newline:
- editing/deleting/5390681-expected.checksum:
- editing/deleting/5390681-expected.png:
- editing/deleting/5390681-expected.txt:
- editing/deleting/5390681.html:ada
WebCore:
Reviewed by Harrison.
<rdar://problem/5390681> WebKit asserts when deleting To Do content selected with a double-click
- dom/Position.cpp: (WebCore::Position::trailingWhitespacePosition): Use VisiblePosition::characterAfter to look for a trailing space. The old code would incorrectly return a position before a non-editable space if it had a collapsed space before it.
- 6:49 PM Changeset in webkit [24947] by
-
- 21 edits in trunk/WebKit
Reviewed by Anders Carlsson.
Fixed: <rdar://problem/5394449> Stop using some Carbon UI APIs for 64 bit
#ifdef'd out Netscape style plug-ins on 64-bit because Mac OS X doesn't support for 64-bit Carbon.
- Plugins/WebBaseNetscapePluginStream.h:
- Plugins/WebBaseNetscapePluginStream.mm:
- Plugins/WebBaseNetscapePluginView.h:
- Plugins/WebBaseNetscapePluginView.mm: (+[WebBaseNetscapePluginView getCarbonEvent:]): (TSMEventHandler):
- Plugins/WebBaseNetscapePluginViewInternal.h:
- Plugins/WebBaseNetscapePluginViewPrivate.h:
- Plugins/WebBasePluginPackage.m: (+[WebBasePluginPackage pluginWithPath:]):
- Plugins/WebNetscapePluginEmbeddedView.h:
- Plugins/WebNetscapePluginEmbeddedView.mm:
- Plugins/WebNetscapePluginPackage.h:
- Plugins/WebNetscapePluginPackage.m:
- Plugins/WebNetscapePluginStream.h:
- Plugins/WebNetscapePluginStream.mm:
- Plugins/WebPluginDatabase.m: (-[WebPluginDatabase pluginForKey:withEnumeratorSelector:]):
- Plugins/npapi.m:
- WebCoreSupport/WebFrameBridge.mm: (-[WebFrameBridge viewForPluginWithURL:attributeNames:attributeValues:MIMEType:DOMElement:loadManually:]):
- WebView/WebFrame.mm:
- WebView/WebFramePrivate.h:
- WebView/WebHTMLView.mm: (-[NSArray _web_makePluginViewsPerformSelector:withObject:]):
- WebView/WebHTMLViewInternal.h:
- 5:56 PM Changeset in webkit [24946] by
-
- 9 edits7 adds in trunk
LayoutTests:
Reviewed by Brady.
Test that protocol and host compares are case-insensitive.
- http/tests/security/cross-frame-access-port-expected.txt:
- http/tests/security/cross-frame-access-protocol-expected.txt:
- http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase.html: Added.
- http/tests/security/host-compare-case-insensitive-expected.txt: Added.
- http/tests/security/host-compare-case-insensitive.html: Added.
- http/tests/security/protocol-compare-case-insensitive-expected.txt: Added.
- http/tests/security/protocol-compare-case-insensitive.html: Added.
- http/tests/security/resources/cross-frame-iframe.html:
- http/tests/security/resources/localhost-accesssor.html: Added.
WebCore:
Reviewed by Brady.
Make protocol and host compares case-insensitive.
- bindings/js/kjs_window.cpp: (KJS::Window::isSafeScript):
- dom/Document.cpp: (WebCore::Document::initSecurityPolicyURL):
- platform/DeprecatedString.cpp: (WebCore::equalIgnoringCase):
- platform/DeprecatedString.h: (WebCore::equalIgnoringCase):
- 4:42 PM Changeset in webkit [24945] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by Harrison.
<rdar://problem/5390681> WebKit asserts when deleting To Do content selected with a double-click
- editing/deleting/5390681-expected.checksum: Added.
- editing/deleting/5390681-expected.png: Added.
- editing/deleting/5390681-expected.txt: Added.
- editing/deleting/5390681.html: Added.
WebCore:
Reviewed by Harrison.
<rdar://problem/5390681> WebKit asserts when deleting To Do content selected with a double-click
- dom/Position.cpp: (WebCore::Position::leadingWhitespacePosition): Added checks to prevent expansion across editable an boundary. (WebCore::Position::trailingWhitespacePosition): Ditto.
- 4:00 PM Changeset in webkit [24944] by
-
- 4 edits in trunk
Versioning.
- 3:55 PM Changeset in webkit [24943] by
-
- 1 copy in tags/Safari-5523
New tag.
- 3:11 PM Changeset in webkit [24942] by
-
- 3 edits2 adds in trunk
LayoutTests:
Reviewed by John.
Test for for <rdar://problem/5393798> 100% reproducible crash in WebCore::Scrollbar::setValue
- fast/events/mousedown_in_scrollbar-expected.txt: Added.
- fast/events/mousedown_in_scrollbar.html: Added.
WebCore:
Reviewed by John.
Fix for <rdar://problem/5393798> 100% reproducible crash in WebCore::Scrollbar::setValue
- page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEvent): If the hit testing originally determined the event was in a scrollbar, refetch the MouseEventWithHitTestResults in case the scrollbar widget was destroyed when the mouse event was handled.
- 3:01 PM Changeset in webkit [24941] by
-
- 2 edits in S60/branches/3.1m/WebKit
2007-08-08 yadavall <sriram.yadavalli>
Reviewed by Sachin (sachin.padma@nokia.com).
DESC: CRAS-757S3Q:Center key press event not being sent to webcore
http://bugs.webkit.org/show_bug.cgi?id=14593
- BrowserView/src/KeyEventHandler.cpp: (CKeyEventHandler::HandleOfferKeyEventL):
- 2:51 PM Changeset in webkit [24940] by
-
- 3 edits in S60/branches/3.1m/WebKit
2007-08-06 vmalaiya, <vikram.malaiya@nokia.com>
Reviewed by Sachin
DESC: VMAA-75EP3L - Browser plugin does not implement memory collection on an out-of-memory condition
http://bugs.webkit.org/show_bug.cgi?id=14753
- Plugin/inc/PluginSkin.h: (CPluginSkin::Frame):
- Plugin/src/PluginSkin.cpp: (COOMPluginCollector::COOMPluginCollector): (COOMPluginCollector::~COOMPluginCollector): (COOMPluginCollector::Collect): (COOMPluginCollector::Restore): (COOMPluginCollector::Priority): (COOMPluginCollector::IsCollecting): (CPluginSkin::ConstructL): (CPluginSkin::~CPluginSkin): (CPluginSkin::RemovePluginWin):
- 2:49 PM Changeset in webkit [24939] by
-
- 2 edits in S60/branches/3.1m/WebKit
2007-08-08 yadavall <sriram.yadavalli@nokia.com>
Reviewed by NOBODY (sachin.padma@nokia.com).
DESC: SWIP-75QJJN - BrCtl ContentSize returning SizeHint and not ContentSize
http://bugs.webkit.org/show_bug.cgi?id=14871
- BrowserControl/src/BrCtl.cpp: (CBrCtl::ContentSize):
- 1:46 PM Changeset in webkit [24938] by
-
- 4 edits35 adds in trunk
LayoutTests:
Reviewed by Geoff Garen.
Tests for <rdar://problem/5354635>
- http/tests/security/dataURL: Added.
- http/tests/security/dataURL/resources: Added.
- http/tests/security/dataURL/resources/foreign-domain-data-url-accessee-iframe.html: Added.
- http/tests/security/dataURL/resources/foreign-domain-data-url-accessee-opened-frame.html: Added.
- http/tests/security/dataURL/resources/foreign-domain-data-url-accessor-iframe.html: Added.
- http/tests/security/dataURL/resources/foreign-domain-data-url-accessor-opened-frame.html: Added.
- http/tests/security/dataURL/resources/foreign-domain-data-url-window-location.html: Added.
- http/tests/security/dataURL/xss-DENIED-from-data-url-in-foriegn-domain-subframe-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-from-data-url-in-foriegn-domain-subframe.html: Added.
- http/tests/security/dataURL/xss-DENIED-from-data-url-in-foriegn-domain-window-open-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-from-data-url-in-foriegn-domain-window-open.html: Added.
- http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-2-level-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-2-level.html: Added.
- http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame.html: Added.
- http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame.html: Added.
- http/tests/security/dataURL/xss-DENIED-from-data-url-to-data-url-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-from-data-url-to-data-url.html: Added.
- http/tests/security/dataURL/xss-DENIED-from-javascript-url-window-open-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-from-javascript-url-window-open.html: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url.html: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-in-foriegn-domain-subframe-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-in-foriegn-domain-subframe-location-change-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-in-foriegn-domain-subframe-location-change.html: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-in-foriegn-domain-subframe.html: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-in-foriegn-domain-window-open-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-in-foriegn-domain-window-open.html: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-2-level-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-2-level.html: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame.html: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt: Added.
- http/tests/security/dataURL/xss-DENIED-to-data-url-window-open.html: Added.
WebCore:
Reviewed by Geoff Garen.
Fix for <rdar://problem/5354635>
Match Firefox's model for data: URLs by not allowing them script access
to any frames other then itself.
- bindings/js/kjs_window.cpp: (KJS::Window::isSafeScript):
- dom/Document.cpp: (WebCore::Document::initSecurityPolicyURL):
- 12:19 PM Changeset in webkit [24937] by
-
- 2 edits in trunk/WebCore
Reviewed by Kevin Decker.
- fix for <rdar://problem/5390708> CrashTracer: [USER] 27 crashes in Safari at com.apple.WebCore: WTF::HashMap<etc>::set + 68, beneath pruneUnretainedIconsAtStartup
- loader/icon/IconDatabase.cpp: (WebCore::IconDatabase::pruneUnretainedIconsOnStartup): Eliminate an unnecessary HashMap from the implementation; we can just use the m_pageURLToRetainCount map directly. This simplifies the code and allows us to handle the empty string, which otherwise poses a problem for HashMap.
- 10:37 AM Changeset in webkit [24936] by
-
- 3 edits2 adds in trunk
LayoutTests:
Reviewed by Darin.
Test for <rdar://problem/5391576>
Malformed table innerHTML causes Safari to crash in HTMLParser::handleError (14894)
- fast/table/incomplete-table-in-fragment-2-expected.txt: Added.
- fast/table/incomplete-table-in-fragment-2.html: Added.
WebCore:
Reviewed by Darin.
Fix for <rdar://problem/5391576>
Malformed table innerHTML causes Safari to crash in HTMLParser::handleError (14894)
Add null checks to protect against
e.innerHTML = "<tr>text</tr>";
type cases. Normal assumptions about document tree structure don't hold when parsing
fragments. Results don't match Firefox in all cases. It seems to have some sort of
anything-goes fragment parsing mode.
- html/HTMLParser.cpp: (WebCore::HTMLParser::handleError):
- 10:14 AM Changeset in webkit [24935] by
-
- 9 edits6 adds in trunk
LayoutTests:
Reviewed by Maciej and Hyatt.
- <rdar://problem/4976879> REGRESSION: Safari doesn't work with Zimbra enhanced login.
- Reverting a previous change, and modifying how documents are created so that we better match other browsers behavior with respect to namespaceURIs.
- dom/xhtml/level1/core/hc_documentcreateelementcasesensitive-expected.txt:
- fast/dom/Document/replace-child-expected.txt:
- http/tests/misc/createElementNamespace1-expected.txt: Added.
- http/tests/misc/createElementNamespace1.xml: Added.
- http/tests/misc/createElementNamespace2-expected.txt: Added.
- http/tests/misc/createElementNamespace2.xhtml: Added.
- http/tests/misc/createElementNamespace3-expected.txt: Added.
- http/tests/misc/createElementNamespace3.html: Added.
WebCore:
Reviewed by Maciej and Hyatt.
- <rdar://problem/4976879> REGRESSION: Safari doesn't work with Zimbra enhanced login.
- Reverting a previous change, and modifying how documents are created so that we better match other browsers behavior with respect to namespaceURIs.
- WebCore.xcodeproj/project.pbxproj:
- dom/DOMImplementation.cpp: (WebCore::DOMImplementation::createDocument):
- dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::createElement):
- dom/Document.h:
- html/HTMLDocument.cpp: (WebCore::HTMLDocument::createElement):
- html/HTMLDocument.h:
- 9:37 AM Changeset in webkit [24934] by
-
- 4 edits in trunk
LayoutTests:
Reviewed and landed by Brady
Updated test case because of fix for <http://bugs.webkit.org/show_bug.cgi?id=13422>
Bug 13422: REGRESSION: Page reload loses page position
- http/tests/navigation/success200-reload-expected.txt:
WebCore:
Reviewed and landed by Brady
Bug 13422: REGRESSION: Page reload loses page position
- loader/FrameLoader.cpp: (WebCore::FrameLoader::updateHistoryForReload):
- 9:24 AM Changeset in webkit [24933] by
-
- 2 edits in trunk/JavaScriptCore
Make it compile with Qt4 unicode
- 9:20 AM Changeset in webkit [24932] by
-
- 21 edits8 adds in branches/feature-branch
Reviewed by Nikolas.
http://bugs.webkit.org/show_bug.cgi?id=11909
Regression: large SVG from Illustrator comes out blank
Fix last issue with the Illustrator file by making relativeBBox
calculation take into account viewBox.
- 9:17 AM Changeset in webkit [24931] by
-
- 3 edits in trunk/WebKit
2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Niko.
We only need to set the Settings of the Page once so do it in
WebKitGtkPage instead of WebKitGtkFrame.
- gtk/Api/webkitgtkframe.cpp:
- gtk/Api/webkitgtkpage.cpp:
- 8:57 AM Changeset in webkit [24930] by
-
- 2 edits in trunk/WebCore
2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Niko.
Be paranoid and disconnect from the signal before going away.
- platform/gdk/PlatformScrollBarGdk.cpp: (PlatformScrollbar::~PlatformScrollbar):
- 8:18 AM Changeset in webkit [24929] by
-
- 3 edits in trunk/WebKit
2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Niko.
Instead of reimplementing the general event method, reimplement
the specific mouse, expose, keyboard event methods.
Call the finalize implementation of the base class from WebKitGtkPage
and WebKitGtkFrame.
- gtk/Api/webkitgtkframe.cpp:
- gtk/Api/webkitgtkpage.cpp:
- 3:44 AM Changeset in webkit [24928] by
-
- 2 edits in trunk/WebCore
2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Niko.
Use GraphicsContext::translatePoint in RenderThemeGdk to paint at the
right position.
This is needed as the Gtk+ theming code does not know about the translation
of the GraphicsContext.
- platform/gdk/RenderThemeGdk.cpp: (WebCore::RenderThemeGdk::paintCheckbox): (WebCore::RenderThemeGdk::paintRadio): (WebCore::RenderThemeGdk::paintButton):
- 3:28 AM Changeset in webkit [24927] by
-
- 6 edits in trunk
WebCore:
2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Niko.
Implement Widget::paint for the Gtk port. This is needed to paint
Widgets in z-order. The original GdkEventExpose is stored within the
GraphicsContext and then used to draw the children. This is similiar
to gtk_container_propagate_expose but we try to honor the GraphicsConntext
translation.
- platform/gdk/WidgetGdk.cpp: (WebCore::Widget::paint):
- platform/graphics/GraphicsContext.h:
- platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate): (WebCore::GraphicsContext::setGdkExposeEvent): (WebCore::GraphicsContext::gdkExposeEvent): (WebCore::GraphicsContext::gdkDrawable): (WebCore::GraphicsContext::translatePoint):
WebKit:
2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Niko.
Remove the custom painting in favor of the Widget::paint
implementation.
- gtk/Api/webkitgtkpage.cpp:
- 1:02 AM Changeset in webkit [24926] by
-
- 3 edits in trunk/WebCore
2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Oliver Hunt.
Implement PlatformScrollbar by calling ScrollBar::setValue from
gtkValueChange connected to the value-changed signal of the
GtkAdjustment.
Update 'value' of the GtkAdjustment in updateThumbPosition and
set upper, page-increment, step-increment and page_size in
updateThumbProportion.
This is from bug http://bugs.webkit.org/show_bug.cgi?id=14795.
- platform/gdk/PlatformScrollBar.h:
- platform/gdk/PlatformScrollBarGdk.cpp: (PlatformScrollbar::PlatformScrollbar): (PlatformScrollbar::updateThumbPosition): (PlatformScrollbar::updateThumbProportion): (PlatformScrollbar::gtkValueChanged):
- 12:01 AM Changeset in webkit [24925] by
-
- 10 edits in trunk/WebCore
Reviewed by Maciej Stachowiak. Based on earlier review from Dave Hyatt.
First chunk of work for <rdar://problem/5326009> Make non-browser
WebKit clients have no memory cache, or a very tiny one
Layout tests pass.
Removed decodedSizeWillChange mechanism because my last patch to
change the live resources list to a strict LRU model made that code
vestigial.
Renamed "liveResourcesList" and related stuff =>
"liveDecodedResourcesList" because only live resources with decoded
data are kept in the list.
- loader/CachedImage.cpp: (WebCore::CachedImage::decodedSizeChanged): Only add ourselves to the list if we're live, our decoded size has grown, and we're not in the list already. (Otherwise, either we're not live, we're not decoded, or we're already in the list.)
- loader/CachedResource.cpp: (WebCore::CachedResource::liveResourceAccessed): Only re-insert ourselves into the list if we're already there. (In theory, this should be always, but it's a little more clear to check.)