Timeline
Nov 2, 2002:
- 2:00 PM Changeset in webkit [2541] by
-
- 3 edits in trunk/WebKit
- Panels.subproj/WebAuthenticationPanel.m: (-[WebAuthenticationPanel setUpForRequest:]): Do the previous fix one better by using _web_hostWithPort.
- 1:55 PM Changeset in webkit [2540] by
-
- 3 edits in trunk/WebKit
- fixed bug where the address of an NSNumber object would be used for the port number
- Panels.subproj/WebAuthenticationPanel.m: (-[WebAuthenticationPanel setUpForRequest:]): Call intValue on the object returned from [NSURL port].
Nov 1, 2002:
- 10:46 PM Changeset in webkit [2539] by
-
- 3 edits in trunk/WebKit
- Plugins.subproj/WebBaseNetscapePluginView.m: (-[WebBaseNetscapePluginView sendEvent:]): Fixed uninitialized variable problem.
- 6:16 PM Changeset in webkit [2538] by
-
- 5 edits in trunk/WebCore
- applied the same "subclass responsibility" pattern here as in some of the other WebCore classes
- kwq/WebCoreImageRendererFactory.h: Move the subclass responsibility into a protocol.
- kwq/WebCoreImageRendererFactory.m: Remove now-unneeded stubs.
- 6:12 PM Changeset in webkit [2537] by
-
- 9 edits in trunk/WebKit
- fixed 3090239 -- crash on window close
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _detachFromParent]): Nil out the bridge and release it so we don't close the URL twice.
- fixed 3058598 -- animated gif animates repeatedly in Alex, but only once in other browsers
- WebCoreSupport.subproj/WebImageRenderer.h: Added fields used by bug workaround.
- WebCoreSupport.subproj/WebImageRenderer.m: (-[WebImageRenderer blockHasGIFExtensionSignature:length:]): Helper method for bug workaround. (-[WebImageRenderer checkDataForGIFExtensionSignature:]): Checks incoming data for the GIF extension signatures. (-[WebImageRenderer initWithData:]): Override to call checkDataForGIFExtensionSignature. (-[WebImageRenderer incrementalLoadWithBytes:length:complete:]): Call checkDataForGIFExtensionSignature. (-[WebImageRenderer repetitionCount]): Return 1 if we were going to return 0, but we didn't see a GIF extension signature. This workaround can be removed once we require a system new enough to have the bug fix for bug 3090341. (-[WebImageRenderer nextFrame:]): Stop on last frame, don't wrap around to first.
- WebCoreSupport.subproj/WebImageRendererFactory.h: Update for changes to WebCore.
- WebCoreSupport.subproj/WebImageRendererFactory.m: Tweaks.
- WebView.subproj/WebImageRepresentation.m: Update imports.
- WebView.subproj/WebImageView.m: Update imports.
- 5:16 PM Changeset in webkit [2536] by
-
- 10 edits in trunk
i Implemented rendering of diacriticals.
- Misc.subproj/WebUnicode.h:
- Misc.subproj/WebUnicode.m: (_unicodeDigitValue): (_unicodeCategory): (_unicodeDirection): (_unicodeJoining): (_unicodeDecompositionTag): (_unicodeMirrored): (_unicodeCombiningClass): (_unicodeLower): (_unicodeUpper):
- 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:]): (-[WebTextRenderer extendCharacterToGlyphMapToInclude:]):
Removed old implementation.
- kwq/KWQChar.mm: (QChar::direction):
Renamed JoiningCenter -> JoiningCausing.
- kwq/WebCoreUnicode.h:
- 5:10 PM Changeset in webkit [2535] by
-
- 7 edits in trunk
- kjs/object.cpp: Make the same change Maciej just did, but to the other constructor right next to the one he changed.
WebFoundation:
- English.lproj/StringsNotToBeLocalized.txt: Update for recent changes.
WebKit:
- English.lproj/StringsNotToBeLocalized.txt: Update for recent changes.
- 4:28 PM Changeset in webkit [2534] by
-
- 8 edits in trunk/WebCore
- fixed 3062598 -- meta refresh of 0.1s fails
KHTML was using an integer for the delay.
- khtml/khtml_part.h: Make scheduleRedirection take a double.
- khtml/khtmlpart_p.h: Make m_delayRedirect be a double.
- khtml/khtml_part.cpp: (KHTMLPart::slotData): Use a double when parsing meta refresh. (KHTMLPart::checkCompleted): Cast to int when passing to timer start. (KHTMLPart::scheduleRedirection): Cast to int when passing to timer start; also check for absurd values and do nothing. (KHTMLPart::slotParentCompleted): Cast to int when passing to timer start.
- khtml/xml/dom_docimpl.cpp: (DocumentImpl::processHttpEquiv): Use a double when parsing meta refresh.
- kwq/KWQKDebug.h: Add overloads for unsigned int and double to keep us compiling now that we use a double in one place.
- 4:13 PM Changeset in webkit [2533] by
-
- 9 edits in trunk/WebKit
WebKit:
Check that the plug-in is loaded before calling it.
- Plugins.subproj/WebBaseNetscapePluginStream.h:
- Plugins.subproj/WebBaseNetscapePluginStream.m: (-[WebBaseNetscapePluginStream dealloc]): (-[WebBaseNetscapePluginStream setPluginPointer:]): (-[WebBaseNetscapePluginStream setResponse:]): (-[WebBaseNetscapePluginStream receivedData:]): (-[WebBaseNetscapePluginStream destroyStreamWithReason:]): (-[WebBaseNetscapePluginStream finishedLoadingWithData:]):
- Plugins.subproj/WebBasePluginPackage.h:
- Plugins.subproj/WebBasePluginPackage.m: (-[WebBasePluginPackage isLoaded]):
- Plugins.subproj/WebNetscapePluginDocumentView.m: (-[WebNetscapePluginDocumentView setDataSource:]):
- Plugins.subproj/WebNetscapePluginPackage.m: (-[WebNetscapePluginPackage isLoaded]):
- Plugins.subproj/WebNetscapePluginRepresentation.m: (-[WebNetscapePluginRepresentation receivedData:withDataSource:]):
WebBrowser:
Use the display name of the dataSource not the document when reporting plug-in errors.
- LoadProgressMonitor.m: (-[LoadProgressMonitor pluginFailedWithError:dataSource:]):
- 3:17 PM Changeset in webkit [2532] by
-
- 16 edits2 adds in trunk/WebKit
WebFoundation:
- Misc.subproj/WebError.m:
WebKit:
- Moved plug-in error handling to WebResourceLoadDelegate
- Report plug-in load failure, java load failure, and plug-in not found errors.
- Added WebPluginError, subclass of WebError.
- Attempted fix: 3090675 - Standalone WMP (Window Media Player) content crashes Alexander
- English.lproj/Localizable.strings:
- Misc.subproj/WebKitErrors.h:
- Plugins.subproj/WebBaseNetscapePluginView.m: (-[WebBaseNetscapePluginView sendEvent:]): don't send event to null function
- Plugins.subproj/WebNetscapePluginDocumentView.m: (-[WebNetscapePluginDocumentView setDataSource:]): report plug-in load failure
- Plugins.subproj/WebNullPluginView.h:
- Plugins.subproj/WebNullPluginView.m: take a WebPluginError (-[WebNullPluginView dealloc]): (-[WebNullPluginView viewDidMoveToWindow]):
- Plugins.subproj/WebPluginError.h: Added.
- Plugins.subproj/WebPluginError.m: Added. (-[WebPluginErrorPrivate dealloc]): (-[WebPluginError dealloc]): (-[WebPluginError pluginPageURL]): (-[WebPluginError pluginName]): (-[WebPluginError MIMEType]):
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge viewForPluginWithURL:attributes:baseURL:MIMEType:]): report plug-in load failure (-[WebBridge viewForJavaAppletWithFrame:attributes:baseURL:]): report plug-in load failure
- WebKit.pbproj/project.pbxproj:
- WebView.subproj/WebController.m: (-[WebResourceLoadDelegate pluginFailedWithError:dataSource:]): added, does nothing
- WebView.subproj/WebControllerPolicyDelegate.h:
- WebView.subproj/WebResourceLoadDelegate.h:
- WebView.subproj/WebView.m: (+[WebView initialize]): added new error strings
WebBrowser:
- Moved plug-in error handling to WebResourceLoadDelegate
- BrowserWebController.m:
- English.lproj/Localizable.strings:
- LoadProgressMonitor.m: (-[LoadProgressMonitor pluginNotFoundSheetEnded:returnCode:contextInfo:]): (-[LoadProgressMonitor pluginFailedWithError:dataSource:]): display special sheets for new errors.
- 3:00 PM Changeset in webkit [2531] by
-
- 4 edits in trunk/WebCore
- fixed 3090249 -- random crash on page load
- fixed 3090286 -- assert _job in KWQResourceLoader cancel
- kwq/KWQResourceLoader.mm: (-[KWQResourceLoader cancel]): This function needs to handle the case where the load is already cancelled. I think this also caused Avie's crash.
- 2:09 PM Changeset in webkit [2530] by
-
- 5 edits in trunk/WebKit
WebKit:
- some weaning of WebBookmark API from WebBookmarkGroup
- Bookmarks.subproj/WebBookmark.m: (-[WebBookmark dealloc]): set group to nil instead of asserting that it's non-nil
- Bookmarks.subproj/WebBookmarkGroup.h: removed obsolete ivar _bookmarksByID
- Bookmarks.subproj/WebBookmarkGroup.m: (-[WebBookmarkGroup initWithFile:]): removed obsolete ivar _bookmarksByID (-[WebBookmarkGroup dealloc]): removed obsolete ivar _bookmarksByID (-[WebBookmarkGroup removeBookmark:]): removed this unnecessary method; callers need to use [[bookmark parent] removeChild:bookmark] instead
WebBrowser:
- fixed bug Darin found in my recent checkin that caused rearranging bookmarks in toolbar to fail an assertion in [WebBookmarkGroup removeBookmark:]
- fixed a leak I found in the process (bookmark rearranged in toolbar would leak)
- BookmarksController.m: (-[BookmarksController updateBookmarkSources]): use [[bookmark parent] removeChild:bookmark] instead of now-obsolete [[bookmark group] removeBookmark:bookmark]
- BookmarksViewController.m: (-[BookmarksViewController removeBookmarks:]), (-[BookmarksViewController redoRemoveBookmarks:]), (-[BookmarksViewController undoNewBookmark:]), (-[BookmarksViewController moveBookmarks:toNewFolder:]): use [[bookmark parent] removeChild:bookmark] instead of now-obsolete [[bookmark group] removeBookmark:bookmark]
- BrowserWebBookmarkExtras.m: (-[WebBookmark deleteWithUndo]): use [[bookmark parent] removeChild:bookmark] instead of now-obsolete [[bookmark group] removeBookmark:bookmark]
- FavoriteButton.m: (-[FavoriteButton draggedImage:endedAt:operation:]): don't use undoable delete in the drag-to-rearrange case; added FIXME explaining why
- FavoritesBar.m: (-[FavoritesBar deleteFavoritesWithURLsMatchingBookmarks:]), (-[FavoritesBar titleChangeSheetDidEnd:returnCode:contextInfo:]): use [[bookmark parent] removeChild:bookmark] instead of now-obsolete [[bookmark group] removeBookmark:bookmark] (-[FavoritesBar performDragOperation:]): autorelease the copy of the bookmark in the dragged FavoriteButton
- 12:45 PM Changeset in webkit [2529] by
-
- 7 edits in trunk/WebKit
Moved involved code for loading URLs from WebBridge up to WebFrame, with a little
consolidation along the way. I need to get all this stuff in one place in prep
for doing back-forward properly with frames. There should be no change in
functionality as a result of these changes.
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge loadURL:reload:]): (-[WebBridge postWithURL:data:contentType:]): (-[WebBridge createChildFrameNamed:withURL:renderPart:allowsScrolling:marginWidth:marginHeight:]): Much of the guts of these is moved to WebFramePrivate.
- WebView.subproj/WebDataSourcePrivate.h:
- WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _setIsClientRedirect:]): (-[WebDataSource _isClientRedirect]): Keep state of whether we're processing a redirect in DataSource. I had previously to do this with a loadType, but that failed because cliRedir is orthogonal.
- WebView.subproj/WebFramePrivate.h: WebFrameLoadTypeClientRedirect is gone.
- WebView.subproj/WebFramePrivate.m: (-[WebFramePrivate init]): Initialize loadType explicitly. (-[WebFrame _transitionToCommitted]): Test [dataSource _isClientRedirect] instead of looking at loadType. (-[WebFrame _isLoadComplete]): Nuke WebFrameLoadTypeClientRedirect (-[WebFrame _goToItem:withFrameLoadType:]): Nuke WebFrameLoadTypeClientRedirect. (-[WebFrame _loadRequest:]): Helper method moved from WebBridge. (-[WebFrame _loadURL:loadType:clientRedirect:]): Core impl moved up from WebBridge. (-[WebFrame _postWithURL:data:contentType:]): Core impl moved up from WebBridge.
- 11:51 AM Changeset in webkit [2528] by
-
- 4 edits in trunk/WebKit
- implemented loop counts
- WebCoreSupport.subproj/WebImageRenderer.h: Added repetitionsComplete field.
- WebCoreSupport.subproj/WebImageRenderer.m: (-[WebImageRenderer repetitionCount]): Get NSImageLoopCount. (-[WebImageRenderer nextFrame:]): Check repetitionCount and stop once we hit it.
Oct 31, 2002:
- 5:15 PM Changeset in webkit [2527] by
-
- 9 edits in trunk/WebCore
- fixed huge leak when doing page load test
- khtml/ecma/kjs_binding.h:
- khtml/ecma/kjs_binding.cpp: Remove ScriptInterpreter::mark(). We don't want to mark the elements of m_domObjects, because we don't want to keep them around the entire lifetime of the interpreter. This is fine because we already have forgetDOMObject(), which takes care of when they are deallocated.
- khtml/ecma/kjs_dom.cpp:
- khtml/ecma/kjs_dom.h:
- khtml/ecma/kjs_html.cpp:
- khtml/ecma/kjs_html.h: Changed lots of parameters to pass by const reference for a bit of a code size and performance gain.
- 5:10 PM Changeset in webkit [2526] by
-
- 3 edits in trunk/WebKit
- WebView.subproj/WebFrame.m: (-[WebFrame setController:]): Add an assert, hoping to catch a reported bug earlier or disprove one theory.
- 2:59 PM Changeset in webkit [2525] by
-
- 10 edits in trunk/WebKit
Added API to support 3072505 - SnapBack for user-entered page address
Refixed 3041616 - Extra page added in back button history
Previous fix was stepped on by a later checkin. Re-established that fix, then
went on to make sure we have the final URL and title in the BF item in the
case of a client redirect. Also handles redirects that happen within frames.
Fixed 3078560 - div added to "back" list
- History.subproj/WebBackForwardList.h:
- History.subproj/WebBackForwardList.m: (-[WebBackForwardList containsEntry:]): Added new API for 3072505.
- WebCoreSupport.subproj/WebBridge.h:
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge reportClientRedirectTo:delay:fireDate:]): (-[WebBridge reportClientRedirectCancelled]): (-[WebBridge loadURL:reload:]): Added logging. Renamed flag. Establish the right loadtype and set BF items from the old dataSource onto the new dataSource in the case of a client redirect.
- WebView.subproj/WebDataSourcePrivate.h:
- WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _setRequest:]): Add logging. (-[WebDataSource _addBackForwardItem:]): (-[WebDataSource _addBackForwardItems:]): (-[WebDataSource _backForwardItems]): New setters/getters to support setting up the new dataSource of a client redirect.
- WebView.subproj/WebFramePrivate.h: New loadType WebFrameLoadTypeClientRedirect.
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _transitionToCommitted]): Update the URL in the BF list in the client redirect case. (-[WebFrame _isLoadComplete]): NOP case for WebFrameLoadTypeClientRedirect (-[WebFrame _goToItem:withFrameLoadType:]): ASSERT_NOT_REACHED case for WebFrameLoadTypeClientRedirect
- 2:15 PM Changeset in webkit [2524] by
-
- 9 edits in trunk
Corrected extern definitions of lookup tables.
- Misc.subproj/WebUnicode.h:
- Misc.subproj/WebUnicode.m: (_unicodeDirection):
- WebCoreSupport.subproj/WebTextRenderer.m: (+[WebTextRenderer initialize]):
Turned on use of lookup tables.
- kwq/KWQChar.mm: (QChar::direction): (QChar::mirrored): (QChar::mirroredChar):
- 12:27 PM Changeset in webkit [2523] by
-
- 4 edits in trunk/JavaScriptCore
- fixed 3082660 - REGRESSION: one ListImp leaks opening/closing nearly empty web page
- kjs/object.cpp: Set gc allowed on freshly created ListImp, since there is no List wrapper for it.
- 11:12 AM Changeset in webkit [2522] by
-
- 5 edits in trunk/JavaScriptCore
- kjs/grammar.y: Fix the APPLE_CHANGES thing here too.
- kjs/grammar.cpp: Regenerated this file.
- 10:43 AM Changeset in webkit [2521] by
-
- 5 edits in trunk/WebCore
- fixed 3075803 - yahoo customize layout - delete, ordering of items doesn't work
- khtml/html/html_formimpl.h:
- khtml/html/html_formimpl.cpp: (HTMLSelectElementImpl::recalcStyle): New method to insure the select element updates if the contents of the option subelements are changed.
- 10:05 AM Changeset in webkit [2520]
-
- 3 copies in tags/Alexander-30
This commit was manufactured by cvs2svn to create tag 'Alexander-30'.
- 10:05 AM Changeset in webkit [2519] by
-
- 9 edits in trunk
Alex-30 version markers
Oct 30, 2002:
- 9:26 PM Changeset in webkit [2518] by
-
- 1 edit in trunk/WebCore/khtml/rendering/render_form.cpp
Revert accidentally committed change.
- 9:20 PM Changeset in webkit [2517] by
-
- 5 edits in trunk/WebCore
- fixed 3049853 - Javascript: setInterval incorrectly acts as single shot
- kwq/KWQObject.mm: (QObject::startTimer): Set a recurring timer instead of single-shot, to match QObject semantics.
- 6:42 PM Changeset in webkit [2516] by
-
- 1 edit in trunk/WebKit/Misc.subproj/WebUnicode.m
Fixed stupid compile problem.
- 6:23 PM Changeset in webkit [2515] by
-
- 12 edits5 adds in trunk
More work on bidi and contextual forms.
Table lookup code for unicode characters attributes.
- Misc.subproj/WebUnicode.h: Added.
- Misc.subproj/WebUnicode.m: Added. (_unicodeDigitValue): (_unicodeCategory): (_unicodeDirection): (_unicodeJoining): (_unicodeDecompositionTag): (_unicodeMirrored): (_unicodeMirroredChar): (_unicodeCombiningClass): (_unicodeLower): (_unicodeUpper): (WebKitInitializeUnicode):
- Misc.subproj/WebUnicodeTables.m: Added.
- WebKit.pbproj/project.pbxproj:
Additional logging parameter.
- Misc.subproj/WebKitLogging.h:
- Misc.subproj/WebKitLogging.m:
More work on bidi and contextual forms.
Table lookup code is up in WebKit. Function
pointers are used to isolate WebCore from private
implementation in WebKit. Needs to be fast, so
the usual ObjC abstraction won't work.
- WebCore.exp:
- WebCore.pbproj/project.pbxproj:
- kwq/KWQChar.mm: (QChar::direction):
- kwq/KWQString.h:
- kwq/WebCoreUnicode.cpp: Added.
- kwq/WebCoreUnicode.h: Added.
- 6:15 PM Changeset in webkit [2514] by
-
- 7 edits in trunk/WebKit
WebKit:
Pass WebResourceRequest rather than just NSURL to URL policy
delegate method.
- WebView.subproj/WebControllerPolicyDelegate.h:
- WebView.subproj/WebDefaultPolicyDelegate.h:
- WebView.subproj/WebDefaultPolicyDelegate.m: (+[WebDefaultPolicyDelegate defaultURLPolicyForRequest:]): (-[WebDefaultPolicyDelegate URLPolicyForRequest:inFrame:]):
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _shouldShowRequest:]):
WebBrowser:
Adjust for WebKit API change.
- BrowserDocument.m: (-[BrowserDocument _goToURL:referrer:withFallbackURLs:]):
- BrowserWebController.m: (-[BrowserWebController URLPolicyForRequest:inFrame:]):
- 2:50 PM Changeset in webkit [2513] by
-
- 4 edits in trunk/WebCore
- fixed crash when you open an empty window and just hit tab, tab, tab
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::nextKeyViewInFrame): Check for nil.
- 2:19 PM Changeset in webkit [2512] by
-
- 3 edits in trunk/WebKit
WebFoundation:
- English.lproj/StringsNotToBeLocalized.txt: Updated for recent changes.
WebKit:
- English.lproj/StringsNotToBeLocalized.txt: Updated for recent changes.
WebBrowser:
- English.lproj/Localizable.strings: Regenerated this file.
- 12:15 PM Changeset in webkit [2511] by
-
- 4 edits in trunk/JavaScriptCore
- fixed 3073230 -- Alex is doing file I/O when executing JavaScript by asking for localtime
I fixed this by using Core Foundation time functions instead.
- kjs/date_object.cpp: (tmUsingCF): Function that uses Core Foundation to get the time and then puts it into a tm struct. (gmtimeUsingCF): Function used instead of gmtime (used a macro to make the substitution). (localtimeUsingCF): Function used instead of localtime (used a macro to make the substitution).
- 11:34 AM Changeset in webkit [2510] by
-
- 3 edits in trunk/WebKit
Fixed: 3088122 - Assertion failure/crash closing window with QuickTime streaming in
- WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _setMainDocumentError:]): call receivedError on the representation.
- 11:17 AM Changeset in webkit [2509] by
-
- 4 edits in trunk/WebKit
- fixed memory leaks in plugin package creation code
- Plugins.subproj/WebNetscapePluginPackage.m: (-[WebNetscapePluginPackage initWithPath:]): Rearrange this code, and make sure that it does a [self release] if it's going to return nil instead of self. (-[WebNetscapePluginPackage unload]): Set bundle to 0 when we release it. (-[WebNetscapePluginPackage dealloc]): Release the bundle if it's not 0.
- Plugins.subproj/WebPluginPackage.m: (-[WebPluginPackage initWithPath:]): Rearrange this code, and make sure that it does a [self release] if it's going to return nil instead of self.
- 9:51 AM Changeset in webkit [2508] by
-
- 7 edits2 adds in trunk/WebCore
- fixed 3083982 -- Logging into AOL gives null view, crash
I fixed the crash part. Not the "gives null view" part.
The key was to disentangle the references and lifetimes of the transfer job class,
and the resource loader object that KWQ uses to connect it with WebKit.
- kwq/KWQKJobClasses.h: Change the job to keep a loader reference, not a handle reference. The job needs to inform the loader when it's being deallocated.
- kwq/KWQKJobClasses.mm: Use jobWillBeDeallocated instead of cancel when the job is deallocated.
- kwq/KWQLoader.mm: (KWQServeRequest): Use KWQResourceLoader, now with a home in a separate file.
- kwq/KWQResourceLoader.h: Added.
- kwq/KWQResourceLoader.mm: Added.
- WebCore.pbproj/project.pbxproj: Added KWQResourceLoader files.
- 8:19 AM Changeset in webkit [2507] by
-
- 15 edits in trunk
WebCore:
- fixed 3086564 -- REGRESSION: meta-refresh to the same page doesn't refresh
The key is to get args.reload passed through to the bridge.
- kwq/WebCoreBridge.h: Add reload parameter to loadURL:.
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::openURL): Pass NO for reload. (KWQKHTMLPart::openURLRequest): Pass args.reload for reload. (KWQKHTMLPart::urlSelected): Pass args.reload for reload. (KWQKHTMLPart::submitForm): Pass args.reload for reload.
- fixed a memory problem with the use of NSBrowser in KWQListBox
- fixed 2863040 -- multiple default items in select list not selected
Switched to use NSTableView instead of NSBrowser. This should also create
a measurable speedup due to other changes to this class.
- kwq/KWQListBox.h: Remove firstItem(), the insertItem() that takes a QListBoxItem parameter, and deleteItems(). Add _items, _width, and _widthGood. Removed _head. Removed the QListBoxItem and QListBoxText classes.
- kwq/KWQListBox.mm: (QListBox::QListBox): Create a KWQListBoxScrollView and put an NSTableView inside it. Also create an NSMutableArray to hold the items. (QListBox::~QListBox): Disconnect the table view from the delegate before releasing it. Also release the items array. (QListBox::count): Return the array count. (QListBox::clear): Do a reloadData here instead of loadColumnZero. (QListBox::setSelectionMode): Update for table view. (QListBox::insertItem): Update for table view. (QListBox::insertGroupLabel): Just calls insertItem for now. (QListBox::endBatchInsert): Update for table view. (QListBox::setSelected): Update for table view, including support for multiple selection. (QListBox::isSelected): Update for table view. (QListBox::sizeForNumberOfLines): Use the table view cell for width, and cache it so we don't have to measure all the strings over and over again. (-[KWQListBoxScrollView setFrameSize:]): Resize the table view column whenever the entire scroll view is resized. (-[KWQListBoxTableViewDelegate initWithListBox:]): Store box pointer and pointer to items array. (-[KWQListBoxTableViewDelegate numberOfRowsInTableView:]): Return count. (-[KWQListBoxTableViewDelegate tableView:objectValueForTableColumn:row:]): Get the data from the items array. (-[KWQListBoxTableViewDelegate tableViewSelectionDidChange:]): Call both the selection-changed signal and the clicked signal.
- khtml/rendering/render_form.cpp: (RenderSelect::updateFromElement): Get rid of the one place here that gets at a list box item by calling a KWQ function insertGroupLabel instead of making a QListBoxText. Also call beginBatchInsert() before clear() for a slight additional speed boost.
- fixed 3067572 -- javascript: URLs typed into page address field or bookmarks don't work in empty window
We needed a document for DOM, so we make a dummy one. This works for an empty
window, and also for a window with non-HTML content.
- kwq/KWQKHTMLPart.h: Added createDummyDocument().
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::createDummyDocument): Create an empty DOM document if there isn't one already.
- kwq/WebCoreBridge.mm: (-[WebCoreBridge stringByEvaluatingJavaScriptFromString:]): Call the new createDummyDocument() instead of checking and doing nothing if there is no document present when this is called.
- other stuff
- kwq/WebCoreBridge.mm: (-[WebCoreBridge DOMDocument]): Removed a stray printf.
- kwq/KWQTextArea.mm: Tweaked code a little.
WebKit:
- fixed 3086564 -- REGRESSION: meta-refresh to the same page doesn't refresh
The key is to respect the new reload: parameter from the bridge.
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge loadURL:reload:]): Don't ever treat a reload as a redirect. Set the cache policy to WebRequestCachePolicyLoadFromOrigin if it's a reload.
- fixed 3087214 -- REGRESSION: <WebKit/WebKit.h> contains #import of non-existent header
- Misc.subproj/WebKit.h: Removed import of WebControllerSets.h, which is private.
- 1:43 AM Changeset in webkit [2506] by
-
- 10 edits in trunk/WebKit
WebKit:
Another step towards the policy API change - add request argument
to file URL policy and remove isDirectory argument.
- WebView.subproj/WebControllerPolicyDelegate.h:
- WebView.subproj/WebDefaultPolicyDelegate.m: (-[WebDefaultPolicyDelegate fileURLPolicyForMIMEType:andRequest:inFrame:]):
- WebView.subproj/WebFrame.m: (-[WebFrame setProvisionalDataSource:]):
- WebView.subproj/WebFramePrivate.h:
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _shouldShowRequest:]):
- WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient handle:willSendRequest:]):
WebBrowser:
Adjust for API change.
- BrowserWebController.m: (-[BrowserWebController fileURLPolicyForMIMEType:andRequest:inFrame:]):
Oct 29, 2002:
- 11:58 PM Changeset in webkit [2505] by
-
- 7 edits in trunk/WebKit
WebKit:
First step towards policy API change. Pass request instead of URL
to content policy delegate method.
- WebView.subproj/WebControllerPolicyDelegate.h:
- WebView.subproj/WebDefaultPolicyDelegate.m:
- WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient handle:didReceiveResponse:]):
WebBrowser:
First step towards policy API change. Pass request instead of URL
to content policy delegate method.
- BrowserWebController.m: (-[BrowserWebController contentPolicyForResponse:andRequest:inFrame:withContentPolicy:]):
- 11:55 PM Changeset in webkit [2504] by
-
- 6 edits in trunk/WebKit
- fixed 3087548 - REGRESSION: two windows open for netflix confirmation
- WebView.subproj/WebControllerPrivate.h:
- WebView.subproj/WebControllerPrivate.m: (-[WebController _findFrameInThisWindowNamed:]): Added this function back, and added check for top-level frame name. (-[WebController _findFrameNamed:]): Use _findFrameInThisWindowNamed: to make sure top-level frame names get checked.
- 8:50 PM Changeset in webkit [2503] by
-
- 3 edits6 adds2 deletes in trunk/WebKit
Created Downloads.subproj to hold the to-be-implemented download decoders.
- Downloads.subproj/WebDownloadDecoder.h: Added.
- Downloads.subproj/WebDownloadHandler.h: Added.
- Downloads.subproj/WebDownloadHandler.m: Added. (-[WebDownloadHandler initWithDataSource:]): (-[WebDownloadHandler dealloc]): (-[WebDownloadHandler errorWithCode:]): (-[WebDownloadHandler receivedResponse:]): (-[WebDownloadHandler receivedData:]): (-[WebDownloadHandler finishedLoading]): (-[WebDownloadHandler cancel]):
- Misc.subproj/WebDownloadHandler.h: Removed.
- Misc.subproj/WebDownloadHandler.m: Removed.
- WebKit.pbproj/project.pbxproj: