=== Alexander-31 === 2002-11-07 Maciej Stachowiak - fixed 3094778 - REGRESSION: Assert on logout from schwab.com (probably fixed it anyway - I'm flying blind on this one) * WebCoreSupport.subproj/WebBridge.m: (-[WebBridge createWindowWithURL:frameName:]): Use a nil request if the URL was nil, instead of making a request that contains a nil URL. 2002-11-07 Maciej Stachowiak Changed things so that creating a window takes a request rather than a URL and referrer. * WebCoreSupport.subproj/WebBridge.m: (-[WebBridge createWindowWithURL:frameName:]): * WebView.subproj/WebControllerPrivate.h: * WebView.subproj/WebControllerPrivate.m: (-[WebController _openNewWindowWithRequest:behind:]): * WebView.subproj/WebDataSourcePrivate.h: * WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSourcePrivate dealloc]): (-[WebDataSource _setTriggeringEvent:]): (-[WebDataSource _triggeringEvent]): * WebView.subproj/WebDefaultContextMenuDelegate.m: (-[WebDefaultContextMenuDelegate openNewWindowWithURL:]): * WebView.subproj/WebFrame.m: (-[WebFrame setProvisionalDataSource:]): (-[WebFrame findOrCreateFramedNamed:]): * WebView.subproj/WebFramePrivate.m: (-[WebFrame _continueAfterClickPolicyForEvent:request:]): * WebView.subproj/WebWindowOperationsDelegate.h: 2002-11-06 Darin Adler - fixed problem where files small enough to fit entirely in the buffer (8K or less) would not be decoded * Downloads.subproj/WebDownloadHandler.m: (-[WebDownloadHandler decodeData:]): Added. Moved most of the code from receivedData into here. (-[WebDownloadHandler receivedData:]): Changed to call decodeData. (-[WebDownloadHandler finishedLoading]): Call decodeData on any remaining bytes rather than writing them straight out to the data fork. 2002-11-06 Richard Williamson More work on rendering scripts. Now most complex scripts render correctly. Working new features include: bidi, diacriticals, cursive forms, and arabic ligatures. Selection of text rendered in these scripts, is however, not working. Also, line height is incorrect when renderering combined below glyphs. ajami is, sadly, horrendously broken. * Misc.subproj/WebUnicode.m: (glyphVariantLogical): (shapedString): * WebCoreSupport.subproj/WebTextRenderer.m: (-[WebTextRenderer drawCharacters:stringLength:fromCharacterPosition:toCharacterPosition:atPoint:withPadding:withTextColor:backgroundColor:rightToLeft:]): (-[WebTextRenderer _floatWidthForCharacters:stringLength:fromCharacterPosition:numberOfCharacters:withPadding:applyRounding:attemptFontSubstitution:widths:fonts:glyphs:numGlyphs:]): 2002-11-06 John Sullivan * Bookmarks.subproj/WebBookmark.m: (+[WebBookmark bookmarkOfType:]): made this handle WebBookmarkTypeProxy 2002-11-06 Darin Adler - fixed bug that affected BinHex-encoded files with no resource fork * Downloads.subproj/WebBinHexDecoder.m: (-[WebBinHexDecoder decodeData:dataForkData:resourceForkData:]): Don't decode the resource fork unless done with the data fork. * Downloads.subproj/WebDownloadHandler.m: (-[WebDownloadHandler receivedData:]): Set the forks to nil before calling through. 2002-11-06 Darin Adler * Downloads.subproj/WebMacBinaryDecoder.m: (+[WebMacBinaryDecoder canDecodeHeaderData:]): Fix == 129 check that was supposed to be <= 129. * English.lproj/StringsNotToBeLocalized.txt: Update for recent changes. 2002-11-06 Darin Adler * Downloads.subproj/WebBinHexDecoder.m: (-[WebBinHexDecoder decodeIntoBuffer:size:]): Fix an off-by-one error handling repeat counts. * WebKit.pbproj/project.pbxproj: Fix group name I accidentally mangled. 2002-11-06 Darin Adler >>>>>>> 1.1102 - added a BinHex decoder and did a little work on the MacBinary decoder I'm not supposed to be working on this, but I didn't feel like doing "real" work. * Downloads.subproj/WebBinHexDecoder.h: Added. * Downloads.subproj/WebBinHexDecoder.m: Added. * WebKit.pbproj/project.pbxproj: Added WebBinHexDecoder. * Downloads.subproj/WebDownloadDecoder.h: Added WEB_DOWNLOAD_DECODER_MINIMUM_HEADER_LENGTH. * Downloads.subproj/WebDownloadHandler.m: (-[WebDownloadHandler closeFile]): Check to be sure we don't close the same file twice. * Downloads.subproj/WebMacBinaryDecoder.h: Added _scriptCode. * Downloads.subproj/WebMacBinaryDecoder.m: (+[WebMacBinaryDecoder canDecodeHeaderData:]): Added check of MacBinary version field. (-[WebMacBinaryDecoder decodeData:dataForkData:resourceForkData:]): Added MacBinary III part that gets the script code. (-[WebMacBinaryDecoder filename]): Use the script code. 2002-11-06 Maciej Stachowiak Took URL field out of click policy - open in new window policy will always open the request URL. * WebView.subproj/WebControllerPolicyDelegate.h: * WebView.subproj/WebControllerPolicyDelegate.m: (-[WebPolicyPrivate dealloc]): (+[WebURLPolicy webPolicyWithURLAction:]): (+[WebFileURLPolicy webPolicyWithFileAction:]): (+[WebContentPolicy webPolicyWithContentAction:andPath:]): * WebView.subproj/WebDefaultPolicyDelegate.m: (-[WebDefaultPolicyDelegate clickPolicyForAction:andRequest:inFrame:]): * WebView.subproj/WebFramePrivate.m: (-[WebFrame _continueAfterClickPolicyForEvent:request:]): 2002-11-06 Chris Blumenberg Support MacBinary I by checking that bytes 99-127 are 0. Also check byte 82 for all formats. * Downloads.subproj/WebMacBinaryDecoder.m: (+[WebMacBinaryDecoder canDecodeHeaderData:]): 2002-11-06 Ken Kocienda Call new WebHTTPResourceRequest method to set the amount of time to cache a 404 response when trying to fetch a favicon. This change helps to fix this bug: Radar 3004422 (Loader should cache misses) * Misc.subproj/WebIconLoader.m: (-[WebIconLoader startLoading]) 2002-11-05 Maciej Stachowiak Reworked clickPolicy arguments to be closer to proposed version. * WebKit.exp: * WebView.subproj/WebControllerPolicyDelegate.h: * WebView.subproj/WebControllerPolicyDelegate.m: * WebView.subproj/WebDefaultPolicyDelegate.m: (-[WebDefaultPolicyDelegate clickPolicyForAction:andRequest:inFrame:]): * WebView.subproj/WebFramePrivate.h: * WebView.subproj/WebFramePrivate.m: (-[WebFrame _actionInformationForNavigationType:event:]): (-[WebFrame _continueAfterClickPolicyForEvent:request:]): 2002-11-05 Darin Adler * WebCoreSupport.subproj/WebTextRenderer.m: Made a slightly simpler and faster version of the new "lose precision" CEIL_TO_INT macro. 2002-11-05 Richard Williamson Fixed a couple of issues that Dave highlighted w/ his whitespace fixes. CG sometimes introduces very small 'error' in metrics, specifically we saw character widths of 20.0000019 that should have been 20. As a work-around we loose precision beyond the 1000th place. Also, always ceil spaces. * WebCoreSupport.subproj/WebTextRenderer.m: (-[WebTextRenderer _floatWidthForCharacters:stringLength:fromCharacterPosition:numberOfCharacters:withPadding:applyRounding:attemptFontSubstitution:widths:fonts:glyphs:numGlyphs:]): 2002-11-05 Darin Adler - fixed 3084704 -- crash in HTMLTokenizer on page with JavaScript HTMLDocument::Close inside a