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

Timeline



Apr 22, 2002:

6:37 PM Changeset in webkit [1063] by darin
  • 4 edits in trunk/WebCore

Fix width of non-breaking spaces. There's code to hack this
at the KDE level for fonts that don't have non-breaking space
characters, but we need it even for fonts that do.

Not sure why this worked better on Puma, but now it's fine on
both Puma and Jaguar.

  • kwq/KWQFontMetrics.mm: (ConvertCharactersToGlyphs): New. Turns non-breaking spaces into normal spaces if needed. (-[KWQLayoutInfo drawString:atPoint:withFont:color:]), (-[KWQLayoutInfo _initializeCaches]), (_rectForString): Change to call ConvertCharactersToGlyphs instead of ATSUConvertCharToGlyphs.
6:08 PM Changeset in webkit [1062] by cblu
  • 7 edits in trunk/WebKit

WebFoundation:

  • Misc.subproj/IFError.h:
  • Misc.subproj/IFError.m: (+[IFError initialize]):

Removed old WebKit errors, added IFCantShowMIMEType.

WebKit:

  • WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]):

Send an IFError when we're asked to show content we can't handle.

  • WebView.subproj/IFWebDataSourcePrivate.mm:

Cleaning

WebBrowser:

  • LocationChangeHandler.m: (-[LocationChangeHandler requestContentPolicyForMIMEType:]):

Cleaned this up a little.

5:09 PM Changeset in webkit [1061] by cblu
  • 8 edits in trunk/WebKit

WebBrowser:

  • LocationChangeHandler.m: (-[LocationChangeHandler requestContentPolicyForMIMEType:]):

A nil type means that this is a file URL.

WebKit:

  • WebKit.pbproj/project.pbxproj:
  • WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController haveContentPolicy:andPath:forLocationChangeHandler:]):
  • WebView.subproj/IFWebDataSourcePrivate.h:
  • WebView.subproj/IFWebDataSourcePrivate.mm:

Fixed frames which I broke in the previous commit. We now set the content policy
on all child frames instead of just the main frame.

3:19 PM Changeset in webkit [1060] by darin
  • 3 edits in trunk/WebCore

Updated log.

3:14 PM Changeset in webkit [1059] by darin
  • 7 edits
    2 deletes in trunk/WebCore
  • kwq/qt/qpixmap.h:
  • kwq/KWQPixmap.mm: (QPixmap::QPixmap): Clear needsCopyOnWrite flag in all the constructors other than the copy constructor. Set it in the copy constructor. (QPixmap::~QPixmap): Simplify. (QPixmap::mask): Always return 0 rather than leaking a QBitmap each time, since Qt uses 0 to mean "no mask". (QPixmap::isNull): Simplify. (QPixmap::resize): Do the copy here if we need it, and do the setScalesWhenResized: call in here instead of trying to do it elsewhere. (QPixmap::xForm): Only copy the pixmap once. (QPixmap::operator=): Set the needsCopyOnWrite flag. Also change the retain/release idiom around so we don't need to check for self-assignment.
  • khtml/ecma/Makefile.am: Don't build kjs_debugwin any more.
  • khtml/ecma/kjs_debugwin.cpp: Removed.
  • khtml/ecma/kjs_debugwin.h: Removed.
11:28 AM Changeset in webkit [1058] by cblu
  • 20 edits in trunk

WebBrowser:

  • LocationChangeHandler.m: (-[LocationChangeHandler requestContentPolicyForMIMEType:]): Initial implementation of Alex's interaction with out content policy API. Simply made Alex show types that we handle inline and save types we don't
  • WebController.m: Removed some deprecated methods.

WebKit:

  • MIME.subproj/IFMIMEHandler.h:
  • MIME.subproj/IFMIMEHandler.m: (+[IFMIMEHandler showableMIMETypes]): (+[IFMIMEHandler saveFileWithPath:andData:]): (+[IFMIMEHandler saveAndOpenFileWithPath:andData:]):

Added the above factory methods.

  • WebView.subproj/IFBaseWebController.mm: (-[IFBaseWebController haveContentPolicy:andPath:forLocationChangeHandler:]):

Save the content policy and download path on the datasource.

  • WebView.subproj/IFMainURLHandleClient.mm: (-[IFMainURLHandleClient IFURLHandleResourceDidCancelLoading:]): (-[IFMainURLHandleClient IFURLHandleResourceDidFinishLoading:data:]): (-[IFMainURLHandleClient IFURLHandle:resourceDataDidBecomeAvailable:]): (-[IFMainURLHandleClient IFURLHandle:resourceDidFailLoadingWithResult:]):

Made IFMainURLHandleClient use our new content policy API rather than
IFDownloadHandler.

  • WebView.subproj/IFWebController.h:

Removed some deprecated methods.

  • WebView.subproj/IFWebDataSourcePrivate.h:
  • WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _downloadPath]): (-[IFWebDataSource _setDownloadPath:]): (-[IFWebDataSource _contentPolicy]): (-[IFWebDataSource _setContentPolicy:]):

Added the above methods.

