Timeline



Sep 16, 2002:

6:24 PM Changeset in webkit [2074] by darin
  • 3 edits in trunk/WebKit
  • History.subproj/WebHistoryPrivate.m: Do that for real.
4:23 PM Changeset in webkit [2073] by rjw
  • 5 edits in trunk/WebKit

Remove fix (according to John, partial fix) for 3051288.
Canonicalizing the URL strings used in the history db
is very slow! ~8% slower.

  • History.subproj/WebHistoryPrivate.m: (-[WebHistoryPrivate addEntry:]): (-[WebHistoryPrivate removeEntry:]): (-[WebHistoryPrivate containsURL:]): (-[WebHistoryPrivate entryForURL:]):
  • WebView.subproj/WebHTMLView.h: Removed cruft from header.
12:17 PM Changeset in webkit [2072] by hyatt
  • 5 edits in trunk/WebCore

Fix the stylesheet loading regression on rubyfruit.

  • khtml/html/html_headimpl.cpp: (HTMLStyleElementImpl::HTMLStyleElementImpl): (HTMLStyleElementImpl::childrenChanged): (HTMLStyleElementImpl::isLoading):
  • khtml/html/html_headimpl.h:
8:09 AM Changeset in webkit [2071] by darin
  • 3 edits in trunk/WebKit
  • fixed 3050810 -- while an image is loading progressively, it draws white rather then page background
  • WebCoreSupport.subproj/WebImageRenderer.m: (-[WebImageRenderer drawClippedToValidInRect:fromRect:]): Added. Used instead of a direct call to drawInRect:fromRect:operation:fraction:, this only draws the part of the image that is valid according to loadStatus. (-[WebImageRenderer nextFrame:]): Use drawClippedToValidInRect:fromRect:. (-[WebImageRenderer beginAnimationInRect:fromRect:]): Ditto. (-[WebImageRenderer tileInRect:fromPoint:]): Ditto.

Sep 13, 2002:

9:01 PM Changeset in webkit [2070] by rjw
  • 3 edits in trunk/WebKit

Fixed 3051288. URLs were not being canonicalized, so matching failed.

  • History.subproj/WebHistoryPrivate.m: (-[WebHistoryPrivate addEntry:]): (-[WebHistoryPrivate removeEntry:]): (-[WebHistoryPrivate containsURL:]): (-[WebHistoryPrivate entryForURL:]):
8:30 PM Changeset in webkit [2069] by rjw
  • 3 edits in trunk/WebKit

Fixed 3050636. 90% solution. The "Display Images Automatically"
preference will be used to disallow image draggging. So if this
is set after pages have loaded, their images will not be draggable,
and vice-versa. Not disastrous as dragging in either case has little
or no negative consequences.

  • WebView.subproj/WebHTMLView.m: (-[WebHTMLView mouseDragged:]):
7:05 PM Changeset in webkit [2068] by hyatt
  • 20 edits in trunk/WebCore

Landing code that makes textfields, buttons, checkboxes, radio
buttons, and dropdown lists all draw correctly with respect to
z-index. They all employ the same simple hack (just never paint
unless KHTML tells them to).

Unpatched widgets include the password field, the listbox, and the
textarea.

The only issue with regards to painting with the widgets I've
patched is the textfield... its editor floats to the top when the
field is being edited.

Event handling will also be incorrect and will need to be patched
separately.

  • khtml/rendering/render_body.cpp: (RenderBody::printBoxDecorations):
  • khtml/rendering/render_replaced.cpp: (RenderWidget::printObject):
  • kwq/KWQButton.mm: (QButton::QButton): (QButton::paint): (-[KWQNSButton drawRect:]): (-[KWQNSButton paint]):
  • kwq/KWQComboBox.mm: (-[KWQNSPopUpButton drawRect:]): (-[KWQNSPopUpButton paint]): (QComboBox::QComboBox): (QComboBox::insertItem): (QComboBox::paint):
  • kwq/KWQLineEdit.mm: (QLineEdit::paint):
  • kwq/KWQNSTextField.h:
  • kwq/KWQNSTextField.mm: (-[KWQNSTextField paint]):
  • kwq/qt/qbutton.h:
  • kwq/qt/qcombobox.h:
  • kwq/qt/qlineedit.h:
  • kwq/qt/qwidget.h:
