⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Timeline



Sep 26, 2002:

8:25 PM Changeset in webkit [2181] by darin
  • 4 edits in trunk/WebCore
  • fixed 2953256 -- JavaScript window.moveTo() and window.moveBy() methods do not work
  • kwq/KWQWindowWidget.mm: (KWQWindowWidget::frameGeometry): Fix calculation. It was returning the bottom left coordinate instead of the top left.
8:06 PM Changeset in webkit [2180] by darin
  • 12 edits in trunk/WebCore
  • fixed 3060459 -- REGRESSION: crash leaving page that sets cookie in JavaScript unload handler
  • khtml/khtml_part.cpp: (KHTMLPart::begin): Call updatePolicyBaseURL to set the "policy base URL" on the documents so the cookie can be based on the URL of the main document.
  • khtml/dom/html_document.h: Add setPolicyBaseURL.
  • khtml/dom/html_document.cpp: (HTMLDocument::setPolicyBaseURL): Call the impl.
  • khtml/html/html_documentimpl.h: Add policyBaseURL, setPolicyBaseURL.
  • khtml/html/html_documentimpl.cpp: (HTMLDocumentImpl::setCookie): Pass the base URL that's stored here instead of getting at the part through the view, since the view will be 0 during the unload event.
  • kwq/KWQKHTMLPartImpl.h: Add updatePolicyBaseURL and setPolicyBaseURL.
  • kwq/KWQKHTMLPartImpl.mm: (KWQKHTMLPartImpl::updatePolicyBaseURL): Set the base URL based on the URL if this is the topmost part, based on the parent's policy base URL if this is not the topmost part. (KWQKHTMLPartImpl::setPolicyBaseURL): Change the policy base URL for this part and all the subparts.
5:45 PM Changeset in webkit [2179] by darin
  • 18 edits in trunk

Tools:

  • HotSpotFinder/HotSpotFinder.pbproj/project.pbxproj: File encodings.

WebCore:

  • kwq/WebCoreBridge.h: Use NSString for encoding name, not CFStringEncoding.
  • kwq/WebCoreBridge.mm: (-[WebCoreBridge addData:withOverrideEncoding:]): Ditto.

WebKit:

  • WebCoreSupport.subproj/WebBridge.m: (-[WebBridge receivedData:withDataSource:]): Use NSString for encoding.
  • WebView.subproj/WebController.h: Update names to use separate boolean for user agent and strings for text encodings instead of CFStringEncoding.
  • WebView.subproj/WebController.m: (-[WebController setCustomUserAgent:]): Name change. (-[WebController resetUserAgent]): Added. (-[WebController hasCustomUserAgent]): Added. (-[WebController customUserAgent]): Name change. (-[WebController setCustomTextEncodingName:]): Take NSString. (-[WebController resetTextEncoding]): Update for NSString. (-[WebController _mainFrameOverrideEncoding]): Ditto. (-[WebController hasCustomTextEncoding]): Ditto. (-[WebController customTextEncodingName]): Return NSString.
  • WebView.subproj/WebDataSourcePrivate.h: Use NSString instead of CFStringEncoding.
  • WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSourcePrivate init]): No need to init. (-[WebDataSource _setContentType:]): Copy, don't retain. (-[WebDataSource _setEncoding:]): Copy, don't retain. (-[WebDataSource _setOverrideEncoding:]): Use NSString. (-[WebDataSource _overrideEncoding]): Use NSString.
  • WebView.subproj/WebFramePrivate.h: Use NSString.
  • WebView.subproj/WebFramePrivate.m: (-[WebFrame _reloadAllowingStaleDataWithOverrideEncoding:]): Use NSString.
  • WebView.subproj/WebPreferences.h: Use NSString instead of CFStringEncoding.
  • WebView.subproj/WebPreferences.m: (+[WebPreferences load]): Use NSString. (-[WebPreferences defaultTextEncodingName]): Use NSString. (-[WebPreferences setDefaultTextEncodingName:]): Use NSString.

