Timeline
Aug 29, 2002:
- 4:43 PM Changeset in webkit [1938] by
-
- 13 edits in trunk/WebCore
Begin connecting the layer system. The root box and the <html>
box now construct layers for themselves. Those layers are
connected in a layer tree properly and they correctly update
their positions.
Implemented all the code for layer construction and for keeping
the layer tree in sync with the render object tree.
The goal is to get the layer tree fully constructed and correct
(with lots of testing) before actually switching over to it for
painting.
This change requires a clean of WebCore.
- force-clean-timestamp:
- khtml/rendering/render_box.cpp: (RenderBox::RenderBox): (RenderBox::~RenderBox): (RenderBox::setPos): (RenderBox::positionChildLayers):
- khtml/rendering/render_box.h:
- khtml/rendering/render_container.cpp: (RenderContainer::~RenderContainer): (RenderContainer::addChild): (RenderContainer::removeChildNode):
- khtml/rendering/render_container.h:
- khtml/rendering/render_html.cpp: (RenderHtml::RenderHtml):
- khtml/rendering/render_layer.cpp: (RenderLayer::updateLayerPosition):
- khtml/rendering/render_layer.h:
- khtml/rendering/render_object.h:
- khtml/rendering/render_root.cpp: (RenderRoot::RenderRoot):
- 12:17 PM Changeset in webkit [1937]
-
- 3 copies in tags/Alexander-21
This commit was manufactured by cvs2svn to create tag 'Alexander-21'.
- 12:17 PM Changeset in webkit [1936] by
-
- 8 edits in trunk
Alex-21 versions & markers
Aug 28, 2002:
- 11:32 PM Changeset in webkit [1935] by
-
- 5 edits in trunk/WebCore
Implement the flattening algorithm that walks the layer
hierarchy and produces the correct layer list for back
to front painting. (Still under construction. Not used yet.)
- khtml/rendering/render_layer.cpp: (sortByZOrder): (RenderLayer::RenderZTreeNode::constructLayerList):
- khtml/rendering/render_layer.h:
- 10:37 PM Changeset in webkit [1934] by
-
- 4 edits in trunk/WebKit
- fixed 3036440 -- Crash running PLT with "Check for 'world leaks'" enabled
- WebView.subproj/WebDataSourcePrivate.h: Add defersCallbacks boolean.
- WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _setController:]): Don't try to look at the controller before, it might already be deallocated. (-[WebDataSource _defersCallbacksChanged]): Use a boolean to record whether the "defers callbacks" state changed since last time and do no work if it didn't. This replaces the check in _setController:.
- 6:00 PM Changeset in webkit [1933] by
-
- 4 edits in trunk/WebCore
More tweaks to ccs.
Added underline to visited links.
Made outline for active normal and visited links gray.
- khtml/css/html4.css:
- 5:05 PM Changeset in webkit [1932] by
-
- 8 edits in trunk
Tell CG to not use time expiration of glyph cache and increase it's
size.
THIS CHANGE REQUIRES THAT YOU INSTALL THE CG ROOT.
- WebCoreSupport.subproj/WebTextRendererFactory.m:
Fixed outline of for active link style.
- khtml/css/html4.css:
- kwq/KWQPainter.mm: (QPainter::drawLine):
- 3:32 PM Changeset in webkit [1931] by
-
- 7 edits in trunk/WebCore
Adding knowledge to the style system of auto z-indices. The old
code doesn't use this yet, but the new layering code will.
Also wrote the ztree construction function (not used yet) and
stubbed out the display list flattening routines.
- khtml/rendering/render_layer.cpp: (RenderLayer::convertToLayerCoords): (RenderLayer::constructZTree): (RenderLayer::constructLayerList):
- khtml/rendering/render_layer.h:
- khtml/rendering/render_style.cpp: (StyleBoxData::StyleBoxData):
- khtml/rendering/render_style.h:
- 11:02 AM Changeset in webkit [1930] by
-
- 4 edits in trunk/WebCore
- fixed 2977587 -- JavaScript code that reads the values of text areas misses the last line if no trailing CR
- kwq/KWQTextArea.mm: (-[KWQTextArea paragraphs]):
- 10:42 AM Changeset in webkit [1929] by
-
- 3 edits in trunk/WebKit
Fixed selection horkage I introduced with drag
fix yesterday.
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView mouseDragged:]):
- 1:54 AM Changeset in webkit [1928] by
-
- 4 edits in trunk/WebCore
Putting design notes and API details for the layering system
into the header file.
- khtml/rendering/render_layer.h:
- 12:30 AM Changeset in webkit [1927] by
-
- 5 edits in trunk/WebCore
- kwq/mac-encodings.txt: Sort all the character set names alphabetically, and use all lower case.
- kwq/make-charset-table.pl: Require lower-case sorted lists of character set names.
- 12:09 AM Changeset in webkit [1926] by
-
- 4 edits in trunk/WebCore
- fixed 3032148 -- Button not disabled in page
- kwq/KWQWidget.mm: (QWidget::setEnabled): Call setEnabled: on the NSView if it implements it.
- 12:04 AM Changeset in webkit [1925] by
-
- 4 edits in trunk/WebCore
- fixed 3030212 -- Problems rendering pages that specify "x-mac-roman" character set (like our Danish help pages)
- kwq/mac-encodings.txt: Added x-mac-roman as an alias for macintosh.
Aug 27, 2002:
- 9:17 PM Changeset in webkit [1924] by
-
- 4 edits in trunk/WebCore
- force-clean-timestamp: Dave's changes require a full build. I found out the hard way, by debugging for a while.
- 6:37 PM Changeset in webkit [1923] by
-
- 13 edits in trunk
i
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView mouseDown:]): (-[WebHTMLView mouseDragged:]): (-[WebHTMLView mouseMovedNotification:]):
- WebView.subproj/WebHTMLViewPrivate.h:
- WebView.subproj/WebHTMLViewPrivate.m:
Fixed active link style. Cleaned up and fixed drag initiation
for links and images. Dotted lines not drawing correcly, but
other styles are applied correctly.
- WebKit.exp:
- History.subproj/WebHistory.h:
- History.subproj/WebHistory.m:
Added some constants.
- WebCoreSupport.subproj/WebTextRendererFactory.m:
Code to change CG caching policy. Not enabled until
we receive a root from CG team.
- kwq/WebCoreBridge.h:
Fixed constants to conform to WebKit. These need to be shared.
- 6:35 PM Changeset in webkit [1922] by
-
- 8 edits2 adds in trunk/WebCore
Change relative positioned blocks so that they are treated as special objects and
painted last along with absolutely positioned blocks and floaters. Note that the
entire special object system is fundamentally flawed, and it needs to be replaced
with a real layering subsystem.
This checkin at least gets relatively positioned divs painting correctly some of
the time (in the cases where the containing blocks of absolute and relative positioned
divs happen to be the same). It does not, however, deal with the problem of ensuring
correct stacking of positioned elements with different containing blocks.
render_layer.h and .cpp include a new implementation (not used yet, just the beginnings)
of a layering subsystem that I am going to be working on over the next few days
that will eventually be responsible for handling event dispatching and painting and that
will also understand how to deal with form controls and other objects that have Cocoa
views.
- WebCore.pbproj/project.pbxproj:
- khtml/rendering/render_box.cpp: (RenderBox::RenderBox):
- khtml/rendering/render_box.h:
- khtml/rendering/render_flow.cpp: (RenderFlow::printObject): (RenderFlow::printSpecialObjects): (RenderFlow::layoutSpecialObjects): (RenderFlow::layoutBlockChildren): (RenderFlow::insertSpecialObject):
- khtml/rendering/render_flow.h:
- khtml/rendering/render_layer.cpp: Added. (RenderLayer::RenderLayer): (RenderLayer::~RenderLayer): (RenderLayer::addChild): (RenderLayer::removeChild):
- khtml/rendering/render_layer.h: Added.
- 5:14 PM Changeset in webkit [1921] by
-
- 4 edits in trunk/WebCore
- fixed 3031952 -- null-dereference in dispatchToUInt32 closing window
- khtml/ecma/kjs_window.cpp: (History::getValueProperty): Use Undefined(), not Value() for an error result. Value() is pure evil.
- 4:25 PM Changeset in webkit [1920] by
-
- 9 edits in trunk/WebCore
- fixed 3021018 -- Crash selecting from popup just after choosing radio button
- kwq/KWQComboBox.mm: (QComboBox::QComboBox): Pass the widget in when creating the cell. (-[KWQPopUpButtonCell initWithWidget:]): Store a widget pointer. (-[KWQPopUpButtonCell trackMouse:inRect:ofView:untilMouseUp:]): Get to the bridge and tell it to defer loading while we track the mouse.
- kwq/KWQKHTMLPartImpl.h: Add bridgeForWidget.
- kwq/KWQKHTMLPartImpl.mm: (KWQKHTMLPartImpl::nextKeyViewForWidget): Use nodeForWidget and partForNode. (KWQKHTMLPartImpl::bridgeForWidget): Added. Use nodeForWidget and partForNode. (KWQKHTMLPartImpl::partForNode): Move code here from nextKeyViewForWidget. (KWQKHTMLPartImpl::nodeForWidget): Move code here from nextKeyViewForWidget.
- kwq/WebCoreBridge.h: Add defersLoading and setDefersLoading. Both are already in WebKit.
- 3:52 PM Changeset in webkit [1919] by
-
- 7 edits in trunk/WebKit
- fixed 3031583 -- directory.apple.com now gives "unsupported" redirect
- WebView.subproj/WebDataSource.m: (-[WebDataSource initWithURL:attributes:flags:]): Don't create the resource handle here. It's a bit too early.
- WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _startLoading:]): Create the resource handle here, now that we have a controller to get a user agent from.
- WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient handleWillUseUserAgent:forURL:]): Add an assert that will catch any future problems of this kind.
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge defersLoading]): Added. New call for use in WebCore. (-[WebBridge setDefersLoading:]): Added. New call for use in WebCore.
Aug 26, 2002:
- 5:19 PM Changeset in webkit [1918] by
-
- 4 edits in trunk/WebCore
Fix for 3026006. Ensure that TABLES inside <div>s with align="right"
are properly positioned. <div align="right"> was completely
unimplemented. This patch implements it for the common cases
(nested divs, tables within divs, and paragraphs).
- khtml/css/html4.css:
- 2:33 PM Changeset in webkit [1917] by
-
- 11 edits in trunk/WebKit
Add machinery for deferring callbacks. Not used yet.
- WebView.subproj/WebControllerPrivate.h: Add methods.
- WebView.subproj/WebControllerPrivate.m: (-[WebController _defersCallbacks]): Returns old state. (-[WebController _setDefersCallbacks:]): Changes state and calls _defersCallbacksChanged on the main frame.
- WebView.subproj/WebFramePrivate.h: Add _defersCallbacksChanged.
- WebView.subproj/WebFramePrivate.m: (-[WebFrame _defersCallbacksChanged]): Calls _defersCallbacksChanged on both data sources.
- WebView.subproj/WebDataSourcePrivate.h: Add _defersCallbacksChanged.
- WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _setController:]): Call _defersCallbacksChanged if changing the controller changes the state. (-[WebDataSource _addResourceHandle:]): Call setDefersCallbacks:YES on the new handle if we are already attached to a controller that defers callbacks. (-[WebDataSource _defersCallbacksChanged]): Call setDefersCallbacks on all the handles, and call _defersCallbacksChanged on the child frames as well.
- WebView.subproj/WebDataSource.m: (-[WebDataSource controller]): We need to know about all controller changes, so it's unacceptable to consult our parent about the controller. But we already do know about it and this code was unnecessary. Leave the old code around as an assert only.
- 2:21 PM Changeset in webkit [1916] by
-
- 4 edits in trunk/WebCore
- khtml/rendering/render_list.cpp: Make file match the original KDE more closely (no substantive change).
- 1:50 PM Changeset in webkit [1915] by
-
- 12 edits2 adds in trunk
WebBrowser:
- History.subproj/WebHistory.h:
- History.subproj/WebHistory.m: (+[WebHistory webHistoryWithFile:]): Stage 1, set the shared history instance. This'll move to WebKit soon.
- WebView.subproj/WebView.m: (-[WebView setFrame:]): Only force display if in live resize.
WebKit
Fixed for 2883623 (visited links only). Will change
w/ stage 2 of history move to webkit.
- GlobalHistory.m: (-[GlobalHistory awakeFromNib]):
WebCore:
- WebCore.exp:
Added WebCoreHistory
- WebCore.pbproj/project.pbxproj:
Added WebCoreHistory
- kwq/KWQKHistoryProvider.mm: Use WebCoreHistory to determine visited link.
- kwq/WebCoreHistory.h: Added.
- kwq/WebCoreHistory.m: Added.
Stage 1. Use WebKit's WebHistory. Writing
of history and initialization still handled
by Alex until stage 2.
(+[WebCoreHistory setSharedHistory:]):
(+[WebCoreHistory sharedHistory]):
(-[WebCoreHistory containsURL:]):
- kwq/KWQString.mm: (QString::compare):
Optimization, use strcmp when both src and dst have valid ascii.
- 1:35 PM Changeset in webkit [1914] by
-
- 5 edits in trunk/WebCore
- Patch drawText to understand right-aligned drawing.
- Fixed <ul> bullets so that they position properly.
- Fixed bugs with horizontal and vertical positioning of <ol> bullets.
- khtml/rendering/render_list.cpp: (RenderListMarker::printObject):
- kwq/KWQPainter.mm: (QPainter::drawText):
- 7:27 AM Changeset in webkit [1913] by
-
- 5 edits in trunk/WebKit
WebKit:
- fixed bug where dragging a separator in the Bookmarks window would hit an assertion.
- Bookmarks.subproj/WebBookmarkSeparator.m: (-[WebBookmarkSeparator initWithGroup:]): Removed obsolete assertion that group is not nil.
- Bookmarks.subproj/WebBookmarkLeaf.m: (-[WebBookmarkLeaf initWithTitle:group:]): Removed a similar obsolete assertion here.
- Bookmarks.subproj/WebBookmarkList.m: (-[WebBookmarkList initWithTitle:group:]): Removed a similar obsolete assertion here.
WebBrowser:
- fixed bug where new separator would not be scrolled into view if necessary.
- BookmarksController.m: (-[BookmarksController _focusOnNewlyCreatedBookmark:]): Scroll to reveal new item.