6:07 PM Changeset in webkit [2067] by rjw
  • 5 edits in trunk/WebCore

Fixed navigation to link on mouse up after drag.

  • khtml/khtmlview.cpp: (KHTMLView::viewportMousePressEvent): (KHTMLView::viewportMouseDoubleClickEvent): Change khtml's definition of double click to be based on mouse up of second click, not mouse down.

(KHTMLView::viewportMouseReleaseEvent):

  • kwq/WebCoreBridge.mm: (-[WebCoreBridge mouseUp:]): (-[WebCoreBridge mouseDown:]): Changed double click to be on mouse up with click count of two.
5:53 PM Changeset in webkit [2066] by mjs
  • 6 edits in trunk/WebKit

WebFoundation:

WebFoundation changes for:

  • fixed 3032238 - Eliminate "Ask each time" choice for cookies

I also unwound some now-needless async code paths.

  • CacheLoader.subproj/WebCFNetworkHTTPProtocolHandler.h:
  • CacheLoader.subproj/WebCFNetworkHTTPProtocolHandler.m: (-[WebCFNetworkHTTPProtocolHandler endLoadInBackground]): (-[WebCFNetworkHTTPProtocolHandler handleReadStreamEvent:event:]): (-[WebCFNetworkHTTPProtocolHandler setResponseHeadersUsingHTTPResponse:andCall:context:]): (-[WebCFNetworkHTTPProtocolHandler performStreamRead:]):
  • CookieManager.subproj/IFCookieAcceptHandlerC.h: Removed.
  • CookieManager.subproj/IFCookieAcceptHandlerC.m: Removed.
  • CookieManager.subproj/IFCookieAcceptRequestC.h: Removed.
  • CookieManager.subproj/IFCookieAcceptRequestC.m: Removed.
  • CookieManager.subproj/IFCookieManagerC.h:
  • CookieManager.subproj/IFCookieManagerC.m: (IFCookieManagerSetCookiesFromResponseHeaders):
  • CookieManager.subproj/WebCookieAcceptHandler.h: Removed.
  • CookieManager.subproj/WebCookieAcceptHandlerDispatcher.h: Removed.
  • CookieManager.subproj/WebCookieAcceptHandlerDispatcher.m: Removed.
  • CookieManager.subproj/WebCookieAcceptRequest.h: Removed.
  • CookieManager.subproj/WebCookieAcceptRequest.m: Removed.
  • CookieManager.subproj/WebCookieAcceptRequestPrivate.h: Removed.
  • CookieManager.subproj/WebCookieConstants.h:
  • CookieManager.subproj/WebCookieManager.h:
  • CookieManager.subproj/WebCookieManager.m: (-[WebCookieManagerPrivate init]): (-[WebCookieManagerPrivate dealloc]): (-[WebCookieManager _readAcceptCookiesPreference]): (-[WebCookieManager _setCookies:forURL:]): (-[WebCookieManager setCookie:]): (-[WebCookieManager setCookiesFromResponseHeaders:forURL:]):
  • Misc.subproj/WebFoundation.h:
  • WebFoundation.exp:
  • WebFoundation.pbproj/project.pbxproj:

WebKit:

WebKit changes for:

  • fixed 3032238 - Eliminate "Ask each time" choice for cookies
  • Panels.subproj/WebStandardPanels.h:
  • Panels.subproj/WebStandardPanels.m: (-[WebStandardPanels useStandardAuthenticationPanel]):
  • WebCoreSupport.subproj/WebCookieAdapter.m: (-[WebCookieAdapter cookiesEnabled]):
  • WebKit.pbproj/project.pbxproj:

WebBrowser:

WebBrowser changes for:

  • fixed 3032238 - Eliminate "Ask each time" choice for cookies
  • AppController.m: (-[AppController awakeFromNib]):
  • Preferences.subproj/English.lproj/SecurityPreferences.nib:
  • Preferences.subproj/SecurityPreferences.h:
  • Preferences.subproj/SecurityPreferences.m: (-[SecurityPreferences takeCookiePolicyFrom:]): (-[SecurityPreferences updateCookiesViews]):
5:35 PM Changeset in webkit [2065] by darin
  • 4 edits in trunk/WebCore

Fix crash in slot code.

  • kwq/KWQSignal.mm: (KWQSignal::call): Copy the slots before calling through in case we are destroyed by the called function.
5:02 PM Changeset in webkit [2064] by darin
  • 11 edits in trunk

WebCore:

Here's the *real* mistake that killed plugins. I accidentally
stopped creating objects at all! Duh. Fixed now.

  • kwq/KWQKHTMLPartImpl.mm: (KWQKHTMLPartImpl::createPart): Make a part for a plugin if we need one. Not a KHTMLPart, but a KWQPluginPart.

WebKit:

Added assertions, and dealt with some breakage I created while
trying to fix, here, what I broke in WebCore.

  • Plugins.subproj/WebPluginView.m: (-[WebNetscapePluginView start]): Do get the dataSource from our parent when we are being used as an object in a view rather than a document view.
  • Plugins.subproj/WebPluginStream.m:
  • WebView.subproj/WebDataSource.m:
  • WebView.subproj/WebFrame.m: Leave in the assertions I used to debug.
3:57 PM Changeset in webkit [2063] by darin
  • 10 edits in trunk/WebKit

WebKit:

  • fixed 3031685 -- The text encoding setting is not propagated to subframes
  • WebView.subproj/WebDocument.h: Remove old WebDocumentTextEncoding methods, add supportsTextEncoding.
  • WebView.subproj/WebController.m: (-[WebController supportsTextEncoding]): Check the document view to see if it supports WebDocumentTextEncoding and returns YES. (-[WebController setCustomTextEncoding:]): Call _reloadAllowingStaleDataWithOverrideEncoding. (-[WebController resetTextEncoding]): Ditto. (-[WebController _mainFrameOverrideEncoding]): Added. Gets encoding from the data source of the main frame; provisional if there, main if not. (-[WebController hasCustomTextEncoding]): Call _mainFrameOverrideEncoding. (-[WebController customTextEncoding]): Ditto.
  • WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _setParent:]): Set the override encoding to the parent's.
  • WebView.subproj/WebFrame.m: (-[WebFrame reload]): Release request to fix storage leak. Set the override encoding on the new data source to match the old.
  • WebView.subproj/WebFramePrivate.h: New name for stale data reload method.
  • WebView.subproj/WebFramePrivate.m: (-[WebFrame _reloadAllowingStaleDataWithOverrideEncoding:]): Do pretty much the same thing reload does with a few differences. Get the encoding from the parameter rather than the old data source, and set the policy to the one that uses data from the cache, even stale data, if present
  • WebView.subproj/WebHTMLView.m: (-[WebHTMLView supportsTextEncoding]): Return YES.

WebBrowser:

WebCore part of text encoding fix.

  • BrowserWindowController.m: (-[BrowserWindowController validateMenuItem:]): Call the new WebKit methods. (-[BrowserWindowController changeTextEncoding:]): Ditto.
3:38 PM Changeset in webkit [2062] by rjw
  • 16 edits in trunk

Made justified text work correctly in khtml for rendering
and selection. Optimized selection point calculation by
only doing characters measurements once.

  • khtml/rendering/font.cpp: (Font::floatCharacterWidths):
  • khtml/rendering/font.h:
  • khtml/rendering/render_text.cpp: (TextSlave::checkSelectionPoint): (RenderText::position):
  • kwq/KWQFontMetrics.mm: (QFontMetrics::width): (QFontMetrics::floatWidth): (QFontMetrics::floatCharacterWidths):
  • kwq/KWQPainter.mm: (QPainter::drawText):
  • kwq/WebCoreTextRenderer.h:
  • kwq/qt/qfontmetrics.h:

Adding padding and widths buffer to our canonical measurement
method. The padding argument is used to 'pad' measurements in
that same way that drawing is padded. The widths parameter
allows a caller to pass a buffer to get all the individual
character widths for the run of characters in the string.

  • Misc.subproj/WebStringTruncator.m: (+[WebStringTruncator rightTruncateString:toWidth:withFont:]): (+[WebStringTruncator centerTruncateString:toWidth:withFont:]):
  • WebCoreSupport.subproj/WebTextRenderer.h:
  • WebCoreSupport.subproj/WebTextRenderer.m: (-[WebTextRenderer widthForCharacters:length:]): (-[WebTextRenderer drawGlyphs:numGlyphs:fromGlyphPosition:toGlyphPosition:atPoint:withPadding:withTextColor:backgroundColor:]): (-[WebTextRenderer floatWidthForCharacters:stringLength:characterPosition:]): (-[WebTextRenderer floatWidthForCharacters:stringLength:fromCharacterPosition:numberOfCharacters:]):
3:26 PM Changeset in webkit [2061] by darin
  • 7 edits in trunk/WebCore

Quiet error messages related to the slot/signal changes.

  • khtml/khtml_part.cpp: (KHTMLPart::startAutoScroll): Ifdef this out. (KHTMLPart::stopAutoScroll): Ditto.
  • kwq/KWQObject.mm: (QObject::connect): Add two more expected members to the list for setStatusBarText and slotViewCleared.
  • kwq/KWQSignal.h: Allow 4 slots per signal. I don't want to make it a variable number, but we can if we have to.
  • kwq/KWQSignal.mm: (KWQSignal::connect): Support multiple slots. (KWQSignal::disconnect): Support multiple slots. (KWQSignal::call): Support multiple slots.
2:35 PM Changeset in webkit [2060] by darin
  • 5 edits in trunk/WebKit

Fix dataSource-related plugin crash.

  • Plugins.subproj/WebPluginView.m: (-[WebNetscapePluginView start]): Don't grab dataSource here. It's too early. (-[WebNetscapePluginView setDataSource:]): Grab it here.
  • Plugins.subproj/WebPluginStream.h:
  • Plugins.subproj/WebPluginStream.m: Simplified includes and added asserts while debugging.
2:32 PM Changeset in webkit [2059] by darin
  • 12 edits in trunk/WebCore

Fix assertion that happens on any page that has a non-HTML frame.

We were sending signals for objects in m_objects that are only supposed
to be sent for frames in m_frames. The fix is to use actual slot/signal
connections instead of our hard-coded logic.

  • kwq/KWQKHTMLPartImpl.h: Add signals for started and completed.
  • kwq/KWQKHTMLPartImpl.mm: (KHTMLPart::completed): Emit completed signal. (KHTMLPart::started): Emit started signal. (KWQKHTMLPartImpl::KWQKHTMLPartImpl): Create signals.
  • kwq/KWQObject.mm: (QObject::connect): Write out an error message if we see any signal connections to signals that aren't implemented, with a hardwired exception list for ones we either aren't ever going to do or just haven't gotten around to yet.
  • kwq/KWQSignal.h: Add support for signals that take bool and KIO::Job *.
  • kwq/KWQSignal.mm: (KWQSignal::connect): Put in an actual ERROR call for the case where this fails. (KWQSignal::disconnect): Put in an actual ERROR call for the case where it fails. (KWQSignal::call): Add overloads for bool and KIO::Job *.
  • kwq/KWQSlot.h: Add support for slots that take bool and KIO::Job *.
  • kwq/KWQSlot.mm: (KWQSlot::KWQSlot): Add four new members. (KWQSlot::call): Add overloads for bool and KIO::Job * and support for the new members.