WebBrowser:

  • AppController.m: (-[AppController updateTextEncodingMenu]): Convert to CFStringEncoding.
  • BrowserWindowController.m: (-[BrowserWindowController validateMenuItem:]): Convert to CFStringEncoding. (-[BrowserWindowController changeTextEncoding:]): Convert to NSString.
  • Debug/DebugUtilities.m: (-[BrowserDocument setUserAgent:]): Update for API change. (-[BrowserDocument validate_setUserAgent:]): Ditto. (-[BrowserDocument resetUserAgent:]): Ditto. (-[BrowserDocument validate_resetUserAgent:]): Ditto.
  • Preferences.subproj/TextPreferences.m: (-[TextPreferences updateDefaultCharacterSetPopup]): Convert to CFStringEncoding. (-[TextPreferences takeDefaultCharacterSetFrom:]): Convert to NSString.
3:37 PM Changeset in webkit [2178] by cblu
  • 3 edits in trunk/WebKit

WebKit:

Made WebTextView super-private.

  • WebKit.pbproj/project.pbxproj:

WebBrowser:

  • Made the view source window
    • larger
    • use Monaco, 10 font
    • respond to makeTextLarger and makeTextSmaller
    • use saveDocumentAs

Fixed: 3053366 - source window should have file proxy after save

  • BrowserDocument.h:
  • BrowserDocument.m:
  • English.lproj/HTMLSource.nib: made window larger, use WebSearchableTextView
  • HTMLSourceController.h:
  • HTMLSourceController.m: (-[HTMLSourceController windowDidLoad]): set the text multiplier (-[HTMLSourceController setTextSizeMultiplier:]): new (-[HTMLSourceController textSizeMultiplier]): new
  • HTMLSourceDocument.h:
  • HTMLSourceDocument.m: (-[HTMLSourceDocument dataRepresentationOfType:]): new saved flag (-[HTMLSourceDocument saveDocumentTo:]): call saveDocumentAs (-[HTMLSourceDocument displayName]): perform hacks to get window title and saved filename correct (-[HTMLSourceDocument controller]): new (-[HTMLSourceDocument browserDocumentLoadingFinished:]): don't update after save (-[HTMLSourceDocument canMakeTextLarger]): new (-[HTMLSourceDocument canMakeTextSmaller]): new (-[HTMLSourceDocument makeTextLarger:]): new (-[HTMLSourceDocument makeTextSmaller:]): new (-[HTMLSourceDocument validateUserInterfaceItem:]): new
3:11 PM Changeset in webkit [2177] by rjw
  • 3 edits in trunk/WebKit

i Use a rectangle with rounded corners for dragged label.

Put a subtle shadow behind text in label.

  • WebView.subproj/WebHTMLView.m: (-[WebHTMLView mouseDragged:]):
12:07 PM Changeset in webkit [2176] by cblu
  • 15 edits
    2 adds in trunk

WebCore:

Added WebCoreElementImageLocationKey to the element dictionary.

  • kwq/WebCoreBridge.h:
  • kwq/WebCoreBridge.mm: (-[WebCoreBridge elementAtPoint:]):

WebKit:

  • When dragging an image, use the image itself for the drag image
  • Support promised file and image data drag types for dragged images.
  • Misc.subproj/WebNSImageExtras.h: Added.
  • Misc.subproj/WebNSImageExtras.m: Added. (-[NSImage _web_scaleToMaxSize:]): new, scales an image is greater than max (-[NSImage _web_dissolveToFraction:]): new, dissolves image in place
  • WebKit.pbproj/project.pbxproj:
  • WebView.subproj/WebController.h: Added WebElementImageLocationKey to the element dictionary
  • WebView.subproj/WebController.m: ditto
  • WebView.subproj/WebHTMLView.m: (-[WebHTMLView dragImage:at:offset:event:pasteboard:source:slideBack:]): subclassed for only for image drags (-[WebHTMLView mouseDragged:]): use the promised file api again. (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]): use the retained element dictionary instead of the dragged URL which I deleted.
  • WebView.subproj/WebHTMLViewPrivate.h:
10:20 AM Changeset in webkit [2175]
  • 3 copies in tags/Alexander-25

This commit was manufactured by cvs2svn to create tag 'Alexander-25'.

10:20 AM Changeset in webkit [2174] by sheridan
  • 8 edits in trunk

Alex-25 versions + markers

8:20 AM Changeset in webkit [2173] by darin
  • 5 edits in trunk/JavaScriptCore

