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

Timeline



Sep 17, 2002:

10:12 PM Changeset in webkit [2080] by darin
  • 7 edits in trunk/WebCore
  • fixed 3025022 -- Crash in KWQKHTMLPartImpl::redirectionTimerStartedOrStopped()
  • kwq/WebCoreBridge.mm: (-[WebCoreBridge dealloc]): Set the bridge on the part to nil just in case someone else is holding a reference, so we won't try to dispatch methods to an already-deallocated bridge.
  • fixed 3028476 -- illegal instruction crash in KWQTimerCallback timerFired
  • khtml/ecma/kjs_window.cpp: (WindowQObject::parentDestroyed): Remove APPLE_CHANGES to avoid calling killTimers(); we can call it now that we have a working implementation.
  • khtml/khtmlview.cpp: (KHTMLView::~KHTMLView): Remove APPLE_CHANGES that kills timers. All timers are killed by ~QObject now, just as in Qt. (KHTMLView::clear): Remove APPLE_CHANGES to avoid calling killTimers(); we can call it now that we have a working implementation.
  • kwq/KWQObject.mm: (QObject::~QObject): Call killTimers(). (QObject::startTimer): Keep a dictionary keyed by QObject, with a dictionary of timers for each, rather than one global dictionary. This makes it efficient to kill all the timers for an object. (QObject::killTimer): Update for new level of dictionary. (QObject::killTimers): Kill all the timers in this object's timer dictionary rather than all timers in the world. (QObject::inherits): Add an ERROR for the case where the class name is unknown.
4:56 PM Changeset in webkit [2079] by darin
  • 4 edits in trunk/WebCore
  • fixed 3050818 -- Crash in relative-KURL constructor at site with _ in host name
  • kwq/KWQKURL.mm: Change _ so that it's allowed in host names. (KURL::KURL): If base URL is invalid, make result invalid too.
4:38 PM Changeset in webkit [2078] by rjw
  • 6 edits in trunk/WebCore
  • khtml/khtmlview.cpp: (KHTMLView::viewportMouseTripleClickEvent): Added implementation. Same as viewportMouseReleaseEvent except dispatches additional MouseTripleClickEvent event.

(KHTMLView::viewportMouseDoubleClickEvent):
Send extra release event. This emulates Qt
behavior.

  • kwq/WebCoreBridge.mm: (-[WebCoreBridge mouseUp:]): Don't send extra release event here, instead send it in viewportMouseDoubleClickEvent and also in viewportMouseTripleClickEvent so DOM doesn't get confused.
  • kwq/KWQColor.mm: (QColor::hsv): Fixed marklar divide by 0 problemn.
3:50 PM Changeset in webkit [2077] by darin
  • 4 edits in trunk/WebKit

Fix bug where image documents were broken.

  • WebCoreSupport.subproj/WebImageRenderer.m: (-[WebImageRenderer drawClippedToValidInRect:fromRect:]): loadStatus of 0 means the whole image is ready, not 0 scan lines; so check > 0, not >= 0.
  • WebKit.pbproj/project.pbxproj: Let Project Builder be the boss of me.
3:18 PM Changeset in webkit [2076] by darin
  • 16 edits in trunk/WebCore

WebCore:

  • fixed 2936933 -- Pages that claim to be UTF-8 but contain invalid sequences do not render at all

Misc. speed improvements. Total 2.6% speedup for cvs-base.

