Timeline
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
Apr 10, 2003:
- 7:49 PM Changeset in webkit [4072] by
-
- 2 edits in trunk/WebKit
Fixed 3219525
Our work-around for the CG pattern cache bogosity was always bypassed,
consequently we'd unnecessarily burn lots of memory filling that cache.
Reviewed by mjs & gramps.
- WebCoreSupport.subproj/WebImageRenderer.m: (-[WebImageRenderer drawClippedToValidInRect:fromRect:]): (-[WebImageRenderer tileInRect:fromPoint:]):
- 7:22 PM Changeset in webkit [4071] by
-
- 2 edits in trunk/WebKit
Reviewed by Maciej.
- fixed 3225042 - MallocDebug shows "access after deallocated" problem in WebFrameView
- WebView.subproj/WebFrameView.m: (-[WebFrameView dealloc]): Nil out _private. (-[WebFrameView nextKeyView]): Check _private for nil. (-[WebFrameView previousKeyView]): Check _private for nil.
- 7:16 PM Changeset in webkit [4070] by
-
- 3 edits in trunk/WebKit
Fix performance regression with iBench (post 71). The iBench cheat was being defeated.
Ensure that the layout timer is always invalidated when a frame completes
or is cancelled.
Reviewed by mjs & gramps.
- WebView.subproj/WebFrame.m: (-[WebFrame stopLoading]):
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _setState:]):
- 7:01 PM Changeset in webkit [4069] by
-
- 7 edits in trunk
WebCore:
3224973 - Safari sometimes stores data for AUTOCOMPLETE=OFF fields and password fields
New WC support function.
Reviewed by Darin.
- kwq/WebCoreBridge.h:
- kwq/WebCoreBridge.mm: (-[WebCoreBridge elementWithName:inForm:]): Run through the form's elements looking for a matching name.
WebKit:
3224973 - Safari sometimes stores data for AUTOCOMPLETE=OFF fields and password fields
Just glue for calling a new WC function.
Reviewed by Darin.
- WebView.subproj/WebHTMLRepresentation.h:
- WebView.subproj/WebHTMLRepresentation.m: (-[WebHTMLRepresentation elementWithName:inForm:]):
WebBrowser:
3224973 - Safari sometimes stores data for AUTOCOMPLETE=OFF fields and password fields
User new WC SPI to lookup the element for each field at submit time,
and test them for AUTOCOMPLETE=OFF or if they are password fields.
This is in the "saving data for previous forms case". Saving creds in
the keychain is done elsewhere.
Reviewed by Darin.
- FormCompletionController.m: (+[FormCompletionController _frame:willSubmitRegularForm:withValues:]):
- 3:45 PM Changeset in webkit [4068]
-
- 3 copies in tags/Safari-72
This commit was manufactured by cvs2svn to create tag 'Safari-72'.
- 3:45 PM Changeset in webkit [4067] by
-
- 8 edits in trunk
Safari-72 versionstamp
- 2:41 PM Changeset in webkit [4066] by
-
- 2 edits in trunk/WebKit
WebKit:
Reviewed by Chris.
- fixed 3224690 - REGRESSION: Download related errors aren't preserved across launches
- WebKit.pbproj/project.pbxproj: Install WebKitErrorsPrivate.h as SPI.
WebBrowser:
Reviewed by Chris.
- fixed 3224690 - REGRESSION: Download related errors aren't preserved across launches
- BrowserWebController.m: (-[BrowserWebController openURLExternallyWithRequest:inFrame:]): Use _webKitErrorWithCode:forURL: SPI.
- DownloadProgressEntry.m: -([DownloadProgressEntry initWithDictionary:]): Use _webKitErrorWithCode:forURL: SPI when appropriate. Also, avoid treating error code of 0 as "no error" if we have a non-empty non-nil domain.
- 1:57 PM Changeset in webkit [4065] by
-
- 4 edits in trunk/WebKit
Reviewed by Trey.
- fixed 3224622 -- REGRESSION: in an empty window, repeated tabs don't cycle back to location field
Added logic to WebFrameView's next/previous that matches the logic in WebHTMLView.
Looking for a better solution some day to the whole nextKeyView thing.
- WebView.subproj/WebFrameView.m: (-[WebFrameView nextKeyView]): If being called from nextValidKeyView, return the nextKeyView of the WebView rather than of self. (-[WebFrameView previousKeyView]): Ditto. (-[WebFrameView nextValidKeyView]): Set the inNextValidKeyView flag. (-[WebFrameView previousValidKeyView]): Ditto.
- WebView.subproj/WebFrameViewPrivate.h: Add the inNextValidKeyView flag.
- 12:23 PM Changeset in webkit [4064] by
-
- 8 edits in trunk/WebKit
Reviewed by Darin.
Another launch time speedup - don't load the WebKit WebError
strings until we actually make a WebKit error. This prevents the
WebKit localized strings file from being loaded during normal startup.
- Downloads.subproj/WebDownload.m: (+[WebDownloadPrivate initialize]): Don't register WebKit errors. (-[WebDownload _errorWithCode:]): Use _webKitErrorWithCode:failingURL:
- Misc.subproj/WebKitErrors.m: (+[WebError _webKitErrorWithCode:failingURL:]): Wrapper that registers the WebKit error codes first.
- Misc.subproj/WebKitErrorsPrivate.h:
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _handleUnimplementablePolicyWithErrorCode:forURL:]): Use _webKitErrorWithCode:failingURL: (-[WebFrame _loadItem:withLoadType:]): Use _webKitErrorWithCode:failingURL:
- WebView.subproj/WebFrameView.m:
- WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient interruptForPolicyChangeError]): Use _webKitErrorWithCode:failingURL:
- 11:48 AM Changeset in webkit [4063] by
-
- 3 edits in trunk/WebCore
Reviewed by Darin and Ken.
- fixed 3223127 - REGRESSION: windows for PopCap games show scroll bars now, did not in Safari-60
- khtml/ecma/kjs_window.cpp: (WindowFunc::tryCall): Re-add scrollbars property, but change it to default to on even when other properties are specified (unlike other window properties). This seems to match what Mac IE, Win IE and Windows Mozilla do.
- 11:06 AM Changeset in webkit [4062] by
-
- 2 edits in trunk/WebKit
Fixed: 3222896 - REGRESSION: sound plays after closing a window with a RealPlayer plug-in in it
Reviewed by darin.
- Plugins.subproj/WebBaseNetscapePluginView.m: (-[WebBaseNetscapePluginView viewDidMoveToHostWindow]): We were starting plug-in on window close because that's when the host window is set to nil. Just check if we now have a host window before we start.
- 9:56 AM Changeset in webkit [4061] by
-
- 4 edits in trunk/WebCore
Reviewed by Trey.
- speed up startup by not loading the hand cursor until it's used
- khtml/khtml_part.cpp: (KHTMLPart::urlCursor): Use the hand cursor.
- khtml/khtmlpart_p.h: Don't store the hand cursor in a per-part global.
- 9:54 AM Changeset in webkit [4060] by
-
- 4 edits in trunk/WebKit
Reviewed by Trey.
- speed up startup by not calling [NSImage imageFileTypes] until we need to
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge frameRequiredForMIMEType:]): Call _viewClassForMIMEType instead of _viewTypes, since _viewClassForMIMEType is now optimized by not loading the image types unless needed.
- WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _representationClass]): Call _representationClassForMIMEType instead of _repTypes, since _representationClassForMIMEType is now optimized by not loading the image types unless needed. (+[WebDataSource _repTypesAllowImageTypeOmission:]): Added. Moved the guts of _repTypes in here. If you pass YES, doesn't bother adding the image types yet. (+[WebDataSource _repTypes]): Now calls _repTypesAllowImageTypeOmission:NO. (+[WebDataSource _representationClassForMIMEType:]): First try the dictionary without requiring the image types, then only in the case where we get nil, try with the image types.
- WebView.subproj/WebFrameViewPrivate.m: (-[WebFrameView _makeDocumentViewForDataSource:]): Call _viewClassForMIMEType instead of _viewTypes, since _viewClassForMIMEType is now optimized by not loading the image types unless needed. (+[WebFrameView _viewTypesAllowImageTypeOmission:]): Added. Moved the guts of _viewTypes in here. If you pass YES, doesn't bother adding the image types yet. (+[WebFrameView _viewTypes]): Now calls _viewTypesAllowImageTypeOmission:NO. (+[WebFrameView _viewClassForMIMEType:]): First try the dictionary without requiring the image types, then only in the case where we get nil, try with the image types.
- 9:52 AM Changeset in webkit [4059] by
-
- 5 edits1 add in trunk/WebCore
Reviewed by Maciej.
- fixed 3224077 -- REGRESSION: tables on MacNN forums messed up because we reject %% due to style parser
- khtml/css/tokenizer.flex: Add a + sign after the % in the percentage rule so we allow any number of extra percent signs. This is a temporary hack.
- khtml/css/Makefile.am: Add make rules to build tokenizer.cpp so we don't have to do it by hand.
- khtml/css/maketokenizer: Added. Script used by the make rules.
- khtml/css/tokenizer.cpp: Regenerated. The only substantive change is in the state tables.
- 12:14 AM Changeset in webkit [4058] by
-
- 5 edits in trunk/WebKit
3223413 - crash in [CompletionController controlTextDidChange] at travelocity.com
This was a great one to get steps for repro - it has shown up at least twice before.
The problem is that when there is a focused TextField within a frame, the proper
FormDelegate messages were not being sent on refresh or b/f. The cause was that
the FirstResponder would be reset in the middle of detaching the frame, at which point
our object graph was already half taken apart. Fix is to detect that case before
doing the detach work, and endEditing explicitly.
Reviewed by Darin.
- ChangeLog:
- Misc.subproj/WebKitLogging.h:
- Misc.subproj/WebKitLogging.m: New FormDelegate logging category.
- WebCoreSupport.subproj/WebBridge.m: All changes in here are just calling LOG for the new category. (-[WebBridge controlTextDidBeginEditing:]): (-[WebBridge controlTextDidEndEditing:]): (-[WebBridge controlTextDidChange:]): (-[WebBridge control:textShouldBeginEditing:]): (-[WebBridge control:textShouldEndEditing:]): (-[WebBridge control:didFailToFormatString:errorDescription:]): (-[WebBridge control:didFailToValidatePartialString:errorDescription:]): (-[WebBridge control:isValidObject:]): (-[WebBridge control:textView:doCommandBySelector:]):
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _setDataSource:]): The fix, as described above.