Fix the infinity problem Dave worked around. We didn't have the
configuration flags set right to make infinity work. Setting those
properly made everything work without changes to min and max.

  • kjs/config.h: Define HAVE_FUNC_ISINF, HAVE_STRING_H, and also WORDS_BIGENDIAN (if on ppc).
  • kjs/math_object.cpp: (MathFuncImp::call): Roll out min and max changes from yesterday.

Sep 25, 2002:

7:15 PM Changeset in webkit [2172] by rjw
  • 9 edits in trunk/WebKit

API tweaks.

  • Misc.subproj/WebKit.h: Added headers.
  • Misc.subproj/WebKitErrors.h: Removed #defines.
  • WebView.subproj/WebDataSource.h:
  • WebView.subproj/WebDataSource.m:
  • WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _startLoading]): (-[WebDataSource _loadIcon]):
  • WebView.subproj/WebDefaultContextMenuDelegate.m: (-[WebDefaultContextMenuDelegate contextMenuItemsForElement:defaultMenuItems:]): Removed isMainDocument.

Moved errors string #defines here.

  • WebView.subproj/WebView.m:

Updated to reflect API tweaks.

  • ContextMenuHandler.m: (-[ContextMenuHandler contextMenuItemsForElement:defaultMenuItems:]):
5:57 PM Changeset in webkit [2171] by sullivan
  • 3 edits in trunk/WebKit
  • fixed 3060773 -- Wrong title proposed when image link dropped on favorites bar
  • WebView.subproj/WebHTMLView.m: (-[WebHTMLView mouseDragged:]): Claim the pasteboard (via declareTypes:) before putting data on it.
5:51 PM Changeset in webkit [2170] by rjw
  • 24 edits in trunk/WebKit

API and documentation tweaks.

WebDocumentDragSettings: canDrag -> acceptsDrag
WebDataSource: removed originalURL
WebStandardPanels: use -> uses

  • History.subproj/WebBackForwardList.h:
  • Misc.subproj/WebDownloadHandler.m: (-[WebDownloadHandler initWithDataSource:]):
  • Panels.subproj/WebStandardPanels.h:
  • Panels.subproj/WebStandardPanels.m: (-[WebStandardPanels setUsesStandardAuthenticationPanel:]): (-[WebStandardPanels usesStandardAuthenticationPanel]):
  • Plugins.subproj/WebPluginView.m: (-[WebNetscapePluginView frameStateChanged:]):
  • WebCoreSupport.subproj/WebSubresourceClient.m: (-[WebSubresourceClient cancel]):
  • WebView.subproj/WebController.h:
  • WebView.subproj/WebDataSource.h:
  • WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _commitIfReady]):
  • WebView.subproj/WebDocument.h:
  • WebView.subproj/WebFrame.m: (-[WebFrame setProvisionalDataSource:]): (-[WebFrame startLoading]):
  • WebView.subproj/WebFramePrivate.m: (-[WebFrame _transitionToCommitted]): (-[WebFrame _setState:]): (-[WebFrame _goToItem:withFrameLoadType:]):
  • WebView.subproj/WebHTMLView.m: (-[WebHTMLView setAcceptsDrags:]): (-[WebHTMLView acceptsDrags]): (-[WebHTMLView setAcceptsDrops:]): (-[WebHTMLView acceptsDrops]):
  • WebView.subproj/WebImageView.m: (-[WebImageView setAcceptsDrags:]): (-[WebImageView acceptsDrags]): (-[WebImageView setAcceptsDrops:]): (-[WebImageView acceptsDrops]):
  • WebView.subproj/WebLoadProgress.h:
  • WebView.subproj/WebLocationChangeDelegate.h:
  • WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient didCancelWithHandle:]):
  • WebView.subproj/WebView.h:

Updated to reflect API tweaks.

  • AppController.m: (-[AppController awakeFromNib]):
  • DownloadProgressEntry.m: (-[DownloadProgressEntry stop]):
  • LocationChangeHandler.m: (-[LocationChangeHandler locationChangeStartedForDataSource:]): (-[LocationChangeHandler locationChangeCommittedForDataSource:]): (-[LocationChangeHandler locationChangeDone:forDataSource:]):
