Timeline
Apr 18, 2003:
- 2:20 PM Changeset in webkit [4145] by
-
- 3 edits in trunk/WebCore
Reviewed by Darin.
- fixed 3191892 - Popup blocking prevents window.open with '_self' as target (superbitdvd.com)
- khtml/ecma/kjs_html.h:
- khtml/ecma/kjs_window.cpp: (WindowFunc::tryCall): Don't apply popup blocking if the call would open something in an existing frame (inlcuding the special _self, _top and _parent frames.
- 2:20 PM Changeset in webkit [4144] by
-
- 3 edits in trunk/WebCore
Make sure display:table is not accidentally mutated to
display:block.
Reviewed by darin
- khtml/css/cssstyleselector.cpp:
- 2:14 PM Changeset in webkit [4143] by
-
- 5 edits in trunk/WebCore
Reviewed by Darin.
- fixed 3081926 - bookmarklet to count and display mailto links fails
- khtml/ecma/kjs_html.cpp: (KJS::HTMLElementFunction::tryCall): Implement custom toString JavaScript method which calls the existing toString C++ custom method.
- khtml/ecma/kjs_html.h: Added AnchorToString.
- khtml/ecma/kjs_html.lut.h: Regenerated.
- 1:15 PM Changeset in webkit [4142] by
-
- 3 edits in trunk/WebCore
Fixed: 3172389 - Safari doesn't parse attributes within the OBJECT tag
Reviewed by dave.
- khtml/rendering/render_frames.cpp: (RenderPartObject::updateWidget): add attributes from within the OBJECT tag to params, the list of attributes we pass to plug-ins. Don't override attributes that are already in params.
- 10:44 AM Changeset in webkit [4141] by
-
- 3 edits in trunk/WebCore
Make sure display:none is ignored and not accidentally mutated
to display:block.
Reviewed by darin
- khtml/css/cssstyleselector.cpp:
- 9:20 AM Changeset in webkit [4140] by
-
- 10 edits in trunk/WebKit
WebKit:
Fixed: 3139385 - don't accept drags from other frames in the same WebView
Reviewed by john.
- WebView.subproj/WebFrameView.m: moved drag destination code from WebFrameView to WebView (-[WebFrameView initWithFrame:]): removed drag registration code
- WebView.subproj/WebFrameViewPrivate.h:
- WebView.subproj/WebFrameViewPrivate.m:
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView dragImage:at:offset:event:pasteboard:source:slideBack:]): unregister drag types on the WebView (-[WebHTMLView draggedImage:endedAt:operation:]): reregister drag types on the WebView
- WebView.subproj/WebImageView.m: (-[WebImageView mouseDragged:]): unregister drag types on the WebView (-[WebImageView draggedImage:endedAt:operation:]): reregister drag types on the WebView
- WebView.subproj/WebView.m: moved drag destination code from WebFrameView to WebView (-[WebView draggingEntered:]): moved from WebFrameView (-[WebView prepareForDragOperation:]): ditto (-[WebView performDragOperation:]): ditto (-[WebView concludeDragOperation:]): ditto
- WebView.subproj/WebViewPrivate.h:
- WebView.subproj/WebViewPrivate.m: (-[WebView _registerDraggedTypes]): ditto
WebBrowser:
- Fixed regression. Don't append "txt" to files that already end in "txt". Doh!
Reviewed by john.
- BrowserDocument.m: (-[BrowserDocument panel:userEnteredFilename:confirmed:]):
Apr 17, 2003:
- 7:14 PM Changeset in webkit [4139] by
-
- 2 edits in trunk/WebKit
Reviewed by Maciej.
- History.subproj/WebHistoryPrivate.m: (-[WebHistoryPrivate _loadHistoryGuts:]): if we can't load the file as a dictionary, try loading it the old-fashioned array way. This makes the history file format change forward-compatible.
- 6:30 PM Changeset in webkit [4138] by
-
- 3 edits in trunk/WebKit
WebKit:
Fixed: 3160751 - Can't use non-'.txt' file extension for text files?
Reviewed by mjs.
- English.lproj/StringsNotToBeLocalized.txt:
- Misc.subproj/WebNSURLResponseExtras.m: (-[NSURL _web_suggestedFilenameForSavingWithMIMEType:]): don't correct the file extension for plain text files
WebBrowser:
Fixed: 3160751 - Can't use non-'.txt' file extension for text files?
Reviewed by mjs
- BrowserDocument.m: (-[BrowserDocument dataSourceToSave]): new (-[BrowserDocument isSavingPlainText]): new (-[BrowserDocument prepareSavePanel:]): newly implemented, make the save panel lenient about plain text (-[BrowserDocument panel:userEnteredFilename:confirmed:]): mimic TextEdit when saving plain text. If the extension ends in something other that ".txt", suggest appending ".txt" (-[BrowserDocument dataRepresentationOfType:]): call dataSourceToSave (-[BrowserDocument displayName]): call dataSourceToSave (-[BrowserDocument fileType]): call dataSourceToSave
- English.lproj/Localizable.strings:
- 5:43 PM Changeset in webkit [4137] by
-
- 2 edits in trunk/WebKit
- fixed 3232332 -- History file should be versioned since we might change it in the future
- fixed 3220355 -- Console error message at launch when there's no history file
Note: a downside of this change is that the history formats
before and after this change are not compatible. You will
get no history each time you cross that boundary by running
different Safaris.
Reviewed by Maciej.
- History.subproj/WebHistoryPrivate.m: (-[WebHistoryPrivate _loadHistoryGuts:]): check for file-doesn't-exist case before complaining about being unable to read existing file; expect to read dictionary rather than array, and check version in dictionary. (-[WebHistoryPrivate _saveHistoryGuts:]): save dictionary that includes version as well as array of items by date.
- 5:40 PM Changeset in webkit [4136] by
-
- 2 edits in trunk/WebKit
Fixed typos in headerdoc comments.
- WebView.subproj/WebFrame.h:
- 4:44 PM Changeset in webkit [4135] by
-
- 4 edits in trunk/WebCore
Reviewed by Maciej.
- fixed a bug caught by libgmalloc on Vicki's test machine
- khtml/xml/dom_docimpl.cpp: (DocumentImpl::detach): Make sure we don't have a dangling paint device after detaching from the KTHMLView. (DocumentImpl::setPaintDevice): Allow a 0 parameter.
- kwq/WebCoreBridge.mm: (nowPrinting): Handle the case of a 0 paint device.
- 4:22 PM Changeset in webkit [4134] by
-
- 3 edits in branches/Safari-73~1-branch/WebKit/Misc.subproj
- merged build fixes from HEAD
2003-04-17 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- fix build on latest Panther due to conflicts with the latest Foundation.
- Database.subproj/WebDatabase.h:
- Database.subproj/WebDatabase.m: (-[WebDatabase open]): Removed boolean return. (-[WebDatabase close]): Likewise.
- Database.subproj/WebFileDatabase.m: (-[WebFileDatabase open]): Likewise. (-[WebFileDatabase close]): Likewise.
- 4:20 PM Changeset in webkit [4133] by
-
- 3 edits in trunk/WebKit/Misc.subproj
Reviewed by Darin.
- fix build on latest Panther due to conflicts with the latest Foundation.
- Database.subproj/WebDatabase.h:
- Database.subproj/WebDatabase.m: (-[WebDatabase open]): Removed boolean return. (-[WebDatabase close]): Likewise.
- Database.subproj/WebFileDatabase.m: (-[WebFileDatabase open]): Likewise. (-[WebFileDatabase close]): Likewise.
- 11:54 AM Changeset in webkit [4132]
-
- 8 copies in tags/Safari-73~3
This commit was manufactured by cvs2svn to create tag 'Safari-73~3'.
- 11:54 AM Changeset in webkit [4131] by
-
- 2 edits in branches/Safari-73~1-branch/WebKit
Rolled in change from trunk.
2003-04-17 Richard Williamson <rjw@apple.com>
Drop down yet one more level to avoid intialization horkage.
Call objc_getClass() instead of NSClassFromString().
Reviewed by darin.
- WebView.subproj/WebHTMLViewPrivate.m: (+[WebHTMLView load]):
- 11:51 AM Changeset in webkit [4130] by
-
- 2 edits in trunk/WebKit
Drop down yet one more level to avoid intialization horkage.
Call objc_getClass() instead of NSClassFromString().
Reviewed by darin.
- WebView.subproj/WebHTMLViewPrivate.m: (+[WebHTMLView load]):
- 11:43 AM Changeset in webkit [4129] by
-
- 2 edits in branches/Safari-73~1-branch/WebKit
Rolled in change from trunk.
2003-04-17 Darin Adler <Darin Adler>
Reviewed by John.
- WebView.subproj/WebDataProtocol.m: (+[NSURLRequest _webDataRequestURLForData:]): Register the WebDataProtocol here instead of doing it with a load method, since this is the bottleneck that must be used before that protocol is needed. It's good to have one less load method, and this may fix a problem reported by a Panther WebKit client on intrigue-dev too.
- 9:10 AM Changeset in webkit [4128] by
-
- 2 edits in trunk/WebKit
Reviewed by John.
- WebView.subproj/WebDataProtocol.m: (+[NSURLRequest _webDataRequestURLForData:]): Register the WebDataProtocol here instead of doing it with a load method, since this is the bottleneck that must be used before that protocol is needed. It's good to have one less load method, and this may fix a problem reported by a Panther WebKit client on intrigue-dev too.
Apr 16, 2003:
- 3:26 PM Changeset in webkit [4127]
-
- 6 copies in tags/Safari-73~2
This commit was manufactured by cvs2svn to create tag 'Safari-73~2'.
- 3:26 PM Changeset in webkit [4126] by
-
- 2 edits in branches/Safari-73~1-branch/WebKit
WebFoundation:
Rolled in change from trunk.
2003-04-16 Ken Kocienda <kocienda@apple.com>
Reviewed by Darin
Fixed synchronous loading API. When deciding on the new API,
we made a bonehead play which removed the ability to access
the error object associated with the load. Fixed.
- CacheLoader.subproj/NSURLConnection.h:
- CacheLoader.subproj/NSURLConnection.m:
- CacheLoader.subproj/WebSynchronousDelegate.h:
- CacheLoader.subproj/WebSynchronousDelegate.m: (-[WebSynchronousDelegate error]):
WebKit:
Rolled in change from trunk.
2003-04-16 Ken Kocienda <kocienda@apple.com>
Reviewed by Darin
Fixed call to load synchronous URL. Now conforms to new API
which allows callers to access error object associated with
the load.
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _loadItem:withLoadType:]):
- 3:08 PM Changeset in webkit [4125] by
-
- 2 edits in trunk/WebKit
WebFoundation:
Reviewed by Darin
Fixed synchronous loading API. When deciding on the new API,
we made a bonehead play which removed the ability to access
the error object associated with the load. Fixed.
- CacheLoader.subproj/NSURLConnection.h:
- CacheLoader.subproj/NSURLConnection.m:
- CacheLoader.subproj/WebSynchronousDelegate.h:
- CacheLoader.subproj/WebSynchronousDelegate.m: (-[WebSynchronousDelegate error]):
WebKit:
Reviewed by Darin
Fixed call to load synchronous URL. Now conforms to new API
which allows callers to access error object associated with
the load.
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _loadItem:withLoadType:]):
- 1:38 PM Changeset in webkit [4124] by
-
- 3 edits in trunk/WebKit
- Progressively load plain text in our text view.
- Fixed: 3177603 - vCards appear in browser, not downloaded
Reviewed by darin.
- WebView.subproj/WebTextRepresentation.m: (-[WebTextRepresentation setDataSource:]): added FIXME about document source of RTF not working (-[WebTextRepresentation receivedData:withDataSource:]): feed data to the text view, progressively for plain text
- WebView.subproj/WebTextView.m: (+[WebTextView unsupportedTextMIMETypes]): include text/directory, another vcard MIME type (-[WebTextView setDataSource:]): do 1-time attribute settings (-[WebTextView dataSourceUpdated:]): do nothing
- 1:34 PM Changeset in webkit [4123] by
-
- 2 edits in trunk/WebKit
WebFoundation:
Reviewed by David
Added API-approved NSURLCacheStoragePolicy enum.
Removed NSURLProtocolClient.h file. Rolled protocol
declaration in NSURLProtocol.h
Moved all NSURLProtocolClient implementors to API-approved
interface.
Did some code reorganization with regard to cached response
management in NSURLConnection implementation and its interaction
with NSURLProtocol. This is a partial step towards implementing
the final API.
Moved some more cacheObject usages in the program text to
use cachedResponse instead.
Added a number of API FIXME markers to indicate places where
more work needs to be done to complete the API transition.
- CacheLoader.subproj/NSURLCache.h:
- CacheLoader.subproj/NSURLConnection.m: (-[NSURLConnection cachedResponse]): (-[NSURLConnection setCacheObject:]): (-[NSURLConnection _chooseCachedResponse]): (-[NSURLConnection _beginLoad]): (-[NSURLConnection _scheduleOriginLoad]): (-[NSURLConnection _prepareOriginLoad]): (-[NSURLConnection _beginOriginLoad]): (-[NSURLConnection _performTimeOut]): (-[NSURLConnection _wasRedirectedToRequest:redirectResponse:]): (-[NSURLConnection _didReceiveResponse:cacheStoragePolicy:]): (-[NSURLConnection _didLoadData:]): (-[NSURLConnection _invalidateCacheObject]): (-[NSURLConnection _didFinishLoading]): (-[NSURLConnection _didFailWithError:]): (-[NSURLConnectionInternal dealloc]): (-[NSURLConnectionInternal cachedResponse]): (-[NSURLConnectionInternal URLProtocol:wasRedirectedToRequest:redirectResponse:]): (-[NSURLConnectionInternal URLProtocol:cachedResponseIsValid:]): (-[NSURLConnectionInternal URLProtocol:didReceiveResponse:cacheStoragePolicy:]): (-[NSURLConnectionInternal URLProtocol:didLoadData:]): (-[NSURLConnectionInternal URLProtocolDidFinishLoading:]): (-[NSURLConnectionInternal URLProtocol:didFailWithError:]): (-[NSURLConnectionInternal _invalidateCacheObject]): (-[NSURLConnectionInternal _setWaitingForCallback:]):
- CacheLoader.subproj/NSURLProtocol.h:
- CacheLoader.subproj/NSURLProtocol.m: (-[NSURLProtocol initWithRequest:cachedResponse:client:]): (-[NSURLProtocol client]): (-[NSURLProtocol startLoading]): (-[NSURLProtocol _invalidateCacheObject]):
- CacheLoader.subproj/NSURLProtocolPrivate.h:
- ProtocolHandlers.subproj/WebAboutProtocol.m: (-[WebAboutProtocol startLoading]):
- ProtocolHandlers.subproj/WebCFNetworkHTTPProtocol.m: (-[WebCFNetworkHTTPProtocol addAuthenticationFieldsToHeader]): (-[WebCFNetworkHTTPProtocol startLoading]): (-[WebCFNetworkHTTPProtocol retryAfterAuthenticationFailure:]): (-[WebCFNetworkHTTPProtocol retryAfterConnectingToInternet]): (-[WebCFNetworkHTTPProtocol continueAfterEndEncountered]): (-[WebCFNetworkHTTPProtocol continueHeaderReadAfter3xxResponseAndCall:]): (-[WebCFNetworkHTTPProtocol performHTTPHeaderRead:andCall:]): (-[WebCFNetworkHTTPProtocol performStreamRead:]): (-[WebCFNetworkHTTPProtocol didAddCredentials:toRequest:context:]):
- ProtocolHandlers.subproj/WebFTPProtocol.m: (-[WebFTPProtocol sendResponseAvailableCallback]): (-[WebFTPProtocol startLoading]): (-[WebFTPProtocol determineErrorAndFail]): (-[WebFTPProtocol didLoadData:]): (-[WebFTPProtocol handleHasBytesAvailable]): (-[WebFTPProtocol _checkDirectoryListing]): (-[WebFTPProtocol handleEndEncountered]): (-[WebFTPProtocol handleReadStreamEvent:event:]):
- ProtocolHandlers.subproj/WebFileProtocol.m: (-[WebFileProtocol didLoadData:]): (-[WebFileProtocol startLoading]):
- ProtocolHandlers.subproj/WebHTTPProtocol.m: (-[WebHTTPProtocol startLoading]): (-[WebHTTPProtocol sendResponseAvailableCallback]): (-[WebHTTPProtocol failWithError:]): (-[WebHTTPProtocol retryWithRedirectedURLAndResultCode:]):
- ProtocolHandlers.subproj/WebSimpleHTTPProtocol.m: (-[WebSimpleHTTPProtocol startLoading]): (-[WebSimpleHTTPProtocol _extractResponseStatusLineFromBytes:length:]): (-[WebSimpleHTTPProtocol _processHTTPResultCode]): (-[WebSimpleHTTPProtocol _forwardToCFNetwork]): (-[WebSimpleHTTPProtocol _handleLoadCallback]):
- WebFoundation.pbproj/project.pbxproj:
WebKit:
Reviewed by David
Moved this NSURLProtocolClient implementor to API-approved
interface.
- WebView.subproj/WebDataProtocol.m: (-[WebDataProtocol startLoading]):
- 11:20 AM Changeset in webkit [4122] by
-
- 2 edits in trunk/WebKit
Reviewed by me
Fix deployment build breaker caused by uninitialized variable.
- WebView.subproj/WebViewPrivate.m: (-[WebView _loadBackForwardListFromOtherView:]):
- 10:21 AM Changeset in webkit [4121] by
-
- 6 edits in trunk/WebKit
Reviewed by John.
- fixed 3226281 -- REGRESSION: crash in WebHTMLView removeMouseMovedObserver closing gist.com
- Plugins.subproj/WebPluginController.m: (-[WebPluginController showStatus:]): Use _webView instead of _controller.
- WebCoreSupport.subproj/WebTextRendererFactory.m: Remove stray semicolon.
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView removeMouseMovedObserver]): Use _webView instead of _controller. (-[WebHTMLView menuForEvent:]): Ditto. (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]): Ditto.
- WebView.subproj/WebHTMLViewPrivate.h: Rename _controller to _webView.
- WebView.subproj/WebHTMLViewPrivate.m: (-[WebHTMLView _webView]): Use _web_superviewOfClass to find the WebView. This dodges possible stale unretained pointer issues with getting the WebView through the WebFrame, which is what fixes the bug. (-[WebHTMLView _updateMouseoverWithEvent:]): Use _webView instead of _controller. (+[WebHTMLView _pasteboardTypes]): Put the types in order from most preferred to least. (-[WebHTMLView _writeSelectionToPasteboard:]): Ditto.
Apr 15, 2003:
- 7:18 PM Changeset in webkit [4120] by
-
- 2 edits in trunk/WebKit
Create the dictionary for volatile values. Without this fix
values were never volatile!
Reviewed by mjs.
- WebView.subproj/WebPreferences.m: (-[WebPreferences _init]): (-[WebPreferences init]): (+[WebPreferences standardPreferences]): (-[WebPreferences dealloc]):
- 7:02 PM Changeset in webkit [4119] by
-
- 2 edits in trunk/WebKit
Fix for 3226746. Remove some ancient and apparantly invalid cruft.
Reviewed by trey.
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _setDataSource:]):
- 5:47 PM Changeset in webkit [4118] by
-
- 3 edits in trunk/WebCore
Missed a piece of the renaming on lowestPosition/rightmostPosition.
This was already reviewed by darin. Just missed landing one file.
Reviewed by darin
- khtml/rendering/render_box.cpp: (RenderBox::lowestPosition): (RenderBox::rightmostPosition):
- 5:38 PM Changeset in webkit [4117] by
-
- 2 edits in trunk/WebKit
Fixed clipping of progressive images to correctly clip.
Reviewed by darin.
- WebCoreSupport.subproj/WebImageRenderer.m: (-[WebImageRenderer drawClippedToValidInRect:fromRect:]):
- 5:28 PM Changeset in webkit [4116] by
-
- 3 edits in trunk/WebCore
3210061 - Forms auto-fill ignores maxlength attribute
Reviewed by Maciej.
- kwq/KWQTextField.mm: (-[KWQTextField setStringValue:]): We now trim down incoming values to fit the maxlength criteria. Matches the way we enforce this constraint when maxlength is set.
- 5:09 PM Changeset in webkit [4115] by
-
- 1 edit in trunk/WebCore/khtml/css/parser.y
* empty log message *
- 5:04 PM Changeset in webkit [4114] by
-
- 3 edits in trunk/WebCore
Fix 3227983 and 3229592, both the same bug involving a movable type
template:
letter-spacing: .none;
Fix is to make error-handling of exprs more generic.
Reviewed by darin
- khtml/css/parser.y:
- 4:45 PM Changeset in webkit [4113] by
-
- 8 edits in trunk/WebCore
Reviewed by Ken.
- fixed 3056913 -- please add Japanese auto-detect
- khtml/misc/decoder.cpp: (Decoder::decode): Turn on the auto-detect code if the default encoding is one of the Japanese encodings. Also change things around so the auto-detection process doesn't clobber the old chosen encoding if it does not yield a result.
- kwq/KWQCharsets.h: Add a new IsJapanese encoding flag.
- kwq/KWQTextCodec.h: Add a new isJapanese() member function, used by the above.
- kwq/mac-encodings.txt: Add the IsJapanese flag to all Japanese encodings, and add "jis7" as a synonym for ISO-2022-JP.
- kwq/make-charset-table.pl: Changed to allow flags even for unused encodings.
- kwq/KWQCharsetData.c: Regenerated.
- 4:29 PM Changeset in webkit [4112] by
-
- 14 edits in trunk/WebCore
Fix for 3220809, overflow values other than visible should not
affect the document's height (or document scrollbars). This
fixes squidfingers.com and briefcase.yahoo.com
Also laying a bunch of groundwork for overflow:auto and scroll
by adding them as supported values now.
Fixed overflow so that overflow objects now dodge floats and
don't let them intrude into their space.
Reviewed by darin
- khtml/css/cssstyleselector.cpp:
- khtml/rendering/render_block.cpp:
- khtml/rendering/render_block.h:
- khtml/rendering/render_box.cpp: (RenderBox::containingBlockWidth): (RenderBox::repaint): (RenderBox::repaintRectangle): (RenderBox::calcWidth): (RenderBox::calcAbsoluteVertical): (RenderBox::lowestPosition): (RenderBox::rightmostPosition):
- khtml/rendering/render_box.h:
- khtml/rendering/render_flow.cpp: (RenderFlow::repaint): (RenderFlow::lowestPosition): (RenderFlow::rightmostPosition):
- khtml/rendering/render_flow.h:
- khtml/rendering/render_layer.cpp: (RenderLayer::updateLayerPosition): (RenderLayer::convertToLayerCoords): (RenderLayer::scrollOffset):
- khtml/rendering/render_layer.h:
- khtml/rendering/render_object.cpp: (RenderObject::setLayouted): (RenderObject::detach):
- khtml/rendering/render_object.h:
- khtml/rendering/render_style.h:
- 3:54 PM Changeset in webkit [4111] by
-
- 3 edits in trunk/WebCore
3229318 - no back entry created when searching at lonelyplanet.com
Reviewed by Darin.
- khtml/ecma/kjs_binding.cpp: (ScriptInterpreter::wasRunByUserGesture): Treat blur/focus events as being user gestures, since they probably were caused by something the user did. This cues us to not lock history for navigations that are spawned by these events.
- 2:25 PM Changeset in webkit [4110] by
-
- 2 edits in trunk/WebKit
Tools:
Reviewed by Darin
Name change from WebCacheObject to NSCachedURLResponse.
No functional changes.
- DiskCachePeek/main.m:
- WebDiskCacheInspector/Controller.h:
- WebDiskCacheInspector/Controller.m: (-[Controller cacheObjectForPath:]): (-[Controller setFilesArrayUsingSearchString:]): (-[Controller tableView:objectValueForTableColumn:row:]): (-[Controller setCacheObject:]):
WebFoundation:
Reviewed by Darin
Name change from WebCacheObject to NSCachedURLResponse.
No functional changes.
- CacheLoader.subproj/NSURLConnection.m: (-[NSURLConnection cacheObject]): (-[NSURLConnection setCacheObject:]): (-[NSURLConnection _beginLoad]): (-[NSURLConnection _finishedLoading]): (-[NSURLConnectionInternal cacheObject]):
- CacheLoader.subproj/NSURLProtocol.h:
- CacheLoader.subproj/NSURLProtocol.m: (-[NSURLProtocol cacheObject]): (-[NSURLProtocol setCacheObject:]): (-[NSURLProtocol startLoadingWithCacheObject:]): (-[NSURLProtocol stateForCacheObject:]): (-[NSURLProtocol canStoreCacheObject:]):
- CacheLoader.subproj/WebCache.h:
- CacheLoader.subproj/WebCache.m: (-[WebCache cacheObjectForKey:]): (-[WebCache storeCacheObject:forKey:]):
- CacheLoader.subproj/WebCacheManager.h:
- CacheLoader.subproj/WebCacheManager.m: (-[WebCacheManager cacheObjectForKey:]): (-[WebCacheManager storeCacheObject:forKey:]):
- CacheLoader.subproj/WebCacheObjectPrivate.h:
- CacheLoader.subproj/WebDiskCache.m: (-[WebDiskCache cacheObjectForKey:]): (-[WebDiskCache storeCacheObject:forKey:]): (-[WebDiskCache removeCacheObjectForKey:]):
- CacheLoader.subproj/WebMemoryCache.m: (-[WebMemoryCacheLRUListNode initWithCacheObject:forKey:]): (-[WebMemoryCache cacheObjectForKey:]): (-[WebMemoryCache storeCacheObject:forKey:]):
- Misc.subproj/WebFoundation.h:
- ProtocolHandlers.subproj/WebAboutProtocol.m: (-[WebAboutProtocol startLoadingWithCacheObject:]):
- ProtocolHandlers.subproj/WebCFNetworkHTTPProtocol.m: (-[WebCFNetworkHTTPProtocol addConditionalFieldsToHeader]): (-[WebCFNetworkHTTPProtocol startLoadingWithCacheObject:]): (-[WebCFNetworkHTTPProtocol continueHeaderReadAfter3xxResponseAndCall:]):
- ProtocolHandlers.subproj/WebFTPProtocol.m: (-[WebFTPProtocol startLoadingWithCacheObject:]):
- ProtocolHandlers.subproj/WebFileProtocol.m: (-[WebFileProtocol startLoadingWithCacheObject:]):
- ProtocolHandlers.subproj/WebHTTPProtocol.m: (-[WebHTTPProtocol startLoadingWithCacheObject:]): (-[WebHTTPProtocol canStoreCacheObject:]): (-[WebHTTPProtocol stateForCacheObject:]):
- ProtocolHandlers.subproj/WebSimpleHTTPProtocol.m: (-[WebSimpleHTTPProtocol startLoadingWithCacheObject:]): (-[WebSimpleHTTPProtocol buildHTTPRequest]): (-[WebSimpleHTTPProtocol _processHTTPResultCode]):
- WebFoundation.exp:
- WebFoundation.pbproj/project.pbxproj:
WebKit:
Reviewed by Darin
Name change from WebCacheObject to NSCachedURLResponse.
No functional changes.
- WebView.subproj/WebDataProtocol.m: (-[WebDataProtocol startLoadingWithCacheObject:]):
- 1:44 PM Changeset in webkit [4109] by
-
- 3 edits in trunk/WebKit
WebKit:
3227514 Open window in "Same Page" should copy entire back/forward list
New support to load a new view by copying the whole backforward
list and driving the new view to the current item.
Reviewed by John.
- WebView.subproj/WebViewPrivate.h:
- WebView.subproj/WebViewPrivate.m: (-[WebView _loadItem:]): Old routine, which only loaded an item. (-[WebView _loadItemsFromOtherView:]): New routine that does the works.
WebBrowser:
3227514 Open window in "Same Page" should copy entire back/forward list
Just call new method in WebKit.
Reviewed by John.
- BrowserDocument.h:
- BrowserDocument.m: (-[BrowserDocument loadCloneOfView:]): Renamed goToHistoryItem:inView:.
- BrowserWindowController.m: (-[BrowserWindowController windowDidLoad]): Call above method instead of old one.
- 11:25 AM Changeset in webkit [4108] by
-
- 5 edits in trunk/WebCore
A collection of fixes.
(1) Don't lay out positioned elements so early in
layoutInlineChildren. They need to get a layout only after
all the normal flow kids have gotten a layout (and this happens
already in layoutPositionedObjects).
(2) Fix a mistake with overflow:hidden. I was applying the
overflow-clip for positioned elements only if you had defined
clip using the clip property. This makes iht.com look better
(although it still misrenders pretty badly due to some JS error
we hit in the source).
(3) Patch RenderText's height method to give more accurate
information. This affects all the layout tests. :)
Reviewed by darin
- khtml/rendering/bidi.cpp:
- khtml/rendering/render_layer.cpp: (RenderLayer::constructZTree):
- khtml/rendering/render_text.cpp: (RenderText::height):
- 11:13 AM Changeset in webkit [4107] by
-
- 2 edits in trunk/WebKit
WebFoundation:
Reviewed by John
Name change from WebProtocolClient to NSURLProtocolClient.
No functional changes.
- CacheLoader.subproj/NSURLConnection.m:
- CacheLoader.subproj/NSURLProtocol.h:
- CacheLoader.subproj/NSURLProtocol.m: (-[NSURLProtocol initWithProtocolClient:request:]): (-[NSURLProtocol client]):
- ProtocolHandlers.subproj/WebAboutProtocol.m: (-[WebAboutProtocol startLoadingWithCacheObject:]):
- ProtocolHandlers.subproj/WebCFNetworkHTTPProtocol.m: (-[WebCFNetworkHTTPProtocol initWithProtocolClient:request:]): (-[WebCFNetworkHTTPProtocol continueHeaderReadAfter3xxResponseAndCall:]): (-[WebCFNetworkHTTPProtocol performHTTPHeaderRead:andCall:]): (-[WebCFNetworkHTTPProtocol performStreamRead:]):
- ProtocolHandlers.subproj/WebFTPProtocol.m: (-[WebFTPProtocol initWithProtocolClient:request:]): (-[WebFTPProtocol startLoadingWithCacheObject:]): (-[WebFTPProtocol _checkDirectoryListing]): (-[WebFTPProtocol handleEndEncountered]): (-[WebFTPProtocol handleReadStreamEvent:event:]):
- ProtocolHandlers.subproj/WebFileProtocol.m: (-[WebFileProtocol didLoadData:]): (-[WebFileProtocol startLoadingWithCacheObject:]):
- ProtocolHandlers.subproj/WebHTTPProtocol.m: (-[WebHTTPProtocol initWithProtocolClient:request:]): (-[WebHTTPProtocol retryWithRedirectedURLAndResultCode:]):
- ProtocolHandlers.subproj/WebSimpleHTTPProtocol.m: (-[WebSimpleHTTPProtocol initWithProtocolClient:request:]): (-[WebSimpleHTTPProtocol _processHTTPResultCode]): (-[WebSimpleHTTPProtocol _forwardToCFNetwork]): (-[WebSimpleHTTPProtocol _handleLoadCallback]):
- WebFoundation.pbproj/project.pbxproj:
WebKit:
Reviewed by John
Name change from WebProtocolClient to NSURLProtocolClient.
No functional changes.
- WebView.subproj/WebDataProtocol.m: (-[WebDataProtocol startLoadingWithCacheObject:]):
- 10:39 AM Changeset in webkit [4106] by
-
- 4 edits in trunk/WebKit
WebFoundation:
Reviewed by Darin
Name change from WebProtocol to NSURLProtocol.
No functional changes.
- CacheLoader.subproj/NSURLConnection.m: (+[NSURLConnection canHandleRequest:]): (-[NSURLConnection _beginLoad]): (-[NSURLConnection protocol]):
- CacheLoader.subproj/NSURLRequest.m: (-[NSURLRequest _parametersForReading]): (-[NSMutableURLRequest _parametersForWriting]):
- CacheLoader.subproj/NSURLResponse.m:
- CacheLoader.subproj/WebCacheManager.m:
- CacheLoader.subproj/WebProtocolClient.h:
- Misc.subproj/WebFoundation.h:
- Misc.subproj/WebNSURLExtras.m: (-[NSURL _web_canonicalize]):
- ProtocolHandlers.subproj/WebAboutProtocol.h:
- ProtocolHandlers.subproj/WebCFNetworkHTTPProtocol.m:
- ProtocolHandlers.subproj/WebFTPProtocol.h:
- ProtocolHandlers.subproj/WebFTPProtocol.m:
- ProtocolHandlers.subproj/WebFileProtocol.h:
- ProtocolHandlers.subproj/WebHTTPProtocol.h:
- ProtocolHandlers.subproj/WebHTTPProtocol.m:
- ProtocolHandlers.subproj/WebSimpleHTTPProtocol.m:
- WebFoundation.exp:
- WebFoundation.pbproj/project.pbxproj:
WebKit:
Reviewed by Darin
Name change from WebProtocol to NSURLProtocol.
No functional changes.
- WebView.subproj/WebDataProtocol.h:
- WebView.subproj/WebDataProtocol.m: (-[NSURLRequest _webDataRequestParametersForReading]): (-[NSURLRequest _webDataRequestParametersForWriting]): (+[WebDataProtocol load]):
- WebView.subproj/WebFrame.m:
WebBrowser:
Reviewed by Darin
Name change from WebProtocol to NSURLProtocol.
No functional changes.
- Debug/DebugUtilities.m: (initProtocolHandlers): (-[BrowserDocument unregisterAllProtocolHandlers]): (-[BrowserDocument reregisterAllProtocolHandlers]): (-[BrowserDocument toggleAboutProtocolHandler:]): (-[BrowserDocument toggleFileProtocolHandler:]): (-[BrowserDocument toggleCFNetworkHTTPProtocolHandler:]): (-[BrowserDocument toggleSimpleHTTPProtocolHandler:]):
- 10:25 AM Changeset in webkit [4105] by
-
- 19 edits in trunk
WebCore:
3009051 - Find on Page stops (once) at end of page, should wrap automatically WebKit
3051546 - Find on Page doesn't work for frameset pages
3058437 - can have a selection in two frames at the same time (problem for finding in frames)
3097498 - Find Previous continues to "Find Next" until end of paragraph
3097507 - Find Next searches from previous find hit instead of current selection
And a commented out fix for:
3121828 - scrollToVisible on find cuts off the left part of the view due to needless horiz. scroll
Various missing pieces are implemented to support better finding. The fix for
3121828 is left out until 3228511 is dealt with.
Reviewed by Maciej.
- WebCore.pbproj/project.pbxproj:
- khtml/khtml_part.cpp: (KHTMLPart::findTextBegin): Added args to allow starting a find at an arbitrary places, such as the current selection. (KHTMLPart::findTextNext): Implement reverse search - only the param was there. Don't do lame scrolling selection to visible here, do better ourselves later.
- khtml/khtml_part.h:
- kwq/KWQKHTMLPart.h:
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::jumpToSelection): Make whole selection rect visible, and only scroll anything if needed. *Commented out in lieu of 3228511. (KWQKHTMLPart::findString): Implement find starting at the right place relative to the selection, forwards and backwards, and wraparound. This is just setup around calling findTextNext. Also scroll the result to be visible.
- kwq/WebCoreBridge.h:
- kwq/WebCoreBridge.mm: (-[WebCoreBridge deselectAll]): Call part instead of doc so its state isn't out of sync. (-[WebCoreBridge searchFor:direction:caseSensitive:wrap:]): Pass extra wrap arg.
- kwq/WebCoreDOMNode.mm: (+[WebCoreDOMNode nodeWithImpl:DOM::]): Return a nil for a null element instead of croaking. (-[WebCoreDOMNode initWithImpl:DOM::]): Ditto.
WebKit:
3009051 - Find on Page stops (once) at end of page, should wrap automatically WebKit
3051546 - Find on Page doesn't work for frameset pages
3058437 - can have a selection in two frames at the same time (problem for finding in frames)
3097498 - Find Previous continues to "Find Next" until end of paragraph
3097507 - Find Next searches from previous find hit instead of current selection
Primary changes here: I added a wrap flag to the searchFor method, which is needed to
control how we search as we traverse the frame tree. A new method is added to WebView
that knows about traversing the frame tree as we search. HTMLView and TextView both
clear their selections when they lose first responder (see 3228554 for possible
improvements to that change).
Reviewed by Maciej.
- Misc.subproj/WebSearchableTextView.m: Added wrap flag, pass on to TextView. Ensure we do some searching when we would previous get a zero range to search in.
- WebView.subproj/WebDocument.h:
- WebView.subproj/WebFramePrivate.h:
- WebView.subproj/WebFramePrivate.m: These are all basic methods to support forwards and backwards traversal of the frame tree. Modeled after same methods we have for traversing the DOM. (-[WebFrame _nextSibling]): (-[WebFrame _previousSibling]): (-[WebFrame _lastChild]): (-[WebFrame _nextFrameWithWrap:]): (-[WebFrame _previousFrameWithWrap:]):
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView searchFor:direction:caseSensitive:wrap:]): Added wrap flag, pass it to bridge. (-[WebHTMLView resignFirstResponder]): Clear selection when we lose firstResp.
- WebView.subproj/WebTextView.m: (-[WebTextView resignFirstResponder]): Clear selection when we lose firstResp.
- WebView.subproj/WebView.m: (-[WebView _currentFrame]): Return the frame holding the first responder. (-[WebView _searchFor:direction:caseSensitive:wrap:]): Main work: traverse the frame tree and drive the overall find.
- WebView.subproj/WebViewPrivate.h:
WebBrowser:
3009051 - Find on Page stops (once) at end of page, should wrap automatically WebKit
3051546 - Find on Page doesn't work for frameset pages
3058437 - can have a selection in two frames at the same time (problem for finding in frames)
3097498 - Find Previous continues to "Find Next" until end of paragraph
3097507 - Find Next searches from previous find hit instead of current selection
Primary change here is that we use a new WK method that is hip to searching across
frames. There is an open issue in 3228520 for getting that into the API.
Reviewed by Maciej.
- BrowserWindowController.h:
- BookmarksViewController.m: Added wrap: argument to searchFor:direction:caseSensitive: method.
- FindPanelController.m: (-[FindPanelController _searchTarget]): Hacked to return a WebView if possible instead of always a WebDocumentSearching. (-[FindPanelController _doSearchForString:direction:caseSensitive:inTarget:]): New method that knows to call new WK method for searching across frames in the special case of us about to search within a WebView. (-[FindPanelController _findWithDirection:caseSensitive:]): Call above new method instead of going straight to the search target using the WebDocumentSearching method.