WebCore:

Added a new method to WCPluginDatabase allHandledMIMETypes.
It returns an array of the mime types that plug-ins handle.

  • kwq/WCPluginDatabase.h:
  • kwq/WCPluginDatabase.mm: (-[WCPluginDatabase allHandledMIMETypes]):
9:35 AM Changeset in webkit [1057] by darin
  • 2 edits in trunk/WebKit

Fix ChangeLog typo.

7:39 AM Changeset in webkit [1056] by darin
  • 4 edits in trunk/WebKit
  • Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]): Fix the fix. It was bumping argsCount even when not putting an argument into the array.
12:02 AM Changeset in webkit [1055] by mjs
  • 4 edits in trunk/WebKit

Fix a plugins memory trasher that was making Alexander crash on
the abcnews.com test page in cvs-torture-test:

  • Plugins.subproj/IFPluginView.mm: (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]): Use a new maxArguments variable to size the argument and value arrays - with the old code argsCount would end up twice the size it should be, and the arguments would all get written past the end of the argument array.

Apr 20, 2002:

7:52 AM Changeset in webkit [1054] by darin
  • 9 edits in trunk/WebCore

Problems loading iframes seemed to be due to NSURL objects that
were not normalized, so I made the NSURL creation all be done
by KURL, which fixed the problem.

  • kwq/KWQKHTMLPart.mm: (KHTMLPart::requestFrame), (KHTMLPart::submitForm), (KHTMLPart::khtmlMouseReleaseEvent):
  • kwq/KWQKjobclasses.mm: Call getNSURL instead of creating NSURLs by converting to strings.
  • kwq/kdecore/kurl.h:
  • kwq/KWQKURL.mm: (KURL::getNSURL): New.

Apr 19, 2002:

3:09 PM Changeset in webkit [1053] by kocienda
  • 21 edits
    2 adds in trunk

2002-04-19 Kenneth Kocienda <kocienda@apple.com>

WebFoundation:

Changes to support submission of forms using HTTP POST.

These changes focus on adding the form data to a post request.

  • CacheLoader.subproj/IFHTTPURLProtocolHandler.m: (-[IFHTTPURLProtocolHandler addRequestMessageBody:]):
  • ChangeLog:
  • WebFoundation.pbproj/project.pbxproj:

WebCore:

Changes to support submission of forms using HTTP POST.

These changes move us over to using the new WebKit interface for creating
WebDataSource instances, one that passes a handle rather than just a URL,
enabling the specific request method to be communicated to WebFoundation.
This fixes:

Radar 2903602 (IFWebDataSource API must passes attributes and flags to IFURLHandle)

Fixed handling of password fields:

Radar 2903605 (WebCore form processing drops out password input data)

Added some hacks to get form <input type=image ...> working correctly:

Radar 2907198 (Forms not getting submitted correctly when <input type=image>)

  • khtml/rendering/render_form.cpp: (RenderImageButton::RenderImageButton), (RenderImageButton::~RenderImageButton), (RenderImageButton::printObject):
  • khtml/rendering/render_form.h:
  • kwq/KWQKHTMLPart.mm: (KHTMLPart::requestFrame), (KHTMLPart::submitForm), (KHTMLPart::khtmlMouseReleaseEvent):
  • kwq/KWQNSTextField.mm: (-[KWQNSTextField setPasswordMode:]), (-[KWQNSTextField textDidChange:]), (-[KWQNSTextField stringValue]):
  • kwq/Makefile.am:
  • kwq/KWQInvisibleButton.h: Added
  • kwq/KWQInvisibleButton.mm: Added

WebKit:

Changes to support submission of forms using HTTP POST.

These changes move us over to using the new WebKit interface for creating
WebDataSource instances, one that passes a handle rather than just a URL,
enabling the specific request method to be communicated to WebFoundation.
This fixes:

Radar 2903602 (IFWebDataSource API must passes attributes and flags to IFURLHandle)

  • WebKit.pbproj/project.pbxproj:
  • WebView.subproj/IFWebDataSource.h:
  • WebView.subproj/IFWebDataSource.mm: (IFWebDataSourceMake), (-[IFWebDataSource initWithURL:]), (-[IFWebDataSource initWithHandle:]):
  • WebView.subproj/IFWebDataSourcePrivate.h:
  • WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:]):
9:57 AM Changeset in webkit [1052] by rjw
  • 6 edits in trunk/WebKit

Updated comments to reflect new API.

8:45 AM Changeset in webkit [1051] by darin
  • 6 edits in trunk/WebKit
  • Plugins.subproj/IFPluginView.h: Re-add the attributes and values arrays, since they need to live the life of the plugin.
  • Plugins.subproj/IFPluginView.mm: (newCString): New function to make a C++ new-allocated C string from an NSString. (-[IFPluginView initWithFrame:plugin:url:mime:arguments:mode:]): Move code to allocate the arrays back here. (-[IFPluginView dealloc]): Deallocate the arrays and their contents. (-[IFPluginView start]): Simplify now that it does no work.
Note: See TracTimeline for information about the timeline view.