3:47 PM Changeset in webkit [2169] by hyatt
  • 5 edits in trunk/WebCore

Implement scrollX and scrollY on the window object. This
gets brainjar closer to reality. :)

  • khtml/ecma/kjs_window.cpp: (Window::get):
  • khtml/ecma/kjs_window.h:
3:46 PM Changeset in webkit [2168] by hyatt
  • 4 edits in trunk/JavaScriptCore

Fix the impls of min/max to not use +inf/-inf when you have
arguments. Technically there's still a bug here for the no
argument case, probably caused by a screwup when +inf/-inf are
converted to doubles.

  • kjs/math_object.cpp: (MathFuncImp::call):
1:25 PM Changeset in webkit [2167] by darin
  • 4 edits in trunk/JavaScriptCore
  • fixed 3057964 -- JS problem performing MD5 script embedded in yahoo login page
  • kjs/simple_number.h: Fix incorrect check for sign bit that was munging numbers in the range 0x10000000 to 0x1FFFFFFF.
11:23 AM Changeset in webkit [2166] by kocienda
  • 9 edits in trunk/WebKit

WebFoundation:

Changes to move the WebResourceHandle API closer to the
specified design. This includes:

  • Removed loadInBackground method from the public interface.
  • Start asynchronous loading in WebResourceHandle init method.
  • Remove loadInForeground: from WebResourceHandle interface.
  • Add nice comments to WebResourceHandle header file.
  • Move WebResourceHandle callback deferral methods to SPI header file.
  • Some cleanups in synchronous loading.
  • Change name of WebResourceHandle cancelLoadInBackground method to cancel.
  • Some changes to the C glue (why do I even pretend that I am keeping this glue code working?)
  • CacheLoader.subproj/IFURLHandleC.h:
  • CacheLoader.subproj/IFURLHandleC.m: (IFURLHandleCancelLoadInBackground) (IFURLHandleDidRedirectToURL)
  • CacheLoader.subproj/WebResourceHandle.h:
  • CacheLoader.subproj/WebResourceHandle.m: (+[WebResourceHandle canInitWithRequest:]) (-[WebResourceHandle initWithRequest:delegate:]) (-[WebResourceHandle cancel]) (-[WebResourceHandle loadInForeground:]) (-[WebResourceHandle loadInForeground])
  • CacheLoader.subproj/WebResourceHandleInternal.h:
  • CacheLoader.subproj/WebResourceHandleInternal.m: (-[WebResourceHandle _loadInBackground]) (-[WebResourceHandle _postCallback:]) (-[WebResourceHandle _sendCallbacks])
  • CacheLoader.subproj/WebResourceHandlePrivate.h:
  • CacheLoader.subproj/WebResourceHandlePrivate.m: (-[WebResourceHandle _setDefersCallbacks:]) (-[WebResourceHandle _defersCallbacks])
  • CacheLoader.subproj/WebResourceLoad.m: (-[WebResourceLoad cancel])
  • CacheLoader.subproj/WebResourceSynchronousClient.m: (-[WebResourceHandleSynchronousDelegate run:]) (-[WebResourceHandleSynchronousDelegate finished])
  • WebFoundation.exp:
  • WebFoundation.pbproj/project.pbxproj:

WebKit:

Changes to move the WebResourceHandle API closer to the
specified design. This includes:

  • Removed loadInBackground method from the public interface.
  • Start asynchronous loading in WebResourceHandle init method. This required some code reorganization in callers.
  • Remove loadInForeground: from WebResourceHandle interface.
  • Move WebResourceHandle callback deferral methods to SPI header file.
  • Change name of WebResourceHandle cancelLoadInBackground method to cancel.
  • Misc.subproj/WebIconLoader.m: (-[WebIconLoader startLoading]) (-[WebIconLoader stopLoading])
  • Plugins.subproj/WebPluginStream.m: (-[WebNetscapePluginStream startLoad]) (-[WebNetscapePluginStream cancel])
  • WebCoreSupport.subproj/WebSubresourceClient.m: (+[WebSubresourceClient startLoadingResource:withURL:referrer:forDataSource:]) (-[WebSubresourceClient cancel])
  • WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _startLoading]) (-[WebDataSource _addSubresourceClient:]) (-[WebDataSource _stopLoading]) (-[WebDataSource _defersCallbacksChanged])
  • WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient handle:didReceiveData:])