Improvements for signals.

  • kwq/KWQChar.mm: (QChar::isSpace): Add fast case for ASCII. (QChar::lower): Add fast case for ASCII. (QChar::upper): Add fast case for ASCII.
  • kwq/qt/qcolor.h: Just store RGB values, not NSColor objects.
  • kwq/KWQColor.mm: (QColor::QColor): No need to set color to nil. (QColor::name): Use QString::sprintf instead of NSString. (QColor::setNamedColor): Use KWQInvalidColor instead of nil. (QColor::getNSColor): Make an autoreleased NSColor.
  • kwq/KWQKHTMLPartImpl.mm: (moveWidgetsAside): Use isWidget() instead of dynamic_cast.
  • kwq/KWQSignal.h: use a QValueList instead of a fixed-size array.
  • kwq/KWQSignal.mm: (KWQSignal::connect): Append to list. (KWQSignal::disconnect): Remove from list. (KWQSignal::call): Use the QValueList.
  • kwq/KWQSlot.mm: (KWQSlot::call): Use static_cast instead of dynamic_cast where possible.
  • kwq/qt/qstring.h: Add return value to forceUnicode.
  • kwq/KWQString.mm: (QString::fromStringWithEncoding): Implemented using the Text Encoding Converter instead of CFString. (compareIgnoringCaseForASCIIOnly): New function. Faster find. (QString::find): Separate case-sensitive from case-insensitive and speed up both of them. (QString::stripWhiteSpace): Use the new forceUnicode for simplicity. (QString::simplifyWhiteSpace): Ditto. (QString::insert): Ditto. (QString::remove): Ditto. (QString::forceUnicode): Return the unicode pointer. (QString::fill): Use the new forceUnicode for simplicity.
  • kwq/WebCoreBridge.mm: (-[WebCoreBridge mouseUp:]): Fix two bugs. First, don't treat a slow click as a double click. Second, deliver a mouse release event even for a double click, as Qt does.

WebBrowser:

Don't update the tool tip rectangles every time we update the
background image. This makes things a little faster.

  • TextFieldWithControls.h: Boolean for whether tool tip rectangles are up to date.
  • TextFieldWithControls.m: (-[TextFieldWithControls updateToolTips]): Do work only if flag is NO. Set flag to YES when done. (-[TextFieldWithControls backgroundImage]): Don't update the tool tip rectangles here. (-[TextFieldWithControls setFrameOrigin:]): Mark the tool tip rectangles as out of date. (-[TextFieldWithControls setFrameSize:]): Mark the tool tip rectangles as out of date. (-[TextFieldWithControls drawRect:]): Update the tool tips if needed. (-[TextFieldWithControls showRightButton:]): Mark the tool tip rectangles as out of date. (-[TextFieldWithControls setLeftButtonImage:withOrigin:]): Ditto. (-[TextFieldWithControls setRightButtonImage:withOrigin:]): Ditto.
3:10 PM Changeset in webkit [2075] by rjw
  • 18 edits in trunk
  • History.subproj/WebHistory.h:
  • History.subproj/WebHistory.m: (-[WebHistory addEntryForURLString:]): (-[WebHistory containsEntryForURLString:]): Added URL string API. We should remove use of NSURL from this API.
  • History.subproj/WebHistoryPrivate.h:
  • History.subproj/WebHistoryPrivate.m: (-[WebHistoryPrivate _entryForURLString:]): (-[WebHistoryPrivate containsEntryForURLString:]): Implementation of above.
  • WebCoreSupport.subproj/WebTextRenderer.m: (-[WebTextRenderer drawGlyphs:numGlyphs:fromGlyphPosition:toGlyphPosition:atPoint:withPadding:withTextColor:backgroundColor:]): (-[WebTextRenderer slowFloatWidthForCharacters:stringLength:fromCharacterPostion:numberOfCharacters:applyRounding:]): Use ((int)(x + (1.0 - FLT_EPSILON))) instead of ceil().
  • khtml/css/cssstyleselector.cpp: Fixed bug in KHTML that incorrectly modified '' in fragment part of URL.
  • kwq/KWQKHistoryProvider.mm: Use string based API to add entry. May eventually remove NSURL from history entirely.
  • kwq/KWQKURL.mm: (KURL::canonicalURL): Simply return the urlString.

(KURL::parse):
Added "/" to http and https empty path URLs.

  • kwq/KWQString.mm: (QString::mid): Optimize ascii case.
  • kwq/WebCoreHistory.h:
  • kwq/WebCoreHistory.m: (-[WebCoreHistory addEntryForURLString:]): Use string based API to add entry.
  • kwq/kdecore/kurl.h: Defined methods to access canonical components, currently conditionally excluded.

No longer commit history in the browser, now done in WebKit.

  • BrowserDocument.m:
  • LocationChangeHandler.m: (-[LocationChangeHandler locationChangeCommittedForDataSource:]):

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:].
Note: See TracTimeline for information about the timeline view.