- 03 Dec, 2002 8 commits
-
-
mjs authored
- fixed Deployment build. * kjs/dtoa.cpp: Work around warnings. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2913 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
because floating point numbers format wide Reviewed by: David Hyatt * kjs/dtoa.cpp: Imported float <--> string conversion routines from David M. Gay. I changed this to fix warnings and avoid colliding with names of standard library functions. * kjs/dtoa.h: Added a header I made up for dtoa.cpp * kjs/ustring.cpp: (UString::from): Use new double to string routine (kjs_strtod). (UString::toDouble): Use new string to double routine (kjs_dtoa). * JavaScriptCore.pbproj/project.pbxproj: Added new files git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2912 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
the same form demotion trick to <tr> that I did already for <tbody> and <table>. r=gramps * khtml/html/dtd.cpp: (DOM::checkChild): * khtml/html/html_tableimpl.cpp: (HTMLTableRowElementImpl::addChild): * khtml/html/html_tableimpl.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cblu authored
3112477 - REGRESSION: dropping image within window loads image in current window Fix: Unregister the parent webview for dragging when the drag starts, reregister after the drag ends. 3116423 - Dragged images sometimes have the wrong promised-file file type Fix: Make the - [NSView_web_dragPromisedImage...] method take a file type rather than deriving the file type from the URL 3115768 - REGRESSION: contextual menu item "copy url to clipboard" doesn't work Fix: In [NSPastboard _web_writeURL:andTitle:withOwner:] adding pboard types doesn't work for the general pasteboard, have to redeclare. 3116594 - Image on the drag pasteboard shouldn't have applied transparency and scaling Fix: In - [NSView_web_dragPromisedImage...] put the original image on the pboard Reviewed by John. * Misc.subproj/WebNSPasteboardExtras.m: (-[NSPasteboard _web_writeURL:andTitle:withOwner:]): don't use addTypes as it doesn't work as I expected * Misc.subproj/WebNSViewExtras.h: * Misc.subproj/WebNSViewExtras.m: (-[NSView _web_dragPromisedImage:origin:URL:fileType:title:event:]): put the original image on the pboard, not the drag image * WebView.subproj/WebHTMLView.m: (-[WebHTMLView dragImage:at:offset:event:pasteboard:source:slideBack:]): (-[WebHTMLView mouseDragged:]): call _web_dragPromisedImage (-[WebHTMLView draggedImage:endedAt:operation:]): call -[WebView _reregisterDraggedTypes] * WebView.subproj/WebImageView.m: (-[WebImageView mouseDragged:]): call _web_dragPromisedImage (-[WebImageView draggedImage:endedAt:operation:]): call -[WebView _reregisterDraggedTypes] * WebView.subproj/WebView.m: (-[WebView initWithFrame:]): call _reregisterDraggedTypes (-[WebView draggingEntered:]): simplified, don't need to check drag source * WebView.subproj/WebViewPrivate.h: * WebView.subproj/WebViewPrivate.m: (-[WebView _reregisterDraggedTypes]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
the wacky feedback we give now (yes, it matches MacIE and Gecko). Gotta love this malformed page. <a><h4>...</h4></a> r=mjs * khtml/rendering/render_object.cpp: (RenderObject::nodeAtPoint): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
(probably fixed a ton of other bugs too, since this always leaks) Reviewed by Chris. * WebView.subproj/WebHTMLViewPrivate.m: (-[WebHTMLView _elementAtPoint:]): Added a missing autorelease. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
Reviewed by Maciej. * English.lproj/StringsNotToBeLocalized.txt: Updated for recent changes. WebKit: Reviewed by Maciej. * WebView.subproj/WebView.m: Fixed a pair of strings that conflict. * English.lproj/Localizable.strings: Regenerated. * English.lproj/StringsNotToBeLocalized.txt: Updated for recent changes. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
caused by malformed html... <table><br>...) r=mjs * khtml/css/html4.css: * khtml/html/dtd.cpp: (DOM::checkChild): * khtml/html/html_elementimpl.cpp: (HTMLElementImpl::isInline): * khtml/html/htmlparser.cpp: (KHTMLParser::reset): (KHTMLParser::insertNode): * khtml/html/htmlparser.h: * khtml/misc/htmltags.c: (hash_tag): (findTag): * khtml/misc/htmltags.h: * khtml/misc/htmltags.in: * khtml/rendering/render_flow.cpp: (RenderFlow::layoutBlockChildren): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 02 Dec, 2002 4 commits
-
-
hyatt authored
This patch adds support for img.x and img.y (a Mozilla extension from NS4 days), which is used by the site to position the menus. r=kocienda on the patch. * khtml/dom/html_image.cpp: (HTMLImageElement::x): (HTMLImageElement::y): * khtml/dom/html_image.h: * khtml/ecma/kjs_html.cpp: (KJS::HTMLElement::getValueProperty): * khtml/ecma/kjs_html.h: * khtml/ecma/kjs_html.lut.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
Although they may be correct in a strict mode, they don't work with the real-world Web. For now, I'm just backing out the code. The CSS WG hasn't decided how this should work yet anyway, so I'll just let the quirk behavior be our behavior in both modes. This fixes aintitcool.com. * khtml/rendering/render_flow.cpp: (RenderFlow::layoutBlockChildren): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
trey authored
Refined bookmark notifications to be more detailed. We now have added, removed, willChange and didChange. * Bookmarks.subproj/WebBookmarkGroup.h: New API. * Bookmarks.subproj/WebBookmarkGroup.m: (-[WebBookmarkGroup _sendNotification:forBookmark:children:]): (-[WebBookmarkGroup _setTopBookmark:]): (-[WebBookmarkGroup _bookmarkWillChange:]): (-[WebBookmarkGroup _bookmarkDidChange:]): (-[WebBookmarkGroup _bookmarkChildren:wereAddedToParent:]): (-[WebBookmarkGroup _bookmarkChildren:wereRemovedToParent:]): All just small pieces of flow control for posting the notes. * Bookmarks.subproj/WebBookmarkGroupPrivate.h: Internal methods for posting the notes. * Bookmarks.subproj/WebBookmarkLeaf.m: (-[WebBookmarkLeaf setTitle:]): Post da note (-[WebBookmarkLeaf setURLString:]): Post da note (-[WebBookmarkLeaf description]): Added for debugging. * Bookmarks.subproj/WebBookmarkList.m: (-[WebBookmarkList setTitle:]): Post da note (-[WebBookmarkList removeChild:]): Post da note (-[WebBookmarkList insertChild:atIndex:]): Post da note * Bookmarks.subproj/WebBookmarkProxy.m: (-[WebBookmarkProxy setTitle:]): Post da note * English.lproj/StringsNotToBeLocalized.txt: New strings. * WebKit.exp: New strings. WebBrowser: The auto-complete DB properly tracks HistoryItems and Bookmarks coming and going. We have only one DB entry for a given URL, with a ref count. HistoryItems replace Bookmarks in the DB, so we have a well-defined place to keep stats like visitCount or recent times accessed. * BookmarksController.m: (-[BookmarksController awakeFromNib]): Adopt new API for bookmark notifications. * BookmarksViewController.m: Adopt new API for bookmark notifications. * CompletionController.m: (+[CompletionController _tree_create]): Set refCount of root node. (_keyStringFromItem): Nuke redundant code. (_keyStringFromNode): Deleted nodes must retain their key string to function properly in the DB. (_findPotentialNode): Test for deleted nodes using new bit. (+[CompletionController _tree_addItem:]): New rules for handing a collision on add. Bump ref count, replace Bookmarks with HistoryItems. (+[CompletionController _tree_deleteItem:]): Obey refcounting. (+[CompletionController _tree_nextItemUsingCursor:]): Test for deleted nodes using new bit. (DumpAutoCompleteTree): Debugging nit. (+[CompletionController _removeBookmarkTree:]): New utility routine. (+[CompletionController _loadDB]): Debugging nits. (-[CompletionController _executeQuery]): Bandaid fix for user typing "www.". (+[CompletionController _registerForNotifications]): Register for bookmark notes. (+[CompletionController _bookmarksAdded:]): Receive bookmark note. (+[CompletionController _bookmarksRemoved:]): Receive bookmark note. (+[CompletionController _bookmarkWillChange:]): Receive bookmark note. (+[CompletionController _bookmarkDidChange:]): Receive bookmark note. (-[CompletionController _positionWindow]): Small code rearranging. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
- added original URL field to action dictionary so that policy delegates can avoid prompting over and over on redirects. * WebKit.exp: * WebView.subproj/WebControllerPolicyDelegate.h: * WebView.subproj/WebControllerPolicyDelegate.m: * WebView.subproj/WebDataSource.m: (-[WebDataSource initWithRequest:]): * WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _startLoading:]): * WebView.subproj/WebFrame.m: (-[WebFrame loadRequest:]): * WebView.subproj/WebFramePrivate.h: * WebView.subproj/WebFramePrivate.m: (-[WebFrame _actionInformationForNavigationType:event:originalURL:]): (-[WebFrame _checkNavigationPolicyForRequest:dataSource:andCall:withSelector:]): (-[WebFrame _addExtraFieldsToRequest:]): (-[WebFrame _loadURL:loadType:triggeringEvent:isFormSubmission:]): (-[WebFrame _postWithURL:data:contentType:triggeringEvent:]): WebBrowser: - fixed 3109894 - Insecure form warning prompts twice * BrowserWebController.m: (-[BrowserWebController decideNavigationPolicyForAction:andRequest:inFrame:decisionListener:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 01 Dec, 2002 1 commit
-
-
hyatt authored
popularity-aware LRU (LRU-SP). With the improved cache, the size restriction on images can be relaxed back to 40K (from 16K) while retaining the same score on cvs-base. This should result in better real-world performance. * khtml/misc/loader.cpp: (CachedObject::ref): (CachedObject::setSize): (m_tail): (LRUList::~LRUList): (Cache::flush): (FastLog2): (Cache::getLRUListFor): (Cache::removeFromLRUList): (Cache::insertInLRUList): (Cache::adjustSize): * khtml/misc/loader.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 29 Nov, 2002 1 commit
-
-
gramps authored
Finally tweak headline font sizes and margins to match Gecko and CSS standard: - increase H1 font-size from 1.7em to 2em - increase H2 font-size from 1.4em to 1.5em - make H2 top and bottom margin match (bottom was strangely .87em) - increase H4 margin from 1.0em to 1.33em git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2900 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 28 Nov, 2002 1 commit
-
-
darin authored
(-[WebDownloadHandler createFileIfNecessary]): Add a FIXME. (-[WebDownloadHandler writeDataForkData:resourceForkData:]): Notify that the file system has changed so the Finder can respond to the size change. (-[WebDownloadHandler finishedLoading]): Notify that the file system has changed now that the download has completed and the files are closed (may be redundant now that we have the above, but will do no harm). * Plugins.subproj/WebBaseNetscapePluginView.m: (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]): Use _web_isCaseInsensitiveEqualToString instead of lowercaseString. * Misc.subproj/WebNSViewExtras.m: Tweak formatting. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 Nov, 2002 8 commits
-
-
hyatt authored
and window.removeEventListener. * khtml/ecma/kjs_window.cpp: (Window::get): (WindowFunc::tryCall): * khtml/ecma/kjs_window.h: * khtml/ecma/kjs_window.lut.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
update the current back/forward item, rather than creating a new one. * WebView.subproj/WebFramePrivate.h: * WebView.subproj/WebFramePrivate.m: (-[WebFrame _addBackForwardItemClippedAtTarget:]): (-[WebFrame _createOrUpdateItem]): (-[WebFrame _createItemTreeWithTargetFrame:clippedAtTarget:]): (-[WebFrame _transitionToCommitted:]): (-[WebFrame _clientRedirectedTo:delay:fireDate:]): (-[WebFrame _clientRedirectCancelled]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
there is no change. This avoids superfluous style updates and results in a 20% improvment on the JavaScript iBench. * khtml/ecma/kjs_html.cpp: (KJS::HTMLDocument::putValue): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2896 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
has a tiny fractional value). 3112745, 3112742 * WebCoreSupport.subproj/WebTextRenderer.m: (-[WebTextRenderer initWithFont:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sullivan authored
removed puts("COLLECT") leftover debugging spam that was buggin' gramps git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
rather than <br clear="all">. Matches behavior in other browsers. * khtml/html/html_inlineimpl.cpp: (HTMLBRElementImpl::parseAttribute): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
First stop absolute positioned overflow hidden elements from growing to accommodate their overflow. (Actually absolute positioned elements should never grow to do this, but fixing it for non-overflow hidden elements is hard, so later.) Second fix the render layer code to not allow background/borders of the object with overflow: hidden from being clipped. This involves an extra paint step where the object paints its background and borders prior to establishing the clip rect for the children. (This will also be necessary for overflow:auto and overflow:scroll). * ChangeLog: * khtml/rendering/render_box.cpp: (RenderBox::getClipRect): (RenderBox::calcAbsoluteVertical): * khtml/rendering/render_layer.cpp: (RenderLayer::paint): * khtml/rendering/render_object.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2892 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
* khtml/css/html4.css: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 26 Nov, 2002 16 commits
-
-
hyatt authored
that is in between blocks inside inilnes. * khtml/xml/dom_textimpl.cpp: (TextImpl::attach): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
ever. * khtml/rendering/render_flow.cpp: (RenderFlow::layoutBlockChildren): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
my support of blocks inside inlines. A block could be wrapped by an inline, e.g., <font><p>foo</p></font>, and in this case, you do not apply the collapsing margin quirk. The margin stays. * khtml/rendering/render_flow.cpp: (RenderFlow::layoutBlockChildren): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cblu authored
Fixed: 3090834 - Launch WMP (Window Media Player) when encountering WMP content Added contentURL to WebPluginError. * Plugins.subproj/WebNetscapePluginDocumentView.m: (-[WebNetscapePluginDocumentView setDataSource:]): * Plugins.subproj/WebNetscapePluginPackage.m: (-[WebNetscapePluginPackage initWithPath:]): * Plugins.subproj/WebNullPluginView.m: (-[WebNullPluginView viewDidMoveToWindow]): * Plugins.subproj/WebPluginError.h: * Plugins.subproj/WebPluginError.m: (-[WebPluginErrorPrivate dealloc]): (-[WebPluginError dealloc]): * WebCoreSupport.subproj/WebBridge.m: (-[WebBridge viewForPluginWithURL:attributes:baseURL:MIMEType:]): (-[WebBridge viewForJavaAppletWithFrame:attributes:baseURL:]): WebBrowser: Fixed: 3090834 - Launch WMP (Window Media Player) when encountering WMP content * BrowserNSWorkspaceExtras.h: * BrowserNSWorkspaceExtras.m: (-[NSWorkspace pathForApplicationOfFileAtPath:]): fixed leak (-[NSWorkspace pathForApplicationForMIMEType:]): added * English.lproj/Localizable.strings: * LoadProgressMonitor.m: (-[LoadProgressMonitor launchApplicationSheetEnded:returnCode:contextInfo:]): launch WMP (-[LoadProgressMonitor pluginErrorSheetEnded:returnCode:contextInfo:]): renamed (-[LoadProgressMonitor pluginFailedWithError:dataSource:]): check for WMP content git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
fonts stays cheap. Re-enabling it. Patch the render_arena code with some debugging info to help detect when memory gets trashed. Fix the background painting code to deal with negative x and y bakcground positions. Fixes the brain on brainjar.com. * khtml/css/cssstyleselector.cpp: * khtml/rendering/render_arena.cpp: (RenderArena::free): * khtml/rendering/render_box.cpp: (RenderBox::paintBackground): * kwq/KWQFont.h: * kwq/KWQFont.mm: (QFontFamily::QFontFamily): (QFontFamily::operator=): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sheridan authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
again instead of on the stack. This fixes the following four regressions but sadly it causes a 6% performance hit. It's probably possibly to reduce the hit a bit by being smarter about inlining and the way the marking list variant is implemented, but I'll look into that later. - fixed 3111500 - REGRESSION: crash in "KJS::ScopeChain::mark()" on www.posci.com - fixed 3111145 - REGRESSION: reproducible crash in KJS hashtable lookup at time.com - fixed 3110897 - REGRESSION: javascript crasher on http://bmwgallery.tripod.com/ - fixed 3109987 - REGRESSION: Reproducible crash in KJS ObjectImp at live365.com Also: - improved DEBUG_COLLECTOR mode a bit by never giving memory back to the system. * kjs/collector.cpp: * kjs/context.h: * kjs/function.cpp: (ActivationImp::ActivationImp): (ActivationImp::mark): (ActivationImp::createArgumentsObject): * kjs/function.h: * kjs/internal.cpp: (ContextImp::ContextImp): (ContextImp::mark): * kjs/list.cpp: * kjs/list.h: * kjs/value.cpp: (Value::Value): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
(PropertyMap::save): Look at the attributes the same way in the single hash entry case as in the actual hash table case. Change the rule for which attributes to save to "attributes that don't have the ReadOnly, DontEnum, or Function bit set". Also fix bug where saving an empty property map would leave the count set to the old value. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
Remove debugging code. Could be cause of performance regresssion. * kjs/nodes.cpp: (FunctionCallNode::evaluate): Restire attributes correctly. * kjs/property_map.cpp: WebKit Only cache page if the load has completed. * WebView.subproj/WebFramePrivate.m: (-[WebFrame _setState:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
The support is still there in QFont. I've just stopped the style selector from walking the entire value list (it will only put the first family into the font). The original change caused a 5% perf regression. I'm going to see what kinds of tricks I can pull to get some of this back before re-enabling the feature. * khtml/css/cssstyleselector.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cblu authored
* WebView.subproj/WebControllerPrivate.m: (+[WebController _supportedImageMIMETypes]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cblu authored
Added MIME types for images that NSImage can handle. * types.plist: WebKit: Fixed: 3112003 - Show standalone tiffs using AppKit not QT plug-in We now dynamically check NSImage for supported image types when registering WebImageView's and WebImageRepresentation's supported MIME types. * WebView.subproj/WebControllerPrivate.h: * WebView.subproj/WebControllerPrivate.m: (+[WebController _supportedImageMIMETypes]): convert NSImage types to mime types * WebView.subproj/WebDataSourcePrivate.m: (+[WebDataSource _repTypes]): use _supportedImageMIMETypes to register mime types of WebImageRepresentation * WebView.subproj/WebViewPrivate.m: (+[WebView _viewTypes]): use _supportedImageMIMETypes to register mime types of WebImageView git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
when an intervening block box gets removed. * khtml/rendering/render_flow.cpp: (RenderFlow::removeChild): * khtml/rendering/render_flow.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cblu authored
For "Javascript:" URLs. * Plugins.subproj/WebBaseNetscapePluginView.m: (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]): lowercase the scheme git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
WebBrowser Added some logging to indicate when page cache is turned on. * Debug/DebugUtilities.m: (-[BrowserDocument toggleBackForwardEnabled:]): WebKit More work on back/forward cache. It's ready for more general testing. Although, to be safe I've left it disabled by default for tomorrow's release. It will log when a page is save and restored from the page cache. * WebCoreSupport.subproj/WebBridge.m: (-[WebBridge saveDocumentToPageCache:]): * WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _startLoading:]): (-[WebDataSource _commitIfReady:]): (-[WebDataSource _loadIcon]): * WebView.subproj/WebFramePrivate.h: * WebView.subproj/WebFramePrivate.m: (-[WebFrame _transitionToCommitted:]): (-[WebFrame _setState:]): (-[WebFrame _loadItem:fromItem:withLoadType:]): (-[WebFrame _continueLoadRequestAfterNavigationPolicy:request:]): (-[WebFrame _setProvisionalDataSource:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rjw authored
Use delete[] (not delete) operator to delete array. * kjs/property_map.cpp: WebBrowser Use cleaned up API to enable/disable page cache. * Debug/DebugUtilities.m: (-[BrowserDocument toggleBackForwardEnabled:]): WebCore Cleanup up leaking objects in page cache. * kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::openURLFromPageCache): * kwq/WebCoreBridge.mm: (-[KWQPageState initWithDocument:DOM::URL:windowProperties:KJS::locationProperties:KJS::]): (-[KWQPageState dealloc]): WebKit Cleanup leaking objects in page cache. Cleaned up API a bit. * History.subproj/WebBackForwardList.h: * History.subproj/WebBackForwardList.m: (-[WebBackForwardList dealloc]): (+[WebBackForwardList setUsesPageCache:]): (+[WebBackForwardList usesPageCache]): (+[WebBackForwardList setPageCacheSize:]): (+[WebBackForwardList pageCacheSize]): * History.subproj/WebHistoryItem.h: * History.subproj/WebHistoryItem.m: (-[WebHistoryItem setHasPageCache:]): * WebCoreSupport.subproj/WebBridge.m: (-[WebBridge saveDocumentToPageCache:]): * WebKit.exp: * WebView.subproj/WebFramePrivate.m: (-[WebFrame _canCachePage]): (-[WebFrame _purgePageCache]): (-[WebFrame _setState:]): (-[WebFrame _continueLoadRequestAfterNavigationPolicy:request:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 25 Nov, 2002 1 commit
-
-
rjw authored
* WebView.subproj/WebFramePrivate.m: (-[WebFrame _setState:]): Added check for non-nil doc. * kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::setView): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-