Timeline
Apr 15, 2003:
- 7:18 PM Changeset in webkit [4120] by
-
- 2 edits in trunk/WebKit
Create the dictionary for volatile values. Without this fix
values were never volatile!
Reviewed by mjs.
- WebView.subproj/WebPreferences.m: (-[WebPreferences _init]): (-[WebPreferences init]): (+[WebPreferences standardPreferences]): (-[WebPreferences dealloc]):
- 7:02 PM Changeset in webkit [4119] by
-
- 2 edits in trunk/WebKit
Fix for 3226746. Remove some ancient and apparantly invalid cruft.
Reviewed by trey.
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _setDataSource:]):
- 5:47 PM Changeset in webkit [4118] by
-
- 3 edits in trunk/WebCore
Missed a piece of the renaming on lowestPosition/rightmostPosition.
This was already reviewed by darin. Just missed landing one file.
Reviewed by darin
- khtml/rendering/render_box.cpp: (RenderBox::lowestPosition): (RenderBox::rightmostPosition):
- 5:38 PM Changeset in webkit [4117] by
-
- 2 edits in trunk/WebKit
Fixed clipping of progressive images to correctly clip.
Reviewed by darin.
- WebCoreSupport.subproj/WebImageRenderer.m: (-[WebImageRenderer drawClippedToValidInRect:fromRect:]):
- 5:28 PM Changeset in webkit [4116] by
-
- 3 edits in trunk/WebCore
3210061 - Forms auto-fill ignores maxlength attribute
Reviewed by Maciej.
- kwq/KWQTextField.mm: (-[KWQTextField setStringValue:]): We now trim down incoming values to fit the maxlength criteria. Matches the way we enforce this constraint when maxlength is set.
- 5:09 PM Changeset in webkit [4115] by
-
- 1 edit in trunk/WebCore/khtml/css/parser.y
* empty log message *
- 5:04 PM Changeset in webkit [4114] by
-
- 3 edits in trunk/WebCore
Fix 3227983 and 3229592, both the same bug involving a movable type
template:
letter-spacing: .none;
Fix is to make error-handling of exprs more generic.
Reviewed by darin
- khtml/css/parser.y:
- 4:45 PM Changeset in webkit [4113] by
-
- 8 edits in trunk/WebCore
Reviewed by Ken.
- fixed 3056913 -- please add Japanese auto-detect
- khtml/misc/decoder.cpp: (Decoder::decode): Turn on the auto-detect code if the default encoding is one of the Japanese encodings. Also change things around so the auto-detection process doesn't clobber the old chosen encoding if it does not yield a result.
- kwq/KWQCharsets.h: Add a new IsJapanese encoding flag.
- kwq/KWQTextCodec.h: Add a new isJapanese() member function, used by the above.
- kwq/mac-encodings.txt: Add the IsJapanese flag to all Japanese encodings, and add "jis7" as a synonym for ISO-2022-JP.
- kwq/make-charset-table.pl: Changed to allow flags even for unused encodings.
- kwq/KWQCharsetData.c: Regenerated.
- 4:29 PM Changeset in webkit [4112] by
-
- 14 edits in trunk/WebCore
Fix for 3220809, overflow values other than visible should not
affect the document's height (or document scrollbars). This
fixes squidfingers.com and briefcase.yahoo.com
Also laying a bunch of groundwork for overflow:auto and scroll
by adding them as supported values now.
Fixed overflow so that overflow objects now dodge floats and
don't let them intrude into their space.
Reviewed by darin
- khtml/css/cssstyleselector.cpp:
- khtml/rendering/render_block.cpp:
- khtml/rendering/render_block.h:
- khtml/rendering/render_box.cpp: (RenderBox::containingBlockWidth): (RenderBox::repaint): (RenderBox::repaintRectangle): (RenderBox::calcWidth): (RenderBox::calcAbsoluteVertical): (RenderBox::lowestPosition): (RenderBox::rightmostPosition):
- khtml/rendering/render_box.h:
- khtml/rendering/render_flow.cpp: (RenderFlow::repaint): (RenderFlow::lowestPosition): (RenderFlow::rightmostPosition):
- khtml/rendering/render_flow.h:
- khtml/rendering/render_layer.cpp: (RenderLayer::updateLayerPosition): (RenderLayer::convertToLayerCoords): (RenderLayer::scrollOffset):
- khtml/rendering/render_layer.h:
- khtml/rendering/render_object.cpp: (RenderObject::setLayouted): (RenderObject::detach):
- khtml/rendering/render_object.h:
- khtml/rendering/render_style.h:
- 3:54 PM Changeset in webkit [4111] by
-
- 3 edits in trunk/WebCore
3229318 - no back entry created when searching at lonelyplanet.com
Reviewed by Darin.
- khtml/ecma/kjs_binding.cpp: (ScriptInterpreter::wasRunByUserGesture): Treat blur/focus events as being user gestures, since they probably were caused by something the user did. This cues us to not lock history for navigations that are spawned by these events.
- 2:25 PM Changeset in webkit [4110] by
-
- 2 edits in trunk/WebKit
Tools:
Reviewed by Darin
Name change from WebCacheObject to NSCachedURLResponse.
No functional changes.
- DiskCachePeek/main.m:
- WebDiskCacheInspector/Controller.h:
- WebDiskCacheInspector/Controller.m: (-[Controller cacheObjectForPath:]): (-[Controller setFilesArrayUsingSearchString:]): (-[Controller tableView:objectValueForTableColumn:row:]): (-[Controller setCacheObject:]):
WebFoundation:
Reviewed by Darin
Name change from WebCacheObject to NSCachedURLResponse.
No functional changes.
- CacheLoader.subproj/NSURLConnection.m: (-[NSURLConnection cacheObject]): (-[NSURLConnection setCacheObject:]): (-[NSURLConnection _beginLoad]): (-[NSURLConnection _finishedLoading]): (-[NSURLConnectionInternal cacheObject]):
- CacheLoader.subproj/NSURLProtocol.h:
- CacheLoader.subproj/NSURLProtocol.m: (-[NSURLProtocol cacheObject]): (-[NSURLProtocol setCacheObject:]): (-[NSURLProtocol startLoadingWithCacheObject:]): (-[NSURLProtocol stateForCacheObject:]): (-[NSURLProtocol canStoreCacheObject:]):
- CacheLoader.subproj/WebCache.h:
- CacheLoader.subproj/WebCache.m: (-[WebCache cacheObjectForKey:]): (-[WebCache storeCacheObject:forKey:]):
- CacheLoader.subproj/WebCacheManager.h:
- CacheLoader.subproj/WebCacheManager.m: (-[WebCacheManager cacheObjectForKey:]): (-[WebCacheManager storeCacheObject:forKey:]):
- CacheLoader.subproj/WebCacheObjectPrivate.h:
- CacheLoader.subproj/WebDiskCache.m: (-[WebDiskCache cacheObjectForKey:]): (-[WebDiskCache storeCacheObject:forKey:]): (-[WebDiskCache removeCacheObjectForKey:]):
- CacheLoader.subproj/WebMemoryCache.m: (-[WebMemoryCacheLRUListNode initWithCacheObject:forKey:]): (-[WebMemoryCache cacheObjectForKey:]): (-[WebMemoryCache storeCacheObject:forKey:]):
- Misc.subproj/WebFoundation.h:
- ProtocolHandlers.subproj/WebAboutProtocol.m: (-[WebAboutProtocol startLoadingWithCacheObject:]):
- ProtocolHandlers.subproj/WebCFNetworkHTTPProtocol.m: (-[WebCFNetworkHTTPProtocol addConditionalFieldsToHeader]): (-[WebCFNetworkHTTPProtocol startLoadingWithCacheObject:]): (-[WebCFNetworkHTTPProtocol continueHeaderReadAfter3xxResponseAndCall:]):
- ProtocolHandlers.subproj/WebFTPProtocol.m: (-[WebFTPProtocol startLoadingWithCacheObject:]):
- ProtocolHandlers.subproj/WebFileProtocol.m: (-[WebFileProtocol startLoadingWithCacheObject:]):
- ProtocolHandlers.subproj/WebHTTPProtocol.m: (-[WebHTTPProtocol startLoadingWithCacheObject:]): (-[WebHTTPProtocol canStoreCacheObject:]): (-[WebHTTPProtocol stateForCacheObject:]):
- ProtocolHandlers.subproj/WebSimpleHTTPProtocol.m: (-[WebSimpleHTTPProtocol startLoadingWithCacheObject:]): (-[WebSimpleHTTPProtocol buildHTTPRequest]): (-[WebSimpleHTTPProtocol _processHTTPResultCode]):
- WebFoundation.exp:
- WebFoundation.pbproj/project.pbxproj:
WebKit:
Reviewed by Darin
Name change from WebCacheObject to NSCachedURLResponse.
No functional changes.
- WebView.subproj/WebDataProtocol.m: (-[WebDataProtocol startLoadingWithCacheObject:]):
- 1:44 PM Changeset in webkit [4109] by
-
- 3 edits in trunk/WebKit
WebKit:
3227514 Open window in "Same Page" should copy entire back/forward list
New support to load a new view by copying the whole backforward
list and driving the new view to the current item.
Reviewed by John.
- WebView.subproj/WebViewPrivate.h:
- WebView.subproj/WebViewPrivate.m: (-[WebView _loadItem:]): Old routine, which only loaded an item. (-[WebView _loadItemsFromOtherView:]): New routine that does the works.
WebBrowser:
3227514 Open window in "Same Page" should copy entire back/forward list
Just call new method in WebKit.
Reviewed by John.
- BrowserDocument.h:
- BrowserDocument.m: (-[BrowserDocument loadCloneOfView:]): Renamed goToHistoryItem:inView:.
- BrowserWindowController.m: (-[BrowserWindowController windowDidLoad]): Call above method instead of old one.
- 11:25 AM Changeset in webkit [4108] by
-
- 5 edits in trunk/WebCore
A collection of fixes.
(1) Don't lay out positioned elements so early in
layoutInlineChildren. They need to get a layout only after
all the normal flow kids have gotten a layout (and this happens
already in layoutPositionedObjects).
(2) Fix a mistake with overflow:hidden. I was applying the
overflow-clip for positioned elements only if you had defined
clip using the clip property. This makes iht.com look better
(although it still misrenders pretty badly due to some JS error
we hit in the source).
(3) Patch RenderText's height method to give more accurate
information. This affects all the layout tests. :)
Reviewed by darin
- khtml/rendering/bidi.cpp:
- khtml/rendering/render_layer.cpp: (RenderLayer::constructZTree):
- khtml/rendering/render_text.cpp: (RenderText::height):
- 11:13 AM Changeset in webkit [4107] by
-
- 2 edits in trunk/WebKit
WebFoundation:
Reviewed by John
Name change from WebProtocolClient to NSURLProtocolClient.
No functional changes.
- CacheLoader.subproj/NSURLConnection.m:
- CacheLoader.subproj/NSURLProtocol.h:
- CacheLoader.subproj/NSURLProtocol.m: (-[NSURLProtocol initWithProtocolClient:request:]): (-[NSURLProtocol client]):
- ProtocolHandlers.subproj/WebAboutProtocol.m: (-[WebAboutProtocol startLoadingWithCacheObject:]):
- ProtocolHandlers.subproj/WebCFNetworkHTTPProtocol.m: (-[WebCFNetworkHTTPProtocol initWithProtocolClient:request:]): (-[WebCFNetworkHTTPProtocol continueHeaderReadAfter3xxResponseAndCall:]): (-[WebCFNetworkHTTPProtocol performHTTPHeaderRead:andCall:]): (-[WebCFNetworkHTTPProtocol performStreamRead:]):
- ProtocolHandlers.subproj/WebFTPProtocol.m: (-[WebFTPProtocol initWithProtocolClient:request:]): (-[WebFTPProtocol startLoadingWithCacheObject:]): (-[WebFTPProtocol _checkDirectoryListing]): (-[WebFTPProtocol handleEndEncountered]): (-[WebFTPProtocol handleReadStreamEvent:event:]):
- ProtocolHandlers.subproj/WebFileProtocol.m: (-[WebFileProtocol didLoadData:]): (-[WebFileProtocol startLoadingWithCacheObject:]):
- ProtocolHandlers.subproj/WebHTTPProtocol.m: (-[WebHTTPProtocol initWithProtocolClient:request:]): (-[WebHTTPProtocol retryWithRedirectedURLAndResultCode:]):
- ProtocolHandlers.subproj/WebSimpleHTTPProtocol.m: (-[WebSimpleHTTPProtocol initWithProtocolClient:request:]): (-[WebSimpleHTTPProtocol _processHTTPResultCode]): (-[WebSimpleHTTPProtocol _forwardToCFNetwork]): (-[WebSimpleHTTPProtocol _handleLoadCallback]):
- WebFoundation.pbproj/project.pbxproj:
WebKit:
Reviewed by John
Name change from WebProtocolClient to NSURLProtocolClient.
No functional changes.
- WebView.subproj/WebDataProtocol.m: (-[WebDataProtocol startLoadingWithCacheObject:]):
- 10:39 AM Changeset in webkit [4106] by
-
- 4 edits in trunk/WebKit
WebFoundation:
Reviewed by Darin
Name change from WebProtocol to NSURLProtocol.
No functional changes.
- CacheLoader.subproj/NSURLConnection.m: (+[NSURLConnection canHandleRequest:]): (-[NSURLConnection _beginLoad]): (-[NSURLConnection protocol]):
- CacheLoader.subproj/NSURLRequest.m: (-[NSURLRequest _parametersForReading]): (-[NSMutableURLRequest _parametersForWriting]):
- CacheLoader.subproj/NSURLResponse.m:
- CacheLoader.subproj/WebCacheManager.m:
- CacheLoader.subproj/WebProtocolClient.h:
- Misc.subproj/WebFoundation.h:
- Misc.subproj/WebNSURLExtras.m: (-[NSURL _web_canonicalize]):
- ProtocolHandlers.subproj/WebAboutProtocol.h:
- ProtocolHandlers.subproj/WebCFNetworkHTTPProtocol.m:
- ProtocolHandlers.subproj/WebFTPProtocol.h:
- ProtocolHandlers.subproj/WebFTPProtocol.m:
- ProtocolHandlers.subproj/WebFileProtocol.h:
- ProtocolHandlers.subproj/WebHTTPProtocol.h:
- ProtocolHandlers.subproj/WebHTTPProtocol.m:
- ProtocolHandlers.subproj/WebSimpleHTTPProtocol.m:
- WebFoundation.exp:
- WebFoundation.pbproj/project.pbxproj:
WebKit:
Reviewed by Darin
Name change from WebProtocol to NSURLProtocol.
No functional changes.
- WebView.subproj/WebDataProtocol.h:
- WebView.subproj/WebDataProtocol.m: (-[NSURLRequest _webDataRequestParametersForReading]): (-[NSURLRequest _webDataRequestParametersForWriting]): (+[WebDataProtocol load]):
- WebView.subproj/WebFrame.m:
WebBrowser:
Reviewed by Darin
Name change from WebProtocol to NSURLProtocol.
No functional changes.
- Debug/DebugUtilities.m: (initProtocolHandlers): (-[BrowserDocument unregisterAllProtocolHandlers]): (-[BrowserDocument reregisterAllProtocolHandlers]): (-[BrowserDocument toggleAboutProtocolHandler:]): (-[BrowserDocument toggleFileProtocolHandler:]): (-[BrowserDocument toggleCFNetworkHTTPProtocolHandler:]): (-[BrowserDocument toggleSimpleHTTPProtocolHandler:]):
- 10:25 AM Changeset in webkit [4105] by
-
- 19 edits in trunk
WebCore:
3009051 - Find on Page stops (once) at end of page, should wrap automatically WebKit
3051546 - Find on Page doesn't work for frameset pages
3058437 - can have a selection in two frames at the same time (problem for finding in frames)
3097498 - Find Previous continues to "Find Next" until end of paragraph
3097507 - Find Next searches from previous find hit instead of current selection
And a commented out fix for:
3121828 - scrollToVisible on find cuts off the left part of the view due to needless horiz. scroll
Various missing pieces are implemented to support better finding. The fix for
3121828 is left out until 3228511 is dealt with.
Reviewed by Maciej.
- WebCore.pbproj/project.pbxproj:
- khtml/khtml_part.cpp: (KHTMLPart::findTextBegin): Added args to allow starting a find at an arbitrary places, such as the current selection. (KHTMLPart::findTextNext): Implement reverse search - only the param was there. Don't do lame scrolling selection to visible here, do better ourselves later.
- khtml/khtml_part.h:
- kwq/KWQKHTMLPart.h:
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::jumpToSelection): Make whole selection rect visible, and only scroll anything if needed. *Commented out in lieu of 3228511. (KWQKHTMLPart::findString): Implement find starting at the right place relative to the selection, forwards and backwards, and wraparound. This is just setup around calling findTextNext. Also scroll the result to be visible.
- kwq/WebCoreBridge.h:
- kwq/WebCoreBridge.mm: (-[WebCoreBridge deselectAll]): Call part instead of doc so its state isn't out of sync. (-[WebCoreBridge searchFor:direction:caseSensitive:wrap:]): Pass extra wrap arg.
- kwq/WebCoreDOMNode.mm: (+[WebCoreDOMNode nodeWithImpl:DOM::]): Return a nil for a null element instead of croaking. (-[WebCoreDOMNode initWithImpl:DOM::]): Ditto.
WebKit:
3009051 - Find on Page stops (once) at end of page, should wrap automatically WebKit
3051546 - Find on Page doesn't work for frameset pages
3058437 - can have a selection in two frames at the same time (problem for finding in frames)
3097498 - Find Previous continues to "Find Next" until end of paragraph
3097507 - Find Next searches from previous find hit instead of current selection
Primary changes here: I added a wrap flag to the searchFor method, which is needed to
control how we search as we traverse the frame tree. A new method is added to WebView
that knows about traversing the frame tree as we search. HTMLView and TextView both
clear their selections when they lose first responder (see 3228554 for possible
improvements to that change).
Reviewed by Maciej.
- Misc.subproj/WebSearchableTextView.m: Added wrap flag, pass on to TextView. Ensure we do some searching when we would previous get a zero range to search in.
- WebView.subproj/WebDocument.h:
- WebView.subproj/WebFramePrivate.h:
- WebView.subproj/WebFramePrivate.m: These are all basic methods to support forwards and backwards traversal of the frame tree. Modeled after same methods we have for traversing the DOM. (-[WebFrame _nextSibling]): (-[WebFrame _previousSibling]): (-[WebFrame _lastChild]): (-[WebFrame _nextFrameWithWrap:]): (-[WebFrame _previousFrameWithWrap:]):
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView searchFor:direction:caseSensitive:wrap:]): Added wrap flag, pass it to bridge. (-[WebHTMLView resignFirstResponder]): Clear selection when we lose firstResp.
- WebView.subproj/WebTextView.m: (-[WebTextView resignFirstResponder]): Clear selection when we lose firstResp.
- WebView.subproj/WebView.m: (-[WebView _currentFrame]): Return the frame holding the first responder. (-[WebView _searchFor:direction:caseSensitive:wrap:]): Main work: traverse the frame tree and drive the overall find.
- WebView.subproj/WebViewPrivate.h:
WebBrowser:
3009051 - Find on Page stops (once) at end of page, should wrap automatically WebKit
3051546 - Find on Page doesn't work for frameset pages
3058437 - can have a selection in two frames at the same time (problem for finding in frames)
3097498 - Find Previous continues to "Find Next" until end of paragraph
3097507 - Find Next searches from previous find hit instead of current selection
Primary change here is that we use a new WK method that is hip to searching across
frames. There is an open issue in 3228520 for getting that into the API.
Reviewed by Maciej.
- BrowserWindowController.h:
- BookmarksViewController.m: Added wrap: argument to searchFor:direction:caseSensitive: method.
- FindPanelController.m: (-[FindPanelController _searchTarget]): Hacked to return a WebView if possible instead of always a WebDocumentSearching. (-[FindPanelController _doSearchForString:direction:caseSensitive:inTarget:]): New method that knows to call new WK method for searching across frames in the special case of us about to search within a WebView. (-[FindPanelController _findWithDirection:caseSensitive:]): Call above new method instead of going straight to the search target using the WebDocumentSearching method.
Apr 14, 2003:
- 10:31 PM Changeset in webkit [4104] by
-
- 5 edits in trunk/WebCore
Reviewed by Trey.
- fixed 3214900 - iBench JavaScript test times get progressively slower with each test run
The fix is to make sure to always cast NodeImpl * to DocumentImpl
*. Multiple inheritance means the pointer values need not be the
same.
- khtml/ecma/kjs_binding.cpp: (ScriptInterpreter::getDOMObjectForDocument): (ScriptInterpreter::putDOMObjectForDocument): (ScriptInterpreter::deleteDOMObjectsForDocument): (ScriptInterpreter::forgetDOMObjectsForDocument):
- khtml/ecma/kjs_binding.h:
- khtml/ecma/kjs_dom.cpp: (KJS::getDOMNode):
- 3:43 PM Changeset in webkit [4103] by
-
- 5 edits in trunk/WebCore
Reviewed by darin
- ChangeLog:
- khtml/css/cssstyleselector.cpp:
- khtml/html/htmltokenizer.cpp: (HTMLTokenizer::parseComment):
- 2:43 PM Changeset in webkit [4102] by
-
- 6 edits in trunk/WebKit
Log time spent loading each plug-in.
Reviewed by mjs.
- Misc.subproj/WebIconDatabase.m: (-[WebIconDatabase _iconsForIconURLString:]): fixed logging code (-[WebIconDatabase _scaleIcon:toSize:]): fixed logging code
- Plugins.subproj/WebNetscapePluginPackage.m: (-[WebNetscapePluginPackage load]): log time spent loading a plug-in
- Plugins.subproj/WebPluginController.m: (-[WebPluginController startAllPlugins]): only log if there are plug-ins to start (-[WebPluginController stopAllPlugins]): only log if there are plug-ins to stop (-[WebPluginController destroyAllPlugins]): only log if there are plug-ins to destroy
- 1:46 PM Changeset in webkit [4101] by
-
- 7 edits in trunk/WebKit
WebKit:
3150693 - open new window on "same page" doesn't give me the same frame content
The core is a new support method that loads a WebView given a HistoryItem, which
thus restores all frames of that item, and optionally the form and scroll state.
Reviewed by NOBODY (OOPS!).
- History.subproj/WebHistoryItem.m: (-[WebHistoryItem copyWithZone:]): Copy the docState, scrollPosition, isTargetItem. No good reason to have left these out when I wrote this method.
- WebView.subproj/WebFramePrivate.h:
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _saveDocumentAndScrollState]): New method to run the frame tree and save all form/scroll state to the current item.
- WebView.subproj/WebView.m: _goToItem:withLoadType: moved to WebViewPrivate.m
- WebView.subproj/WebViewPrivate.h:
- WebView.subproj/WebViewPrivate.m: (-[WebView _goToItem:withLoadType:]): Moved from WebView.m, no change. (-[WebView _loadItem:showingInView:]): New method to load the view with the item.
WebBrowser:
3150693 - open new window on "same page" doesn't give me the same frame content
The basic idea is that we try to call the new _loadItem:showingInView:
method with a history item instead of just loading a URL.
Reviewed by NOBODY (OOPS!).
- BrowserDocument.h:
- BrowserDocument.m: (-[BrowserDocument goToHistoryItem:inView:]): Just pass through args to our current controller.
- BrowserWindowController.m: (-[BrowserWindowController windowDidLoad]): If we can get a history item use that to do the load. Else use a URL like before.
- 11:48 AM Changeset in webkit [4100] by
-
- 3 edits in trunk/WebCore
Fixed build failure.
Reviewed by darin.
- khtml/rendering/render_table.cpp: (RenderTable::cellAbove):
- 11:03 AM Changeset in webkit [4099] by
-
- 3 edits in trunk/WebKit
Fixed: 3162338 - Embedding SVG with <object type="image/svg+xml"> doesn't work
Reviewed by dave.
- WebCoreSupport.subproj/WebImageRendererFactory.m: (-[WebImageRendererFactory supportedMIMETypes]): code moved from +[WebImageView supportedImageMIMETypes]
- WebView.subproj/WebImageView.m: (+[WebImageView supportedImageMIMETypes]): return -[WebImageRendererFactory supportedMIMETypes]
- 11:01 AM Changeset in webkit [4098] by
-
- 6 edits in trunk/WebCore
Fixed: 3162338 - Embedding SVG with <object type="image/svg+xml"> doesn't work
Whenever we encounter an OBJECT tag with a type that starts with "image/" we create a render image object instead of a render part object. The behavior is nice because this allows the render object to resize to the size of the image if no WIDTH and HEIGHT are supplied. For example, the image at the bottom of this page:
The problem is that we do this for image types that we can't handle and when there are plug-ins that *can* handle the types.
Reviewed by dave.
- khtml/html/html_objectimpl.cpp: (HTMLObjectElementImpl::rendererIsNeeded): call canRenderImageType instead of serviceType.startsWith (HTMLObjectElementImpl::createRenderer): call canRenderImageType instead of serviceType.startsWith (HTMLObjectElementImpl::attach): call canRenderImageType instead of serviceType.startsWith
- kwq/KWQPixmap.h:
- kwq/KWQPixmap.mm: (canRenderImageType): new, checks if the MIME type is supported by the image factory
- kwq/WebCoreImageRendererFactory.h: added supportedMIMETypes to the WebCoreImageRendererFactory protocol
- 7:14 AM Changeset in webkit [4097]
-
- 2 copies2 deletes in tags/JavaScriptCore-73
This commit was manufactured by cvs2svn to create tag
'JavaScriptCore-73'.
- 7:14 AM Changeset in webkit [4096] by
-
- 1 edit in branches/JavaScriptCore-73-tarball-branch/JavaScriptCore/JavaScriptCore.pbproj/project.pbxproj
Update project file for tarball.
- 7:11 AM Changeset in webkit [4095]
-
- 4 copies2 deletes in tags/WebCore-73
This commit was manufactured by cvs2svn to create tag 'WebCore-73'.
- 7:11 AM Changeset in webkit [4094] by
-
- 1 edit in branches/WebCore-73-tarball-branch/WebCore/WebCore.pbproj/project.pbxproj
Update project for tarball release.
- 12:10 AM Changeset in webkit [4093] by
-
- 5 edits in trunk/WebCore
Reviewed by Trey.
- fixed 3165326 - javascript getSelection not implemented
- khtml/ecma/kjs_window.cpp: (Window::get): (WindowFunc::tryCall):
- khtml/ecma/kjs_window.h:
- khtml/ecma/kjs_window.lut.h:
Apr 13, 2003:
- 11:24 PM Changeset in webkit [4092] by
-
- 3 edits in trunk/WebKit
WebKit:
Reviewed by Trey.
- WebView.subproj/WebDefaultWindowOperationsDelegate.m: (-[WebDefaultWindowOperationsDelegate webView:setContentRect:]): Implemented in terms of webView:setFrame: to save clients work.
WebBrowser:
Reviewed by Trey.
- fixed 3210715 - Window cannot resize smaller than 392px wide - mac.com Bookmarks
- WindowController.m: (-[WindowController setFrameWithoutAutosaving:]): When setting size smaller than the current minimum, make it the new minimum. (-[WindowController webView:setContentRect:]): Removed.
- 10:18 PM Changeset in webkit [4091] by
-
- 6 edits in trunk/WebCore
3219720 - autofill mapping confused by tables, worse than MacIE (at store.apple.com)
If in scanning backwards we get to the end of a table row, we take a diversion
and scan the cell that is above the cell we started at.
Big improvement for store.apple.com.
Reviewed by Maciej
- khtml/rendering/render_table.cpp: (RenderTable::cellAbove): New support routine to find the cell above another
- khtml/rendering/render_table.h:
- kwq/KWQKHTMLPart.h:
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::searchForLabelsAboveCell): Get the cell above, scan its tree for matching text. (KWQKHTMLPart::searchForLabelsBeforeElement): Call above routine if we are working within a table
- 12:31 AM Changeset in webkit [4090]
-
- 4 copies in branches/Safari-73~1-branch
This commit was manufactured by cvs2svn to create branch
'Safari-73~1-branch'.
- 12:31 AM Changeset in webkit [4089]
-
- 4 copies in tags/Safari-73~1-anchor
This commit was manufactured by cvs2svn to create tag
'Safari-73~1-anchor'.
- 12:31 AM Changeset in webkit [4088]
-
- 4 copies in tags/Safari-73~1
This commit was manufactured by cvs2svn to create tag 'Safari-73~1'.
- 12:31 AM Changeset in webkit [4087] by
-
- 6 edits in trunk/JavaScriptCore
Reviewed by Don.
- JavaScriptCore part of fix for 3158769 - JavaScript triggers not as async as they used to be
Added a way to get the current interpreter lock count, so Sherlock
can unlock the interpreter inside JS method implementations that
spend a long time waiting for I/O, allowing more efficient
multi-threaded operation.
- kjs/internal.cpp: (lockInterpreter): (unlockInterpreter): (InterpreterImp::lock): (InterpreterImp::lockCount):
- kjs/internal.h:
- kjs/interpreter.cpp: (Interpreter::lockCount):
- kjs/interpreter.h:
Apr 12, 2003:
- 3:18 PM Changeset in webkit [4086] by
-
- 3 edits in trunk/WebCore
Fixed: 3188070 - 6I32 EMBED tag with no SRC attribute doesn't load the plugin
Reviewed by dave.
- khtml/khtml_part.cpp: (KHTMLPart::requestObject): allow URL-less parts
Apr 11, 2003:
- 6:17 PM Changeset in webkit [4085] by
-
- 3 edits in trunk/WebKit
WebKit:
Removed WebKitErrorResourceLoadInterruptedByPolicyChange error because it isn't used.
Reviewed by john.
- Misc.subproj/WebKitErrors.h:
- Misc.subproj/WebKitErrors.m: (registerErrors):
- WebKit.pbproj/project.pbxproj:
WebBrowser:
Fixed: 3109110 - clean up status bar after deciding to download
Fixed: 3090317 - Download progress feedback very bad after drag & drop .dmg URL to Alex
Reviewed by trey, john.
- BrowserWebErrorExtras.h:
- BrowserWebErrorExtras.m: (-[WebError isCancelledError]): new (-[WebError isPolicyChangeError]): new
- FrameProgressEntry.m: (-[FrameProgressEntry stage]): use new error categories
- LoadProgressMonitor.h:
- LoadProgressMonitor.m: (-[LoadProgressMonitor reset]): new, set main entry to nil if we haven't previously committed (-[LoadProgressMonitor committedFrame:]): set committed bool
- LocationChangeHandler.m: (-[LocationChangeHandler webView:locationChangeDone:forDataSource:]): call [LoadProgressMonitor reset] for downloads
- 5:34 PM Changeset in webkit [4084] by
-
- 11 edits in trunk
WebCore:
3148002 - printing shouldn't depend on the size of the window
The basic strategy is copied from khtmlview's print method: We reset the width
of the document to the paper width minus margins, and relayout before paginating
and printing.
Reviewed by Richard.
- khtml/rendering/render_root.cpp: (RenderRoot::layout): Always resize our view, even when doing a layout when in printing mode. It's necessary to change the view size because we rely on the AppKit built-in pagination, which operates using the view geometry.
- kwq/KWQKHTMLPart.h:
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::forceLayoutForPageWidth): New method to do a layout given a specific width.
- kwq/WebCoreBridge.h:
- kwq/WebCoreBridge.mm: (-[WebCoreBridge _setPrintingMode:]): Helper routine to take the RenderRoot in and out of printing mode. (-[WebCoreBridge forceLayout]): Turn printing mode on/off. (-[WebCoreBridge forceLayoutForPageWidth:]): Turn printing mode on/off. New glue routine to call part. (-[WebCoreBridge drawRect:withPainter:]): Turn printing mode on/off. (-[WebCoreBridge drawRect:]): Test paintDevice type instead of graphics context to determine printing mode. The latter is still on when we are wrapping up the job and want to be setting things back to normal. (-[WebCoreBridge adjustFrames:]): Ditto. (-[WebCoreBridge adjustPageHeightNew:top:bottom:limit:]): Turn printing mode on/off.
WebKit:
3148002 - printing shouldn't depend on the size of the window
The basic strategy is copied from khtmlview's print method: We reset the width
of the document to the paper width minus margins, and relayout before paginating
and printing.
Reviewed by Richard.
- WebKit.pbproj/project.pbxproj: Someone is using an old version...
- WebView.subproj/WebDynamicScrollBarsView.m: (-[WebDynamicScrollBarsView reflectScrolledClipView:]): Don't do the dynamic scrollbar update magic when printing.
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView layoutToPageWidth:]): New routine, basically the old layout method with a new parameter. If we're given an width, we call a different bridge method. (-[WebHTMLView layout]): Just call above method with width==0 (-[WebHTMLView drawRect:]): Protect setting/resetting of graphics context and additional clip with a DURING/HANDLER. I saw an assertion failure that could be explained by this, so this is mostly a beartrap for that problem. (-[WebHTMLView _setPrinting:pageWidth:]): Pass page width through to others. (-[WebHTMLView beginDocument]): If we are not in a frame set, do a layout using the page width. (-[WebHTMLView endDocument]): Pass 0 to new pageWidth: arg.
- 4:30 PM Changeset in webkit [4083] by
-
- 5 edits in trunk/WebCore
Reviewed by Richard.
- fixed 3225472 -- www.sina.com.cn uses A3A0 for full-width space; used to work in Simplified Chinese (Mac OS)
- kwq/KWQTextCodec.mm: (KWQTextDecoder::convertUsingTEC): Work around the problem in the Text Encoding Converter by changing all U+E5E5 to U+3000.
- kwq/KWQString.h: Added replace(QChar, QChar), since Qt has it and I need it.
- kwq/KWQString.mm: (QString::find): Fixed a bug where we'd yield a FATAL and return -1 on deployment if you searched for a non-ASCII character in a string that had ASCII valid and not Unicode valid. (QString::replace): Added replace(QChar, QChar).
- 2:38 PM Changeset in webkit [4082] by
-
- 2 edits in trunk/WebKit
3220349 - assertion failure in [WebFrame _recursiveGoToItem:...] hitting Back while loading movie
The problem was that when we go back we call stopLoading on the top frame, but
that has a bogus optimization to not do any work if state=Completed. That is a
bogus test if a subframe is doing a load. The fix is to just always tell the
dataSources to stopLoading. They already bail quickly when they are not loading,
so there is no significant additional cost.
Reviewed by Richard.
- WebView.subproj/WebFrame.m: (-[WebFrame stopLoading]):
- 1:23 PM Changeset in webkit [4081] by
-
- 6 edits in trunk
Safari-74u.
also "1.0" instead of 0.9 AND instead of "1.0 Beta[ 2]"
cheers
- 10:07 AM Changeset in webkit [4080]
-
- 3 copies2 deletes in branches/WebCore-73-tarball-branch
This commit was manufactured by cvs2svn to create branch
'WebCore-73-tarball-branch'.
- 10:07 AM Changeset in webkit [4079]
-
- 3 copies2 deletes in tags/WebCore-73-tarball-anchor
This commit was manufactured by cvs2svn to create tag
'WebCore-73-tarball-anchor'.
- 10:07 AM Changeset in webkit [4078]
-
- 3 copies in branches/Safari-74-branch
This commit was manufactured by cvs2svn to create branch
'Safari-74-branch'.
- 10:07 AM Changeset in webkit [4077]
-
- 3 copies in tags/Safari-74-anchor
This commit was manufactured by cvs2svn to create tag
'Safari-74-anchor'.
- 10:07 AM Changeset in webkit [4076]
-
- 3 copies in tags/Safari-73
This commit was manufactured by cvs2svn to create tag 'Safari-73'.
- 10:07 AM Changeset in webkit [4075]
-
- 1 copy2 deletes in branches/JavaScriptCore-73-tarball-branch
This commit was manufactured by cvs2svn to create branch
'JavaScriptCore-73-tarball-branch'.
- 10:07 AM Changeset in webkit [4074]
-
- 1 copy2 deletes in tags/JavaScriptCore-73-tarball-anchor
This commit was manufactured by cvs2svn to create tag
'JavaScriptCore-73-tarball-anchor'.
- 10:07 AM Changeset in webkit [4073] by
-
- 8 edits in trunk
73 stamp