11:01 AM Changeset in webkit [2165] by cblu
  • 4 edits in trunk/WebKit

Fixed: 3050665 - REGRESSION: mp3 audio loads and plays, but no progress or play control is visible

  • Plugins.subproj/WebPluginView.h:
  • Plugins.subproj/WebPluginView.m: (-[WebNetscapePluginView setNeedsLayout:]): (-[WebNetscapePluginView layout]): (-[WebNetscapePluginView drawRect:]):
9:03 AM Changeset in webkit [2164] by darin
  • 4 edits in trunk/WebCore

Fix error with the color "indigo".

  • kwq/KWQColor.mm: (getNamedColors): There were some spaces in our color table so we wouldn't handle indianred or indigo.
8:50 AM Changeset in webkit [2163] by darin
  • 5 edits in trunk/WebKit

Make the "set aside subviews" logic stronger so it can handle a display
while inside drawRect. But note, this recursive display is most likely
the cause of the redrawing problems we have while resizing, like bug 2969367.

  • WebView.subproj/WebHTMLView.m: (-[WebHTMLView drawRect:]): Restore views and then set them aside again, but don't leave the "views set aside" boolean set.
  • WebView.subproj/WebHTMLViewPrivate.h: Add private _setAsideSubviews and _restoreSubviews methods.
  • WebView.subproj/WebHTMLViewPrivate.m: (-[WebHTMLView _setAsideSubviews]): Added. (-[WebHTMLView _restoreSubviews]): Added. (-[WebHTMLView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]): Use the new _setAsideSubviews and _restoreSubviews methods. (-[WebHTMLView _recursiveDisplayAllDirtyWithLockFocus:visRect:]): Ditto.
8:32 AM Changeset in webkit [2162] by kocienda
  • 4 edits in trunk/WebKit

WebFoundation:

Removed this method from WebResourceHandle:

+(BOOL)canInitWithURL:(NSURL *)theURL;

replaced with:

+(BOOL)canInitWithRequest:(WebResourceRequest *)request;

Also added a convenience method to WebResourceRequest that
allocates, inits, and returns an autoreleased instance.

  • CacheLoader.subproj/WebResourceHandle.h:
  • CacheLoader.subproj/WebResourceHandle.m: (+[WebResourceHandle canInitWithRequest:])
  • CacheLoader.subproj/WebResourceRequest.h:
  • CacheLoader.subproj/WebResourceRequest.m: (+[WebResourceRequest requestWithURL:])

WebKit:

Removed this method from WebResourceHandle:

+(BOOL)canInitWithURL:(NSURL *)theURL;

replaced with:

+(BOOL)canInitWithRequest:(WebResourceRequest *)request;

Callers have been updated to reflect the change.

  • WebView.subproj/WebDefaultPolicyDelegate.m: (+[WebDefaultPolicyDelegate defaultURLPolicyForURL:])
  • WebView.subproj/WebFramePrivate.m: (-[WebFrame _shouldShowURL:])
7:18 AM Changeset in webkit [2161] by kocienda
  • 8 edits in trunk/WebKit

WebFoundation:

More moves to the new WebResourceHandleDelegate API.

This change moves all WebResourceHandleDelegate implementors to:

-(void)handle:(WebResourceHandle *)handle didReceiveData:(NSData *)data;

  • CacheLoader.subproj/WebResourceCallbackClient.m: (-[WebResourceCallbackClient handle:didReceiveData:])
  • CacheLoader.subproj/WebResourceHandleInternal.m: (-[WebResourceHandle _notifyClientDataDidBecomeAvailable])
  • CacheLoader.subproj/WebResourceSynchronousClient.m: (-[WebResourceHandleSynchronousDelegate handle:didReceiveData:])

WebKit:

More moves to the new WebResourceHandleDelegate API.

This change moves all WebResourceHandleDelegate implementors to:

