Timeline
Oct 15, 2002:
- 6:42 PM Changeset in webkit [2338] by
-
- 6 edits in trunk/WebCore
- kwq/WebCoreBridge.mm: (attributedString): Don't convert element unless it has a renderer.
- kwq/WebCoreDOMNode.mm: (-[WebCoreDOMAttr DOM::]): (-[WebCoreDOMAttr name]): (-[WebCoreDOMAttr specified]): (-[WebCoreDOMAttr value]): (-[WebCoreDOMAttr ownerElement]): (-[WebCoreDOMElement tagName]): (-[WebCoreDOMElement setAttribute::]): (-[WebCoreDOMElement removeAttribute:]): (-[WebCoreDOMElement getAttributeNode:]): (-[WebCoreDOMElement removeAttributeNode:]): (-[WebCoreDOMElement getElementsByTagName:]): (-[WebCoreDOMElement getAttributeNS::]): (-[WebCoreDOMElement setAttributeNS:::]): (-[WebCoreDOMCharacterData data]): (-[WebCoreDOMCharacterData setData:]): (-[WebCoreDOMCharacterData length]): (-[WebCoreDOMCharacterData substringData::]): (-[WebCoreDOMCharacterData appendData:]): (-[WebCoreDOMCharacterData insertData::]): (-[WebCoreDOMCharacterData deleteData::]): (-[WebCoreDOMText splitText:]): (-[WebCoreDOMProcessingInstruction data]): (-[WebCoreDOMProcessingInstruction setData:]):
- kwq/WebCoreDOMPrivate.h: API cleanup.
- 5:39 PM Changeset in webkit [2337] by
-
- 4 edits in trunk/WebCore
More work on making blocks correctly compute their maximal
positive and negative margins. Adding code to ensure
that floats and absolute/fixed positioned elements know
not to collapse with children or with themselves. Also adding
code to teach empty blocks that they can collapse their own
margins together.
- khtml/rendering/render_flow.cpp: (RenderFlow::layout): (RenderFlow::layoutBlockChildren):
- 5:15 PM Changeset in webkit [2336] by
-
- 18 edits in trunk
WebCore:
WebCore support for using referrer even in loads that are not initiated
by WebCore itself.
- kwq/KWQKHTMLPartBrowserExtension.mm: (KHTMLPartBrowserExtension::createNewWindow): Don't pass a referrer. We get the referrer from the part.
- kwq/KWQKHTMLPartImpl.h: Add a new referrer method that works on the part, and remove the old one that got it from the URL arguments.
- kwq/KWQKHTMLPartImpl.mm: (KWQKHTMLPartImpl::bridgeForFrameName): Don't pass a referrer when creating a new window. (KWQKHTMLPartImpl::openURLRequest): Don't pass a referrer when doing a load. (KWQKHTMLPartImpl::urlSelected): Don't pass a referrer when doing a load. (KWQKHTMLPartImpl::createPart): Don't pass a referrer when creating a child frame for this window. (KWQKHTMLPartImpl::submitForm): Don't pass a referrer when doing a load. (KWQKHTMLPartImpl::referrer): Added.
- kwq/KWQLoaderImpl.mm: (KWQServeRequest): Don't pass a referrer when starting a load.
- kwq/WebCoreBridge.h: Add referrer method. Remove referrer parameter from many other methods.
- kwq/WebCoreBridge.mm: (-[WebCoreBridge referrer]): Added.
WebKit:
- fixed 3062393 -- need to send proper referrer for "open in new window" menu items and keyboard shortcuts
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge createWindowWithURL:frameName:]): Don't take a referrer parameter any more. Get the referrer by calling to the other side of the bridge, instead. (-[WebBridge startLoadingResource:withURL:]): Ditto. (-[WebBridge loadURL:]): Ditto. (-[WebBridge postWithURL:data:contentType:]): Ditto. (-[WebBridge createChildFrameNamed:withURL:renderPart:allowsScrolling:marginWidth:marginHeight:]): Ditto.
- WebView.subproj/WebDefaultContextMenuDelegate.m: (-[WebDefaultContextMenuDelegate openNewWindowWithURL:]): Don't take a referrer parameter, which was always nil anyway. Instead, get the referrer from the bridge. (-[WebDefaultContextMenuDelegate openLinkInNewWindow:]): Don't pass nil for referrer. (-[WebDefaultContextMenuDelegate openImageInNewWindow:]): Ditto. (-[WebDefaultContextMenuDelegate openFrameInNewWindow:]): Ditto.
- WebView.subproj/WebHTMLViewPrivate.m: (-[WebHTMLView _continueAfterClickPolicyForEvent:]): Pass a referrer from the bridge, rather than nil, for both WebClickPolicyOpenNewWindow and WebClickPolicyOpenNewWindowBehind.
- Plugins.subproj/WebBaseNetscapePluginView.m: (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]): Add a FIXME.
- 4:48 PM Changeset in webkit [2335] by
-
- 4 edits in trunk/WebKit
- WebView.subproj/WebDataSourcePrivate.h: Remove unused stuff.
- WebView.subproj/WebDataSourcePrivate.m: Ditto.
- 4:35 PM Changeset in webkit [2334] by
-
- 4 edits in trunk/WebCore
- fixed 3021713 -- text selection background obliterates descenders (in www.theregister.co.uk articles)
- fixed 3038207 -- Selected link text doesn't draw its link underline
- khtml/rendering/render_text.cpp: (TextSlave::printSelection): Don't draw text at all, just draw a selection background. (RenderText::printObject): Draw in two passes. Draw the selection background in the first pass, and the text in the second pass. That way pieces of the background won't cover any other text or adornments, like underlines.
- 3:44 PM Changeset in webkit [2333] by
-
- 16 edits in trunk
WebCore:
- kwq/KWQKHTMLPartImpl.mm: (KWQKHTMLPartImpl::urlSelected): Move the special case of a different anchor within the same page into WebKit from here.
- kwq/kdecore/kurl.h: Mark urlcmp as a friend.
- kwq/KWQKURL.mm: (urlcmp): Implement the ignoreRef feature, which is needed to make the KHTMLPart::openURL function work right.
- kwq/WebCoreBridge.h: Removed addBackForwardItemWithURL:anchor: and added URL method.
- kwq/WebCoreBridge.mm: (-[WebCoreBridge URL]): Added.
WebKit:
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge loadURL:referrer:]): Add a special case for when the URL is the same as the previous URL for the same frame. This relies on some logic in KHTML's openURL method that handles this case too.
- WebView.subproj/WebDataSource.m: (-[WebDataSource initWithRequest:]): Don't bother keeping an inputURL. (-[WebDataSource URL]): Just return [[self request] URL]. Maybe we can remove this altogether.
- WebView.subproj/WebDataSourcePrivate.h: Remove inputURL, finalURL.
- WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSourcePrivate dealloc]): No need to release inputURL, finalURL. (-[WebDataSource _setURL:]): Used only by the new code above. Makes a copy of the request, changes the URL, and then drops the old request. (-[WebDataSource _setRequest:]): Changed to no longer call _setURL. Now does much of the work that _setURL used to do.
- 1:49 PM Changeset in webkit [2332] by
-
- 13 edits in trunk
WebCore:
- fixed 3074558 -- frames multiply at: http://www.iarsn.com/
The key was to make the name attribute work properly.
- khtml/ecma/kjs_window.cpp: (Window::get): Enable the "name" attribute. (Window::put): Enable the "name" attribute, but don't do the conversion to an 8-bit string -- leave it as a QString.
- kwq/WebCoreBridge.h: Add setName/name methods.
- kwq/WebCoreBridge.mm: (-[WebCoreBridge setName:]): Added. Calls part->setName(). (-[WebCoreBridge name]): Added. Calls part->name().
- kwq/kparts/part.h: Added setName/name to ReadOnlyPart.
- kwq/KWQKHTMLPartImpl.mm: Remove old bogusish comment.
WebKit:
WebKit part of improved frame name support.
- WebView.subproj/WebFrame.m: (-[WebFrame initWithName:webView:provisionalDataSource:controller:]): Call setName on the newly created part.
- 1:01 PM Changeset in webkit [2331] by
-
- 3 edits in trunk/WebKit
- fixed 3075777 -- hysteresis for dragging links on web pages is still too large
- WebView.subproj/WebHTMLView.m: changed hysteresis constants; added comment.
- 12:52 PM Changeset in webkit [2330] by
-
- 3 edits in trunk/WebKit
Fix problem where timer was lasting after window was closed.
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _detachFromParent]): Add a call to [_private->bridge closeURL].
- 12:51 PM Changeset in webkit [2329] by
-
- 4 edits in trunk/WebCore
Added text color to attributed string conversion.
- kwq/WebCoreBridge.mm: (attributedString):
- 12:47 PM Changeset in webkit [2328] by
-
- 8 edits in trunk
Added attributed string to pasteboard. Fixes 3006760.
We may want to scale back the content that is included in the
attributed string. Currently all text nodes in the selection
are converted. This include text nodes for non-visible content,
i.e. scripts.
[Note we may also want to put HTML snippet on the pboard. The appkit
does support reading text using htmldisplay today. Of course this should
eventually migrate to use WebView.]
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView copy:]):
Added API to get attributed string from bridge.
Added API to get selection in terms of the DOM API
from the bridge.
- kwq/WebCoreBridge.h:
- kwq/WebCoreBridge.mm: (attributedString): (-[WebCoreBridge selectionStart]): (-[WebCoreBridge selectionStartOffset]): (-[WebCoreBridge selectionEnd]): (-[WebCoreBridge selectionEndOffset]):
- 11:20 AM Changeset in webkit [2327] by
-
- 5 edits in trunk/WebCore
- fixed 3054791 -- crash in WebCoreSettings _updateAllViews changing font
- kwq/KWQKHTMLPartImpl.mm: (KWQKHTMLPartImpl::~KWQKHTMLPartImpl): Pass in the "this" pointer so that the right instance is removed from the instances list. Before, we would always remove the first instance from the list, leaving the list broken.
- 11:19 AM Changeset in webkit [2326] by
-
- 3 edits in trunk/WebKit
Fixed bug where URLs dragged to the content area were not made canonical
the way URLs dragged to the page address field are.
- Misc.subproj/WebNSPasteboardExtras.m: (-[NSPasteboard _web_bestURL]): Make URLs canonical before returning them.
- 10:34 AM Changeset in webkit [2325] by
-
- 6 edits in trunk/WebKit
If a file is renamed during download because a file of the same name already exists, show this in the UI.
- Misc.subproj/WebDownloadHandler.h:
- Misc.subproj/WebDownloadHandler.m: (-[WebDownloadHandler receivedResponse:]): added, create file here (-[WebDownloadHandler receivedData:]): don't create file here
- WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient handleDidFinishLoading:]): call [dataSource _setPrimaryLoadComplete:YES] for downloads (-[WebMainResourceClient handle:didReceiveResponse:]): call [WebDownloadHandler receivedResponse:] (-[WebMainResourceClient handle:didReceiveData:]): no download error to handle
- 7:28 AM Changeset in webkit [2324] by
-
- 4 edits in trunk/WebCore
Fixed an "unused variable" build breaker. Note that I just
commented out the code and put a FIXME, as I know this is code
that David has been banging on a lot. This should be either
used for real or removed eventually, but I'll leave that for
Hyatt.
- khtml/rendering/render_flow.cpp: (RenderFlow::layoutBlockChildren):
Oct 14, 2002:
- 11:20 PM Changeset in webkit [2323] by
-
- 5 edits in trunk/WebCore
More collapsing margin surgery. Working on setting up blocks
to properly compute their collapsed margins (without actually changing
the obsolete collapsing behavior yet).
- khtml/rendering/render_flow.cpp: (RenderFlow::RenderFlow): (RenderFlow::layout): (RenderFlow::layoutBlockChildren):
- khtml/rendering/render_flow.h:
- 10:34 PM Changeset in webkit [2322] by
-
- 14 edits in trunk/WebKit
WebFoundation:
Renamed filenameByCorrectingExtensionOfFilename:withMIMEType: to filenameWithURL:andMIMEType:
It comes up with the best filename for a URL and MIME type.
- Misc.subproj/WebFileTypeMappings.h:
- Misc.subproj/WebFileTypeMappings.m:
WebKit:
- Made all downloads no matter how prompted, pass through the content policy API so the client can properly choose the file name and correct the extension if necessary. We now ask for the content policy even if one has been predetermined.
- WebView.subproj/WebControllerPolicyDelegate.h:
- WebView.subproj/WebControllerPrivate.h:
- WebView.subproj/WebControllerPrivate.m: (-[WebController _downloadURL:withContentPolicy:]): Renamed, set the predetermined content policy.
- WebView.subproj/WebDefaultContextMenuDelegate.m: (-[WebDefaultContextMenuDelegate downloadURL:]): call [WebController _downloadURL:withContentPolicy:]
- WebView.subproj/WebDefaultPolicyDelegate.m:
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]): call [WebController _downloadURL:withContentPolicy:]
- WebView.subproj/WebHTMLViewPrivate.m: (-[WebHTMLView _continueAfterClickPolicyForEvent:]): call [WebController _downloadURL:withContentPolicy:]
- WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient handle:didReceiveResponse:]): ask for content policy even if one is predetermined
WebBrowser:
- Support for content policy API change. Properly handle the predetermined content policy.
- Minor clean-up in DownloadProgressEntry.
- BrowserWebController.m: (-[BrowserWebController contentPolicyForMIMEType:andURL:inFrame:withContentPolicy:]): Properly handle the predetermined content policy.
- DownloadProgressEntry.m: (+[DownloadProgressEntry entryWithDictionary:]): Use bytesLoaded and bytesExpected var names (-[DownloadProgressEntry setCompleted]): set bytesExpected to bytesLoaded (-[DownloadProgressEntry updateProgressUI]): slight rearrange.
- 7:04 PM Changeset in webkit [2321] by
-
- 4 edits in trunk/WebCore
Adding helper functions for handling of collapsing margins.
Not used yet.
- khtml/rendering/render_object.h:
- 4:27 PM Changeset in webkit [2320] by
-
- 4 edits in trunk/WebCore
Fixed problems with named colors.
- kwq/KWQColor.mm: (QColor::setNamedColor): Check named colors before hex codes for colors because our hex code parsing is now lenient enough that many names qualify.
- 4:27 PM Changeset in webkit [2319] by
-
- 6 edits in trunk/WebKit
WebFoundation:
- Added new method that corrects a filename's extension based on its MIME type.
- Misc.subproj/WebFileTypeMappings.h:
- Misc.subproj/WebFileTypeMappings.m: (-[WebFileTypeMappings filenameByCorrectingExtensionOfFilename:withMIMEType:]): if the extension does not correspond with the MIME type, correct it using the preferred MIME type.
WebKit:
- Cleaned up download handler and download progress delegate interactions.
- Got rid of error suppression junk.
- Only send 1 final message to the download progress delegate
- WebView.subproj/WebMainResourceClient.h:
- WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient receivedError:forHandle:]): no error suppression (-[WebMainResourceClient didCancelWithHandle:]): ignore cancel errors because 1 download error is enough (-[WebMainResourceClient handleDidFinishLoading:]): don't send the special and odd final message to the download progress delegate (-[WebMainResourceClient handle:didReceiveData:]): no error suppression (-[WebMainResourceClient handle:didFailLoadingWithError:]): ignore cancel errors because 1 download error is enough
WebBrowser:
- Correct extensions of filenames of downloaded files based on MIME type. This fixes issues with files that have random extensions and thus not claimed by any application.
- Cleaned up DownloadMonitor. Got rid of bottle-neck progress method that caused much confusion and bugs.
- BrowserWebController.m: (-[BrowserWebController contentPolicyForMIMEType:URL:inFrame:]): call [WebFileTypeMappings filenameByCorrectingExtensionOfFilename:withMIMEType:]
- DownloadMonitor.m: (-[DownloadMonitor _entryForDataSource:]): renamed (-[DownloadMonitor _entryForView:]): renamed (-[DownloadMonitor resourceRequest:didReceiveResponse:fromDataSource:]): create new download entry (-[DownloadMonitor resourceRequest:didReceiveContentLength:fromDataSource:]): increment progress of download entry (-[DownloadMonitor resourceRequest:didFinishLoadingFromDataSource:]): setCompleted on the download entry (-[DownloadMonitor resourceRequest:didFailLoadingWithError:fromDataSource:]): set error and setCompleted on the download entry
- DownloadProgressEntry.h:
- DownloadProgressEntry.m: (-[DownloadProgressEntry awakeFromNib]): progress bar should be determinate by default (-[DownloadProgressEntry setCompleted]): replaces _cleanUpIfComplete, have the DownloadMonitor tell us when we're done.
- 4:23 PM Changeset in webkit [2318] by
-
- 4 edits in trunk/WebCore
Really fixing zeldman.com this time. This disabling stuff
is complicated! :)
- khtml/html/html_headimpl.cpp: (HTMLLinkElementImpl::parseAttribute): (HTMLLinkElementImpl::setStyleSheet): (HTMLLinkElementImpl::sheetLoaded):
- 1:33 PM Changeset in webkit [2317] by
-
- 12 edits in trunk/WebKit
- Bookmarks.subproj/WebBookmark.m: (+[WebBookmark bookmarkFromDictionaryRepresentation:withGroup:]):
- Bookmarks.subproj/WebBookmarkLeaf.m: (-[WebBookmarkLeaf initFromDictionaryRepresentation:withGroup:]):
- Bookmarks.subproj/WebBookmarkList.m: (-[WebBookmarkList initFromDictionaryRepresentation:withGroup:]):
- Bookmarks.subproj/WebBookmarkProxy.m: (-[WebBookmarkProxy initFromDictionaryRepresentation:withGroup:]): Add checking since we don't "trust" the dictionary passed in.
- History.subproj/WebHistoryItem.m: (-[WebHistoryItem initFromDictionaryRepresentation:]): Add FIXME about adding the checking.
- Bookmarks.subproj/WebBookmarkGroup.m: (-[WebBookmarkGroup initWithFile:]): Use copy, not retain.
- WebView.subproj/WebControllerPrivate.m: (-[WebControllerPrivate dealloc]): Fix storage leak by releasing the default context menu delegate.
- WebView.subproj/WebControllerPrivate.h: Tweak.
- 12:46 PM Changeset in webkit [2316] by
-
- 4 edits in trunk/WebCore
Stop the insanity. Make sure that a sheet that is disabled
while it is still loading is removed from the doc's list
of pending sheets (for FOUC checks).
Fixes zeldman.com.
- khtml/html/html_headimpl.cpp: (HTMLLinkElementImpl::parseAttribute):
- 10:20 AM Changeset in webkit [2315] by
-
- 4 edits in trunk/WebKit
Made WebNetscapePluginStream retain a WebNetscapePluginEmbeddedView not a WebBaseNetscapePluginView.
- Plugins.subproj/WebNetscapePluginStream.h:
- Plugins.subproj/WebNetscapePluginStream.m: (-[WebNetscapePluginStream initWithRequest:pluginPointer:notifyData:]):
- 12:19 AM Changeset in webkit [2314] by
-
- 6 edits in trunk/WebCore
Implementing the ability to individually enable/disable
both preferred and alternate stylesheets. Enabling/disabling
sheets via the disabled property of the <link> element overrides
whether or not a sheet happens to be alternate or preferred.
This new implementation of sheet disabling/enabling was a missing
piece of our HTML4 compliance, and was used by the Wired
site to implement its text sizing mechanism.
- khtml/html/html_headimpl.cpp: (HTMLLinkElementImpl::HTMLLinkElementImpl): (HTMLLinkElementImpl::parseAttribute): (HTMLLinkElementImpl::process):
- khtml/html/html_headimpl.h:
- khtml/xml/dom_docimpl.cpp: (DocumentImpl::recalcStyleSelector):
Oct 13, 2002:
- 11:44 PM Changeset in webkit [2313] by
-
- 3 edits in trunk/WebKit
- English.lproj/StringsNotToBeLocalized.txt: Added strings from WebBookmarkProxy.m.
- 11:16 PM Changeset in webkit [2312] by
-
- 7 edits6 adds2 deletes in trunk/WebKit
- Eliminated the dual-role behavior of WebPluginStream. Renamed WebPluginStream to WebBaseNetscapePluginStream.
WebNetscapePluginRepresentation, a subclass of WebNetscapePluginRepresentation, is the document representation for standalone plug-ins. WebNetscapePluginStream, also a subclass of WebNetscapePluginRepresentation, is the general plug-in stream loader for embedded plug-ins or plug-in requested streams.
23 plug-in source files with more likely to come!
- Plugins.subproj/WebBaseNetscapePluginStream.h: Added.
- Plugins.subproj/WebBaseNetscapePluginStream.m: Added. (-[WebBaseNetscapePluginStream dealloc]): (-[WebBaseNetscapePluginStream setPluginPointer:]): (-[WebBaseNetscapePluginStream setResponse:]): (-[WebBaseNetscapePluginStream receivedData:]): (-[WebBaseNetscapePluginStream receivedError:]): (-[WebBaseNetscapePluginStream finishedLoadingWithData:]):
- Plugins.subproj/WebBaseNetscapePluginView.h:
- Plugins.subproj/WebBaseNetscapePluginView.m: (-[WebBaseNetscapePluginView setWindow]): (-[WebBaseNetscapePluginView pluginPointer]): (-[WebBaseNetscapePluginView drawRect:]): (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]):
- Plugins.subproj/WebNetscapePluginDocumentView.m:
- Plugins.subproj/WebNetscapePluginRepresentation.h: Added.
- Plugins.subproj/WebNetscapePluginRepresentation.m: Added. (-[WebNetscapePluginRepresentation setDataSource:]): (-[WebNetscapePluginRepresentation receivedData:withDataSource:]): (-[WebNetscapePluginRepresentation receivedError:withDataSource:]): (-[WebNetscapePluginRepresentation finishedLoadingWithDataSource:]):
- Plugins.subproj/WebNetscapePluginStream.h: Added.
- Plugins.subproj/WebNetscapePluginStream.m: Added. (-[WebNetscapePluginStream setCurrentURL:]): (-[WebNetscapePluginStream initWithRequest:pluginPointer:notifyData:]): (-[WebNetscapePluginStream dealloc]): (-[WebNetscapePluginStream start]): (-[WebNetscapePluginStream stop]): (-[WebNetscapePluginStream loadEnded]): (-[WebNetscapePluginStream handle:willSendRequest:]): (-[WebNetscapePluginStream handle:didReceiveResponse:]): (-[WebNetscapePluginStream handle:didReceiveData:]): (-[WebNetscapePluginStream handleDidFinishLoading:]): (-[WebNetscapePluginStream handle:didFailLoadingWithError:]):
- Plugins.subproj/WebPluginDatabase.m: (-[WebNetscapePluginDatabase init]):
- Plugins.subproj/WebPluginStream.h: Removed.
- Plugins.subproj/WebPluginStream.m: Removed.
- WebKit.pbproj/project.pbxproj:
Oct 11, 2002:
- 11:10 PM Changeset in webkit [2311] by
-
- 5 edits in trunk/WebCore
Avoid one-click crasher.
- Debug/SnippetController.m: (-[SnippetController load]):
Remove debugging.
- kwq/WebCoreDOMDocument.mm: (+[WebCoreDOMDocument documentWithImpl:DOM::]):
- kwq/WebCoreDOMNode.mm: (-[WebCoreDOMNode lastChild]):
- 10:49 PM Changeset in webkit [2310] by
-
- 18 edits in trunk
More implementation of snippet viewer to show converted
attributed string.
- Debug/Snippet.nib:
- Debug/SnippetController.h:
- Debug/SnippetController.m: (-[SnippetController dealloc]): (-[SnippetController awakeFromNib]): (-[SnippetController load]): (lastNode): (-[SnippetController loadComplete]): (-[SnippetController convert:]): (-[SnippetController show:]): (-[SnippetController mainDataSource]): (-[SnippetLocationChangeDelegate initWithController:]): (-[SnippetLocationChangeDelegate locationChangeDone:forDataSource:]): (-[AttributedStringView dealloc]): (-[AttributedStringView setAttributedString:]): (-[AttributedStringView drawRect:]):
More DOM/attributed string work.
- WebView.subproj/WebHTMLRepresentation.h:
- WebView.subproj/WebHTMLRepresentation.m: (-[WebHTMLRepresentation attributedStringFrom:startOffset:to:endOffset:]):
- WebView.subproj/WebHTMLRepresentationPrivate.h:
More DOM/attributed string work. Still need to fix more
inappropriate casting problems.
- khtml/dom/dom_node.cpp: (Node::lastChild):
- khtml/xml/dom_nodeimpl.cpp: (NodeImpl::lastChild): (NodeBaseImpl::lastChild):
- khtml/xml/dom_nodeimpl.h:
- kwq/KWQKHTMLPartImpl.cpp: (KWQKHTMLPartImpl::selectionStartOffset): (KWQKHTMLPartImpl::selectionEndOffset): (KWQKHTMLPartImpl::selectionStart): (KWQKHTMLPartImpl::selectionEnd):
- kwq/KWQKHTMLPartImpl.h:
- kwq/WebCoreBridge.h:
- kwq/WebCoreBridge.mm: (-[WebCoreBridge DOMDocument]): (-[WebCoreBridge setSelectionFrom:startOffset:to:endOffset:]): (attributedString): (-[WebCoreBridge selectedAttributedString]): (-[WebCoreBridge attributedStringFrom:startOffset:to:endOffset:]):
- kwq/WebCoreDOMDocument.mm: (-[WebCoreDOMDocumentType DOM::]): (-[WebCoreDOMDocumentType name]): (-[WebCoreDOMDocumentType entities]): (-[WebCoreDOMDocumentType notations]): (-[WebCoreDOMDocumentType publicId]): (-[WebCoreDOMDocumentType systemId]): (-[WebCoreDOMDocumentType internalSubset]): (-[WebCoreDOMImplementation DOM::]): (-[WebCoreDOMImplementation hasFeature::]): (-[WebCoreDOMImplementation createDocument:::]): (+[WebCoreDOMDocument documentWithImpl:DOM::]): (-[WebCoreDOMDocument DOM::]): (-[WebCoreDOMDocument doctype]): (-[WebCoreDOMDocument implementation]): (-[WebCoreDOMDocument documentElement]): (-[WebCoreDOMDocument createElement:]): (-[WebCoreDOMDocument createElementNS::]): (-[WebCoreDOMDocument createDocumentFragment]): (-[WebCoreDOMDocument createTextNode:]): (-[WebCoreDOMDocument createComment:]): (-[WebCoreDOMDocument createCDATASection:]): (-[WebCoreDOMDocument createProcessingInstruction::]): (-[WebCoreDOMDocument createAttribute:]): (-[WebCoreDOMDocument createAttributeNS::]): (-[WebCoreDOMDocument createEntityReference:]): (-[WebCoreDOMDocument getElementById:]): (-[WebCoreDOMDocument getElementsByTagName:]): (-[WebCoreDOMDocument getElementsByTagNameNS::]): (-[WebCoreDOMDocument importNode::]):
- kwq/WebCoreDOMNode.mm: (-[WebCoreDOMNode initWithImpl:DOM::]): (-[WebCoreDOMNode firstChild]): (-[WebCoreDOMNode lastChild]):
- kwq/WebCoreDOMPrivate.h:
- kwq/WebCoreBridge.mm: (-[WebCoreBridge setSelectionFrom:startOffset:to:endOffset:]): (recursive_toHTML): (attributedString):
- 4:22 PM Changeset in webkit [2309] by
-
- 3 edits in trunk/WebKit
Fixed uninitialized variable build breaker I got when
doing a Deployment build.
- Bookmarks.subproj/WebBookmarkGroup.m: (-[WebBookmarkGroup insertNewBookmarkAtIndex:ofBookmark:withTitle:URLString:type:]):
- 2:56 PM Changeset in webkit [2308] by
-
- 8 edits2 adds in trunk/WebKit
WebKit:
Added the concept of bookmark proxies; items that can be
stored and displayed with other bookmarks but represent
a source of bookmark-like items (e.g. Rendezvous, History)
- Bookmarks.subproj/WebBookmarkProxy.h: Added.
- Bookmarks.subproj/WebBookmarkProxy.m: Added. (-[WebBookmarkProxy initFromDictionaryRepresentation:withGroup:]): (-[WebBookmarkProxy dictionaryRepresentation]): (-[WebBookmarkProxy bookmarkType]): (-[WebBookmarkProxy copyWithZone:]): (-[WebBookmarkProxy title]): (-[WebBookmarkProxy setTitle:]): (-[WebBookmarkProxy icon]): New class, has a title and that's about it
- Bookmarks.subproj/WebBookmark.h:
- Bookmarks.subproj/WebBookmark.m: (+[WebBookmark bookmarkFromDictionaryRepresentation:withGroup:]): Handle proxy case
- Bookmarks.subproj/WebBookmarkGroup.m: (-[WebBookmarkGroup insertNewBookmarkAtIndex:ofBookmark:withTitle:URLString:type:]): Handle proxy case
- Bookmarks.subproj/WebBookmarkList.m: (-[WebBookmarkList initFromDictionaryRepresentation:withGroup:]), (-[WebBookmarkList dictionaryRepresentation]): Handle proxy case
- Bookmarks.subproj/WebBookmarkPrivate.h: Add #define for proxy
- WebKit.pbproj/project.pbxproj: updated for new files
WebBrowser:
- started work on moving Address Book, Rendezvous, and History out of their own windows and into the Library view.
The titles Rendezvous/Address Book/History now appear in the
Library view, but they don't do anything. They have no content,
you can't drag them, and if you try to drop something on one
you get a mysterious console message but nothing else happens.
- BookmarksController.m: (+[BookmarksController _favoritesTitle]), (+[BookmarksController _menuRootTitle]): just moved in file (+[BookmarksController historyProxyTitle]), (+[BookmarksController addressBookProxyTitle]), (+[BookmarksController rendezvousProxyTitle]): new methods to retrieve localizable titles for these bookmark proxies. (-[BookmarksController imageForBookmark:]): supply the right images for the proxies we know about (-[BookmarksController addMenuItemForBookmark:toMenu:]): handle proxy case (but there isn't yet a way to get one in a menu) (-[BookmarksController _blessOrCreateSpecialFolders]): make sure the right set of proxies are in there where they belong.
- BookmarksViewController.m: (-[BookmarksViewController bookmarkForSourceRow:]): (-[BookmarksViewController sourceRowForBookmark:]): (-[BookmarksViewController numberOfRowsInTableView:]): (-[BookmarksViewController canRemoveBookmarkSource:]): (-[BookmarksViewController tableView:shouldEditTableColumn:row:]):
- English.lproj/Localizable.strings:
- English.lproj/StringsNotToBeLocalized.txt:
- 2:02 PM Changeset in webkit [2307] by
-
- 3 edits in trunk/WebKit
Thought I has checking for nil enough, but not enough as I raised an exception on Avie's machine.
- Plugins.subproj/WebPlugin.m: (-[WebNetscapePlugin getPluginInfo]): check for the nil extension case
- 1:33 PM Changeset in webkit [2306] by
-
- 3 edits in trunk/WebKit
Apply a simplified technique I learned while working on the Favorites button
class in the browser code.
- Plugins.subproj/WebBaseNetscapePluginView.m: (-[WebBaseNetscapePluginView start]): Use the NSViewFocusDidChangeNotification to track the plugin rectangles instead of the NSViewFrameDidChangeNotification and NSViewBoundsDidChangeNotification on all the superviews.
- 9:34 AM Changeset in webkit [2305] by
-
- 3 edits in trunk/WebKit
WebKit:
- Resources/url_icon.tiff: new generic URL icon -- no more @!
WebBrowser:
- some new and improved images from Steve Lemay (more to come)
- Resources/Images/FavoritesBar.tif: new little heart
- Resources/Images/folder16.tiff: new little folder
- Resources/Images/rendezvous.tiff: new rendezvous symbol
- Resources/Images/tiny_menu.tiff: new little menu