1:06 PM Changeset in webkit [2058] by rjw
  • 3 edits in trunk/WebKit

Changed drag hysteresis to 5 and disallow selection initiation within
a link.

  • WebView.subproj/WebHTMLView.m: (-[WebHTMLView mouseDragged:]):
7:50 AM Changeset in webkit [2057] by darin
  • 48 edits in trunk

top level:

  • Tests/WebFoundation-Misc/ifnsurlextensions-test.m: Remove uneeded include of NSURLPathUtilities.h.

WebCore:

  • kwq/KWQAssertions.h: Update assertions from from the copy in WebFoundation.
  • WebCorePrefix.h: Remove NSURLPathUtilities.h include.

Use even more of the KHTML code so we get referrers in one more place.

  • kwq/WebCoreBridge.h: Add referrer to createChildFrameNamed.
  • khtml/khtml_part.h: Less APPLE_CHANGES, no substantive change.
  • khtml/khtml_part.cpp: (KHTMLPart::requestFrame): Use more of this, less APPLE_CHANGES. (KHTMLPart::requestObject): Ditto. (KHTMLPart::processObjectRequest): Ditto.
  • khtml/rendering/render_frames.h: Less APPLE_CHANGES.
  • khtml/rendering/render_frames.cpp: Less APPLE_CHANGES.
  • kwq/kparts/browserextension.h: Add lockHistory/setLockHistory and openURLNotify.
  • kwq/khtml/khtml_ext.h: Add openURLNotify.
  • kwq/KWQKHTMLPartImpl.h: Add openURLNotify.
  • kwq/KWQKHTMLPartBrowserExtension.mm: (KHTMLPartBrowserExtension::openURLNotify): Implement.
  • kwq/KWQKHTMLPartImpl.mm: (KWQKHTMLPartImpl::createPart): Changed name from requestFrame. Do less work.
  • kwq/qt/qtimer.h: Add singleShot.
  • kwq/KWQTimer.mm: (+[KWQSingleShotTimerTarget targetWithQObject:member:]): Added. Used to implement singleShot. (-[KWQSingleShotTimerTarget dealloc]): Ditto. (-[KWQSingleShotTimerTarget timerFired:]): Ditto. (QTimer::singleShot): Added.
  • kwq/qt/qmap.h: Add contains.
  • kwq/qt/qvaluelist.h: Add iterator return value for append and prepend.
  • kwq/KWQValueListImpl.h: Add iterator return value for appendNode and prependNode.
  • kwq/KWQValueListImpl.mm: (KWQValueListImpl::appendNode): Add iterator. (KWQValueListImpl::prependNode): Add iterator.
  • kwq/kparts/part.h: Add openURL.

WebKit:

Prep work for fixes to the text encoding for subframes.

  • WebCoreSupport.subproj/WebBridge.h: Remove [loadURL:withParent:].
  • WebCoreSupport.subproj/WebBridge.m: (-[WebBridge createChildFrameNamed:withURL:referrer:renderPart:allowsScrolling:marginWidth:marginHeight:]): Added referrer parameter.
  • WebView.subproj/WebController.h: Add new methods, not implemented yet.
  • WebView.subproj/WebController.m: (-[WebController supportsTextEncoding]): Here is one. (-[WebController setCustomTextEncoding:]): Another. (-[WebController resetTextEncoding]): Etc. (-[WebController hasCustomTextEncoding]): Etc. (-[WebController customTextEncoding]): Etc.
  • WebView.subproj/WebDataSource.h:
  • WebView.subproj/WebDataSource.m: (-[WebDataSource startLoading]): Remove the forceRefresh flag. This is now controlled by the WebResourceRequest.
  • WebView.subproj/WebDataSourcePrivate.h:
  • WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _startLoading]): Same for this private version.
  • WebView.subproj/WebFrame.h:
  • WebView.subproj/WebFrame.m: (-[WebFrame startLoading]): Remove the forceRefresh flag. (-[WebFrame reload]): Remove the forceRefresh flag. A reload without a forceRefresh is only used internally, not requested by the caller.
  • WebView.subproj/WebFramePrivate.h:
  • WebView.subproj/WebFramePrivate.m: (-[WebFrame _transitionToCommitted]): Add handling for the case where we reload, but allow stale data. (-[WebFrame _isLoadComplete]): Ditto. (-[WebFrame _reloadAllowingStaleData]): Placeholder, not implemented yet.
  • WebView.subproj/WebHTMLView.m: (-[WebHTMLView setTextEncoding:]): Update for new API, but this is going away. (-[WebHTMLView setDefaultTextEncoding]): Ditto.

