Timeline
Aug 18, 2007:
- 10:15 PM Changeset in webkit [25144] by
-
- 3 edits in trunk/WebKitQt
Fix compilation
- 11:20 AM Changeset in webkit [25143] by
-
- 2 edits in trunk/WebKit/gtk
2007-08-18 Holger Hans Peter Freyther <zecke@selfish.org>
Build fix. Add const to the first parameter of createPlugin
- WebCoreSupport/FrameLoaderClientGtk.cpp:
Aug 17, 2007:
- 8:48 PM Changeset in webkit [25142] by
-
- 4 edits in trunk
WebCore:
Reviewed by Darin.
- WebCore part of fix to scrollbar suppression hack for Leopard
- loader/FrameLoader.cpp: (WebCore::FrameLoader::transitionToCommitted): Suppress scrollbars earlier, so it happens before any potential view swap.
WebKit:
Reviewed by Darin.
- WebKit part of fix to scrollbar suppression hack for Leopard
- WebView/WebDynamicScrollBarsView.m: (-[WebDynamicScrollBarsView reflectScrolledClipView:]): Don't call the superclass method when scrollbars are suppressed. (-[WebDynamicScrollBarsView setScrollBarsSuppressed:repaintOnUnsuppress:]): Instead call it here, when unsuppressing.
- 7:41 PM Changeset in webkit [25141] by
-
- 1 copy in tags/Safari-4523.1
New tag.
- 7:00 PM Changeset in webkit [25140] by
-
- 8 edits1 add in trunk/WebKit/win
Fix <rdar://5192578> Inspect Element should not appear in context menu in non-debug mode
We now follow the same logic as Mac WebKit for displaying the Inspect Element item:
1) If DisableWebKitDeveloperExtras is set to true, don't display it
2) If not, and we're in a debug build, display it
3) If not, and we're in a release build, display it if
WebKitDeveloperExtras is set to true
Reviewed by Ada.
- Interfaces/IWebPreferencesPrivate.idl: Added.
- WebKit.vcproj/Interfaces.vcproj: Add new IWebPreferencesPrivate.idl file to project.
- WebKit.vcproj/WebKitGUID.vcproj: Added generated .c file for IWebPreferencesPrivate to project.
- WebPreferenceKeysPrivate.h: Added new keys.
- WebPreferences.cpp: Added IID_WebPreferences. (WebPreferences::postPreferencesChangesNotification): Added an explicit cast needed now that WebPreferences implements two interfaces. (WebPreferences::QueryInterface): Added new cases. (WebPreferences::setDeveloperExtrasEnabled): Added. (WebPreferences::developerExtrasEnabled): Added. (WebPreferences::developerExtrasDisabledByOverride): Added.
- WebPreferences.h: Now implements IWebPreferencesPrivate.
- WebView.cpp: (WebView::updateWebCoreSettingsFromPreferences): Call developerExtrasEnabled. (WebView::developerExtrasEnabled): Ported from -[WebView _developerExtrasEnabled].
- WebView.h:
- 7:00 PM Changeset in webkit [25139] by
-
- 6 edits in trunk/WebKit/win
Add WebPreferences::sharedStandardPreferences
This is a convenience method to get the standard preferences object so
that within WebKit we don't have to deal with the fact that COM doesn't
support static methods.
Reviewed by Ada.
- WebHistory.cpp: (WebHistory::WebHistory): Use sharedStandardPreferences.
- WebIconDatabase.cpp: (WebIconDatabase::init): Ditto.
- WebPreferences.cpp: (WebPreferences::sharedStandardPreferences): Added. (WebPreferences::getInstanceForIdentifier): Use sharedStandardPreferences. (WebPreferences::standardPreferences): Ditto.
- WebPreferences.h:
- WebView.cpp: (WebView::preferences): Ditto.
- 6:23 PM Changeset in webkit [25138] by
-
- 3 edits in trunk/WebKitTools
Reviewed by Oliver Hunt.
- don't look for Apple-style localizable strings in the GTK version of WebKit
- Scripts/extract-localizable-strings: Add a feature where you can pass in the name of subdirectories to skip.
- Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory to skip.
- 6:08 PM Changeset in webkit [25137] by
-
- 3 edits in trunk/WebKit
Reviewed by Maciej.
- fix <rdar://problem/5414518> Use root URL as origin URL when quarantining downloads
- WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::setOriginalURLForDownload): Extract only the scheme and host name and make the originating URL from that.
- WebKit/StringsNotToBeLocalized.txt: Updated for recent changes.
- 5:04 PM Changeset in webkit [25136] by
-
- 3 edits in trunk/WebKit/gtk
Build fix.
- WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::createPlugin):
- WebCoreSupport/FrameLoaderClientGtk.h:
- 5:01 PM Changeset in webkit [25135] by
-
- 1 edit in trunk/WebKit/WebView/WebHTMLView.mm
Fix a spelling mistake.
- 4:53 PM Changeset in webkit [25134] by
-
- 3 edits in trunk/WebKit
Reviewed by Darin.
<rdar://problem/5398301> Xcode threw mutation exception while enumerating subviews (GC only)
I was never able to reproduce this exception. But there can be cases where layout will
trigger JavaScript or plugin code that can modify the WebView view hierarchy during a
recursive enumeration of all the subviews.
This patch does two things:
1) Adds a check in debug builds that will LOG when any view is added or removed during layout.
Noting that added views will not recieve layout this round and might paint without first recieving layout.
2) Recursivly builds up an array of descendant WebHTMLViews before calling layout on them.
This matches the behavior of makeObjectsPerformSelector: in the non-GC case (making a copy
before enumerating.)
- WebView/WebHTMLView.mm: (-[WebHTMLView _web_setPrintingModeRecursive]): Use _web_addDescendantWebHTMLViewsToArray to build up an array of WebHTMLViews to enumerate. (-[WebHTMLView _web_clearPrintingModeRecursive]): Ditto. (-[WebHTMLView _web_setPrintingModeRecursiveAndAdjustViewSize]): Ditto. (-[WebHTMLView _web_layoutIfNeededRecursive]): Ditto. (-[WebHTMLView _layoutIfNeeded]): Moved to WebHTMLViewFileInternal category. (-[WebHTMLView didAddSubview:]): LOG in debug builds. (-[WebHTMLView willRemoveSubview:]): Ditto. (-[NSView _web_addDescendantWebHTMLViewsToArray:]): Recursivly build an array of descendant WebHTMLViews.
- WebView/WebHTMLViewInternal.h: Added a BOOL in WebHTMLViewPrivate to track subview changes (debug only.)
- 4:45 PM Changeset in webkit [25133] by
-
- 2 edits in trunk/WebKitTools
Build fix.
- DumpRenderTree/TestNetscapePlugIn.subproj/main.c: (NPP_SetWindow):
- 4:29 PM Changeset in webkit [25132] by
-
- 7 edits2 adds in trunk
LayoutTests:
Reviewed by Hyatt.
Test for <rdar://problem/5403773>
CrashTracer: [USER] 88 crashes in Safari at com.apple.WebCore: WebCore::RenderTableSection::paint + 846
Changed results for fast/dynamic/containing-block-change.html are progression
(even though new results don't match Firefox and old ones did!)
- fast/dynamic/ancestor-to-absolute-expected.txt: Added.
- fast/dynamic/ancestor-to-absolute.html: Added.
- fast/dynamic/containing-block-change-expected.checksum:
- fast/dynamic/containing-block-change-expected.png:
- fast/dynamic/containing-block-change-expected.txt:
WebCore:
Reviewed by Hyatt.
Fix <rdar://problem/5403773>
CrashTracer: [USER] 88 crashes in Safari at com.apple.WebCore: WebCore::RenderTableSection::paint + 846
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::removePositionedObjects):
Fix crash in http://www.infobae.com/interior/home.html
Positioned objects removed from m_positionedObjects would in some cases not get added back to any
positioned objects list. Adding objects happens in block layout but since layout was not invalidated
correctly in removePositionedObjects() it would not get invoked. As a result some positioned objects
would stay in layout dirty state leading to crashes and other bad things.
- rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::paint):
Add needLayout() guard to eliminate this class of crashes from release builds.
Assert commented out for now since one existing layout test can't handle it.
- 3:58 PM Changeset in webkit [25131] by
-
- 3 edits in trunk/WebKit/win
Build fix.
- WebFrame.cpp: (WebFrame::createPlugin):
- WebFrame.h:
- 3:48 PM Changeset in webkit [25130] by
-
- 1 edit2 adds in trunk/LayoutTests
Reviewed by Darin.
<rdar://problem/5252836> Adobe Help Viewer: Japanese characters in the Help Tree structure are shown as garbage
This test ensures a UTF-8 encoding is properly set. The code tests compatibility of documents which:
(1) use namespace prefixes on HTML elements
(2) specify a non-latin charset
(3) contain non-latin characters
If this test passes, the UTF-8 character below should exactly match the character the character in namespace-tolerance-expected.txt.
- fast/encoding/namespace-tolerance-expected.txt: Added.
- fast/encoding/namespace-tolerance.html: Added.
- 3:45 PM Changeset in webkit [25129] by
-
- 2 edits in trunk/WebCore
2007-08-17 Kevin Decker <kdecker@apple.com>
Code change by Darin, landed and reviewed by me.
Fixed: <rdar://problem/5252836> Adobe Help Viewer: Japanese characters in the Help Tree structure are shown as garbage
Added fast/encoding/namespace-tolerance.html test.
- loader/TextResourceDecoder.cpp: (WebCore::TextResourceDecoder::checkForHeadCharset): Slightly loosen the charset decoder heuristic by tweaking it to ignore namespaces. This restores compatibility to documents which (1) use namespace prefixes on HTML elements (2) specify a non-latin charset and (3) contain non-latin characters.
Added fast/encoding/namespace-tolerance.html test.
- 3:12 PM Changeset in webkit [25128] by
-
- 21 edits2 adds in trunk
LayoutTests:
Reviewed by Dave Hyatt.
<rdar://problem/5379040>
REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
Add test.
- plugins/netscape-plugin-setwindow-size-expected.txt: Added.
- plugins/netscape-plugin-setwindow-size.html: Added.
WebCore:
Reviewed by Dave Hyatt.
<rdar://problem/5379040>
REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
Instantiate plug-ins during the first layout instead of doing so when creating the renderer.
This ensures that the plug-in widget will have a correct initial size.
- html/HTMLEmbedElement.cpp: (WebCore::HTMLEmbedElement::getInstance): Force a layout if the plug-in doesn't have an instance.
(WebCore::HTMLEmbedElement::attach):
Pass true to updateWidget, causing it to only create a widget if it won't be a plug-in.
- html/HTMLIFrameElement.cpp: (WebCore::HTMLIFrameElement::attach): Pass false to updateWidget, this will only create subframes anyway.
- html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::getInstance): Force a layout if the plug-in doesn't have an instance.
(WebCore::HTMLObjectElement::attach):
Pass true to updateWidget, causing it to only create a widget if it won't be a plug-in.
- loader/FrameLoader.cpp: (WebCore::FrameLoader::loadPlugin): Get the size from the renderer and pass it to the client.
- loader/FrameLoaderClient.h:
- page/mac/WebCoreFrameBridge.h:
- platform/graphics/svg/SVGImageEmptyClients.h: (WebCore::SVGEmptyFrameLoaderClient::createPlugin): Update declarations.
- rendering/RenderPart.cpp: (WebCore::RenderPart::setWidget): No need to mark the renderer as dirty here.
- rendering/RenderPartObject.h:
- rendering/RenderPartObject.cpp: (WebCore::RenderPartObject::updateWidget): Add a parameter, onlyCreateNonPlugins. If this is true the widget will only be created if it's not a plug-in.
(WebCore::RenderPartObject::layout):
Call updateWidget here if m_widget is 0, causing the plug-in to be instantiated.
WebKit:
Reviewed by Dave Hyatt.
<rdar://problem/5379040>
REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
Pass the right size when creating the views.
- WebCoreSupport/WebFrameBridge.mm: (-[WebFrameBridge viewForPluginWithFrame:URL:attributeNames:attributeValues:MIMEType:DOMElement:loadManually:]):
- WebCoreSupport/WebFrameLoaderClient.h:
- WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::createPlugin):
WebKitTools:
Reviewed by Dave Hyatt.
<rdar://problem/5379040>
REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
- DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: (pluginAllocate):
- DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
- DumpRenderTree/TestNetscapePlugIn.subproj/main.c: (NPP_New): (NPP_SetWindow):
- 1:50 PM Changeset in webkit [25127] by
-
- 3 edits in S60/trunk/WebCore
rathnasa, reviewed by Zbujtas
DESC: TSW Id SJUN-73XBVC document.write does not work in onload, onclick events
http://bugs.webkit.org/show_bug.cgi?id=14915
WARNING: NO TEST CASES ADDED OR CHANGED
- 1:48 PM Changeset in webkit [25126] by
-
- 3 edits in S60/branches/3.1m/WebCore
2007-08-09 rathnasa <sornalatha.rathnasamy@nokia.com>
Reviewed by zbujtas
DESC: TSW Id SJUN-73XBVC document.write does not work in onload, onclick events
- 1:10 PM Changeset in webkit [25125] by
-
- 1 edit in trunk/WebCore/ChangeLog
Correct ChangeLog to reference correct person
- 1:42 AM Changeset in webkit [25124] by
-
- 4 edits2 adds in trunk
LayoutTests:
Reviewed by Maciej.
Simple test to ensure we don't crash when creating a pattern
- fast/canvas/create-pattern-does-not-crash-expected.txt: Added.
- fast/canvas/create-pattern-does-not-crash.html: Added.
WebCore:
Reviewed by Maciej.
http://bugs.webkit.org/show_bug.cgi?id=14189
<rdar://problem/5319511> REPRODUCIBLE CRASH: Canvas createPattern(canvas, ...) crashes on Windows (14189)
Ensure that we actually retain the CG pattern correctly.
Credit to Philip Taylor <excors@gmail.com> for finding the cause of this.
- html/CanvasPattern.cpp: (WebCore::CanvasPattern::~CanvasPattern): (WebCore::CanvasPattern::createPattern):
- html/CanvasPattern.h: (WebCore::CanvasPattern::platformImage):