-(void)handle:(WebResourceHandle *)handle didReceiveData:(NSData *)data;

  • Misc.subproj/WebIconLoader.m: (-[WebIconLoader handle:didReceiveData:])
  • Plugins.subproj/WebPluginStream.m: (-[WebNetscapePluginStream handle:didReceiveData:])
  • WebCoreSupport.subproj/WebSubresourceClient.m: (-[WebSubresourceClient handle:didReceiveData:])
  • WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient handle:didReceiveData:])
7:02 AM Changeset in webkit [2160] by kocienda
  • 8 edits in trunk/WebKit

WebFoundation:

Moving to the new WebResourceHandleDelegate API.

This change moves all WebResourceHandleDelegate implementors to:

  • (void)handle:(WebResourceHandle *)handle didFailLoadingWithError:(WebError *)result;
  • CacheLoader.subproj/WebResourceCallbackClient.m:
  • CacheLoader.subproj/WebResourceHandleInternal.m: (-[WebResourceHandle _notifyClientDidFailLoading])
  • CacheLoader.subproj/WebResourceSynchronousClient.m:

WebKit:

Moving to the new WebResourceHandleDelegate API.

This change moves all WebResourceHandleDelegate implementors to:

  • (void)handle:(WebResourceHandle *)handle didFailLoadingWithError:(WebError *)result;
  • Misc.subproj/WebIconLoader.m: (-[WebIconLoader handle:didFailLoadingWithError:])
  • Plugins.subproj/WebPluginStream.m: (-[WebNetscapePluginStream handle:didFailLoadingWithError:])
  • WebCoreSupport.subproj/WebSubresourceClient.m: (-[WebSubresourceClient handle:didFailLoadingWithError:])
  • WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient handle:didFailLoadingWithError:])
6:25 AM Changeset in webkit [2159] by kocienda
  • 13 edits in trunk/WebKit

WebFoundation:

Begin change from WebResourceClient to WebResourceHandleDelegate.
In this step, I have just changed the name of the protocol; the
protocol interface is the same.

As part of this change, WebResourceSynchronousClient becomes
WebResourceHandleSynchronousDelegate. Also, the init interface
for WebResourceHandle assumes the form specified in the new API
specification:

-(id)initWithRequest:(WebResourceRequest *)request delegate:(id <WebResourceHandleDelegate>)delegate;

I also made cosmetic changes to variable names and such.

Note that I am removing the WebResourceClient.h file, but I
copied the ,v file in the repository so that the history for WebResourceClient.h
is preserved in WebResourceHandleDelegate.h.

  • CacheLoader.subproj/WebResourceCallbackClient.h:
  • CacheLoader.subproj/WebResourceClient.h: Removed.
  • CacheLoader.subproj/WebResourceHandle.h:
  • CacheLoader.subproj/WebResourceHandle.m: (-[WebResourceHandle loadInForeground:]) (-[WebResourceHandle initWithRequest:delegate:])
  • CacheLoader.subproj/WebResourceHandleInternal.h:
  • CacheLoader.subproj/WebResourceHandleInternal.m: (-[WebResourceHandleInstanceVariables dealloc]) (-[WebResourceHandle _notifyClientDidRedirectToURL]) (-[WebResourceHandle _notifyClientDataDidBecomeAvailable]) (-[WebResourceHandle _notifyClientDidFailLoading]) (-[WebResourceHandle _notifyClientDidFinishLoading])
  • CacheLoader.subproj/WebResourceHandlePrivate.m: (-[WebResourceHandle _userAgentForURL:])
  • CacheLoader.subproj/WebResourceResponse.h:
  • CacheLoader.subproj/WebResourceSynchronousClient.h:
  • CacheLoader.subproj/WebResourceSynchronousClient.m: (-[WebResourceHandleSynchronousDelegate initWithMonitor:realDelegate:]) (-[WebResourceHandleSynchronousDelegate dealloc]) (-[WebResourceHandleSynchronousDelegate handleWillUseUserAgent:forURL:]) (-[WebResourceHandleSynchronousDelegate handleDidFinishLoading:]) (-[WebResourceHandleSynchronousDelegate handleDidReceiveData:data:]) (-[WebResourceHandleSynchronousDelegate handleDidRedirect:toURL:])
  • Misc.subproj/WebFoundation.h:
  • WebFoundation.pbproj/project.pbxproj:

WebKit:

Begin change from WebResourceClient to WebResourceHandleDelegate.
In this step, I have just changed the name of the protocol; the
protocol interface is the same.