WebBrowser:

  • BrowserDocument.m: (-[BrowserDocument refresh:]): Call the new [reload] instead of the old [reload:].

Sep 12, 2002:

11:48 PM Changeset in webkit [2056] by rjw
  • 3 edits in trunk/WebKit

Don't initiate a drag if an autoscroll happened.

  • WebView.subproj/WebHTMLView.m: (-[WebHTMLView mouseDragged:]):
8:21 PM Changeset in webkit [2055] by rjw
  • 11 edits in trunk

Added "Absolute" position to the render tree view. Useful
to see how kthml LIES!

  • Debug/RenderTree.m: (-[RenderTreeDataSource outlineView:objectValueForTableColumn:byItem:]):
  • Debug/RenderTree.nib:

Added absolute position column to render node for
render tree view.

  • WebView.subproj/WebRenderNode.h:
  • WebView.subproj/WebRenderNode.m: (-[WebRenderNode initWithName:position:rect:view:children:]): (-[WebRenderNode absolutePositionString]): (-[WebKitRenderTreeCopier nodeWithName:position:rect:view:children:]):

Rewrite of khtml selection drawing code. Now does
a delta between old and new selection and only
draw those objects that have changed. Selection
drawing is now MUCH faster.

  • khtml/rendering/render_root.cpp: (enclosingPositionedRect): (RenderRoot::setSelection): (RenderRoot::clearSelection):
  • khtml/rendering/render_root.h:

Added additional absolute position property to render node
stuff for debug render tree view.

  • kwq/WebCoreBridge.h:
  • kwq/WebCoreBridge.mm: (-[WebCoreBridge copyRenderNode:copier:]):
6:35 PM Changeset in webkit [2054] by hyatt
  • 4 edits in trunk/WebKit

Add text/xml to our list of MIME types that should use the
Web view. With this fix we now render XML and XHTML
correctly!

  • WebView.subproj/WebDataSourcePrivate.m: (+[WebDataSource _repTypes]):
  • WebView.subproj/WebViewPrivate.m: (+[WebView _viewTypes]):
6:04 PM Changeset in webkit [2053] by hyatt
  • 5 edits in trunk/WebCore

KHTML was butchering the laws of background propagation from
the <body> to the <html>. This fixes the logical flaws and
makes some of the geekiest CSS on the planet render correctly. ;)

  • khtml/rendering/render_body.cpp: (RenderBody::printBoxDecorations):
  • khtml/rendering/render_html.cpp: (RenderHtml::printBoxDecorations):
5:19 PM Changeset in webkit [2052] by hyatt
  • 4 edits in trunk/WebCore

Make fixed positioned elements work when you scroll. We were
just missing the implementation of a QScrollView method.

  • kwq/KWQScrollView.mm: (QScrollView::setStaticBackground):
3:23 PM Changeset in webkit [2051] by hyatt
  • 4 edits in trunk/WebCore

Fix a bug in KHTML that leads it to claim cached @imported stylesheets
are not loaded (when in fact they are).

This fixes the W3C CSS page.

  • khtml/css/css_ruleimpl.cpp: (CSSImportRuleImpl::init):
2:51 PM Changeset in webkit [2050] by kocienda
  • 12 edits in trunk/WebKit

WebFoundation:

Removed load flags as a design concept. Replaced with new "caching policy" concept
which are set on a WebResourceRequest. These policies determine how a load will
be processed with regards to the cache.

  • CacheLoader.subproj/IFURLHandleC.h: Removed obsolete IFURLHandleGetFlags function
  • CacheLoader.subproj/IFURLHandleC.m: Ditto.
  • CacheLoader.subproj/WebCFNetworkHTTPProtocolHandler.m: (-[WebCFNetworkHTTPProtocolHandler continueHeaderReadAfter3xxResponseAndCall:]): Temporary hack until new redirect API is available.
  • CacheLoader.subproj/WebCacheLoaderConstants.h: Removed all load flags.
  • CacheLoader.subproj/WebHTTPProtocolHandler.m: (-[WebHTTPProtocolHandler determineErrorAndFail]): Removed calls to load flags and replaced with calls to new request policies. (-[WebHTTPProtocolHandler testAndSetCacheObjectState:]): Ditto.
  • CacheLoader.subproj/WebResourceHandle.m: Removed flags accessor, and removed calls to load flags and replaced with calls to new request policies. (-[WebResourceHandle description]): Removed calls to load flags and replaced with calls to new request policies.
  • CacheLoader.subproj/WebResourceLoad.m: (-[WebResourceLoad _beginLoad]): Ditto. (-[WebResourceLoad description]): Ditto.
  • CacheLoader.subproj/WebResourceLoadManager.m: (+[WebResourceLoadKey keyWithHandle:]): Ditto. (+[WebResourceLoadKey keyWithLoad:]): Ditto. (-[WebResourceLoadKey isEqual:]): Ditto. (-[WebResourceLoadKey hash]): Ditto. (-[WebResourceLoadManager requestWithURLHandle:]): Ditto. (-[WebResourceLoadManager loadDidFinish:]): Ditto.
  • CacheLoader.subproj/WebResourceRequest.h: Added new WebRequestCachePolicy and WebResponseCachePolicy enums, and accessor methods to set these values on a request.
  • CacheLoader.subproj/WebResourceRequest.m: (-[WebResourceRequest initWithURL:]): Ditto. (-[WebResourceRequest requestCachePolicy]): Added. (-[WebResourceRequest setRequestCachePolicy:]): Added. (-[WebResourceRequest responseCachePolicy]): Added. (-[WebResourceRequest setResponseCachePolicy:]): Added (-[WebResourceRequest copyWithZone:]): Removed calls to load flags and replaced with calls to new request policies.
  • CacheLoader.subproj/WebSimpleHTTPProtocolHandler.m: (WebSimpleHTTPProtocolHandlerInit): Added some initial support for the notion of "specially-handled" headers. This work is not done yet. (-[WebSimpleHTTPProtocolHandler createHTTPRequest]): Fixed case where we appended nil if there was no user-agent set. (-[WebSimpleHTTPProtocolHandler _examineHeaders]): Removed calls to load flags and replaced with calls to new request policies.
  • Misc.subproj/WebFoundation.h:
  • WebFoundation.exp: Removed obsolete _IFURLHandleGetFlags symbol.

WebKit:

Removed load flags as a design concept. Replaced with new "caching policy" concept
which are set on a WebResourceRequest. These policies determine how a load will
be processed with regards to the cache.

  • WebCoreSupport.subproj/WebBridge.h: Removed flags from loadURL method.
  • WebCoreSupport.subproj/WebBridge.m: Removed calls to load flags and replaced with calls to new request policies. (-[WebBridge createChildFrameNamed:withURL:renderPart:allowsScrolling:marginWidth:marginHeight:]): (-[WebBridge isReloading]): Ditto. (-[WebBridge loadURL:referrer:]): Ditto. (-[WebBridge loadURL:withParent:]): Removed flags from loadURL method. (-[WebBridge postWithURL:referrer:data:]): Removed calls to load flags and replaced with calls to new request policies.
  • WebCoreSupport.subproj/WebSubresourceClient.m: (+[WebSubresourceClient startLoadingResource:withURL:referrer:forDataSource:]): Ditto.
  • WebView.subproj/WebDataSource.h: Removed flags from init method.
  • WebView.subproj/WebDataSource.m: (-[WebDataSource initWithURL:]): Ditto. (-[WebDataSource initWithRequest:]): Ditto.
  • WebView.subproj/WebDataSourcePrivate.h: Removed flags ivar, and dangling attributes ivar.
  • WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSourcePrivate dealloc]): Ditto.
  • WebView.subproj/WebFrame.m: (-[WebFrame reload:]): Removed calls to load flags and replaced with calls to new request policies.
  • WebView.subproj/WebFramePrivate.m: (-[WebFrame _goToItem:withFrameLoadType:]): Ditto.
1:25 PM Changeset in webkit [2049] by cblu
  • 4 edits in trunk/WebCore

Fixed livepage crash on Marklar. It is naughty to divide by 0 on marklar so we now check before doing that.

  • khtml/rendering/render_box.cpp: (RenderBox::printBackground):
12:15 PM Changeset in webkit [2048] by hyatt
  • 4 edits in trunk/WebCore

Fix crash on trekweb.com. My simplified FOUC code was a little
bit too simple. ;)

  • khtml/html/html_headimpl.cpp: (HTMLLinkElementImpl::setStyleSheet): (HTMLStyleElementImpl::childrenChanged):
12:05 PM Changeset in webkit [2047] by hyatt
  • 8 edits in trunk/WebCore

Fix the Warcraft 3 page on blizzard.com so that the relative
positioned blocks inside centered tables inside enclosing tables
with percentage widths work correctly.

This fix also causes the textfields on mrskin.com to show up
again.

  • khtml/rendering/render_box.cpp: (RenderBox::RenderBox): (RenderBox::setPos):
  • khtml/rendering/render_box.h:
  • khtml/rendering/render_container.cpp: (RenderContainer::addChild):
  • khtml/rendering/render_layer.cpp: (RenderLayer::constructZTree):
  • khtml/rendering/render_object.h:
8:53 AM Changeset in webkit [2046]
  • 3 copies in tags/Alexander-23

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

8:53 AM Changeset in webkit [2045] by cblu
  • 5 edits in trunk/WebKit

WebKit:

Make WebTextView private and exported.

  • WebKit.exp:
  • WebKit.pbproj/project.pbxproj:
  • WebView.subproj/WebTextView.h:

WebBrowser:

Show HTML source in Alex.

  • BrowserDocument.h:
  • BrowserDocument.m: (-[BrowserDocument viewSource:]): create new HTMLSourceDocument
  • BrowserDocumentController.h:
  • BrowserDocumentController.m: (-[BrowserDocumentController openHTMLSourceDocumentWithDataSource:]): added
  • ContextMenuHandler.m: (-[ContextMenuHandler viewSource:]): create new HTMLSourceDocument
  • English.lproj/HTMLSource.nib: Added.
  • HTMLSourceController.h: Added.
  • HTMLSourceController.m: Added. (-[HTMLSourceController windowDidLoad]): (-[HTMLSourceController setString:]): (-[HTMLSourceController targetForSearch]):
  • HTMLSourceDocument.h: Added.
  • HTMLSourceDocument.m: Added. (-[HTMLSourceDocument initWithDataSource:]): (-[HTMLSourceDocument dealloc]): (-[HTMLSourceDocument makeWindowControllers]): (-[HTMLSourceDocument dataRepresentationOfType:]): (-[HTMLSourceDocument saveDocumentTo:]): (-[HTMLSourceDocument fileName]): (-[HTMLSourceDocument fileType]): (-[HTMLSourceDocument displayName]):
  • WebBrowser.pbproj/project.pbxproj:
Note: See TracTimeline for information about the timeline view.