I made other cosmetic changes to variable names and such.

  • Misc.subproj/WebIconLoader.h:
  • Misc.subproj/WebIconLoader.m: (-[WebIconLoader startLoading])
  • Plugins.subproj/WebPluginStream.m: (-[WebNetscapePluginStream startLoad])
  • WebCoreSupport.subproj/WebBridge.m: (-[WebBridge objectLoadedFromCache:size:])
  • WebCoreSupport.subproj/WebSubresourceClient.h:
  • WebCoreSupport.subproj/WebSubresourceClient.m: (+[WebSubresourceClient startLoadingResource:withURL:referrer:forDataSource:])
  • WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _startLoading])
  • WebView.subproj/WebMainResourceClient.h:
1:22 AM Changeset in webkit [2158] by mjs
  • 17 edits in trunk

Tests:

  • CookieManager/wkcookiemanager-test.m: (main): Adjust for API change.

WebFoundation:

  • fixed 2854536 - New cookie policy: "accept cookies only from the same domain as the main page"
  • CacheLoader.subproj/WebResourceRequest.h:
  • CacheLoader.subproj/WebResourceRequest.m: (-[WebResourceRequest cookiePolicyBaseURL]): (-[WebResourceRequest setCookiePolicyBaseURL:]): (-[WebResourceRequest copyWithZone:]):
  • CookieManager.subproj/IFCookieManagerC.m: (IFCookieManagerSetCookiesFromResponseHeaders):
  • CookieManager.subproj/WebCookieConstants.h:
  • CookieManager.subproj/WebCookieManager.h:
  • CookieManager.subproj/WebCookieManager.m: (-[WebCookieManager _readAcceptCookiesPreference]): (-[WebCookieManager _setCookies:forURL:policyBaseURL:]): (-[WebCookieManager setCookie:]): (-[WebCookieManager setCookiesFromResponseHeaders:forURL:policyBaseURL:]): (-[WebCookieManager setAcceptPolicy:]):
  • Misc.subproj/WebNSStringExtras.h:
  • Misc.subproj/WebNSStringExtras.m: (-[NSString _web_domainFromHost]):
  • ProtocolHandlers.subproj/WebCFNetworkHTTPProtocolHandler.m: (-[WebCFNetworkHTTPProtocolHandler setResponseHeadersUsingHTTPResponse:andCall:context:]):
  • ProtocolHandlers.subproj/WebSimpleHTTPProtocolHandler.m: (-[WebSimpleHTTPProtocolHandler _parseHeadersFromData:]):

WebCore:

  • fixed 2854536 - New cookie policy: "accept cookies only from the same domain as the main page"
  • khtml/html/html_documentimpl.cpp: (HTMLDocumentImpl::setCookie):
  • kwq/KWQKCookieJar.h:
  • kwq/KWQKCookieJar.mm: (KWQKCookieJar::setCookie):
  • kwq/WebCoreCookieAdapter.h:
  • kwq/WebCoreCookieAdapter.m: (-[WebCoreCookieAdapter setCookies:forURL:policyBaseURL:]):

WebKit:

  • fixed 2854536 - New cookie policy: "accept cookies only from the same domain as the main page"
  • WebCoreSupport.subproj/WebCookieAdapter.h:
  • WebCoreSupport.subproj/WebCookieAdapter.m: (-[WebCookieAdapter setCookies:forURL:policyBaseURL:]):
  • WebCoreSupport.subproj/WebSubresourceClient.m: (+[WebSubresourceClient startLoadingResource:withURL:referrer:forDataSource:]): (-[WebSubresourceClient handleDidRedirect:toURL:]):
  • WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _startLoading]):
  • WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient handleDidRedirect:toURL:]):

WebBrowser:

  • fixed 2854536 - New cookie policy: "accept cookies only from the same domain as the main page"
  • Preferences.subproj/English.lproj/SecurityPreferences.nib:
  • Preferences.subproj/SecurityPreferences.h:
  • Preferences.subproj/SecurityPreferences.m: (-[SecurityPreferences takeCookiePolicyFrom:]): (-[SecurityPreferences updateCookiesViews]):
Note: See TracTimeline for information about the timeline view.