Timeline
Nov 3, 2005:
- 11:47 PM Changeset in webkit [11052] by
-
- 4 edits in branches/Ti-2005-009-branch/WebKit
Merged fix from TOT to Ti-2005-009-branch
2005-10-07 John Sullivan <sullivan@apple.com>
Reviewed by Tim Omernick.
WebKit support for allowing clients to know which frame originated a particular JavaScript alert/dialog.
- WebView.subproj/WebUIDelegatePrivate.h: New optional delegate methods for the three JavaScript alert/dialogs. These are just like the existing ones in WebUIDelegate.h except that each adds a parameter specifying the frame that the JavaScript was running in. Eventually we'll deprecate the old three methods in favor of these in the public API.
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge runJavaScriptAlertPanelWithMessage:]): Call version of the delegate method that has the frame parameter if the delegate supports it. (-[WebBridge runJavaScriptConfirmPanelWithMessage:]): ditto (-[WebBridge runJavaScriptTextInputPanelWithPrompt:defaultText:returningText:]): ditto
- WebView.subproj/WebDefaultUIDelegate.m: (-[WebDefaultUIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]): Now implements the new version of the delegate method that includes the frame parameter. (Still doesn't do anything though.) (-[WebDefaultUIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Now implements the new version of the delegate method that includes the frame parameter. (Still doesn't do anything though.) (-[WebDefaultUIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]): Now implements the new version of the delegate method that includes the frame parameter. Doesn't actually use the frame parameter here yet though.
- 10:05 PM Changeset in webkit [11051] by
-
- 1 edit1 add in branches/Safari-1-3-branch/WebCore
Merged fix from TOT to Safari-1-3-branch
2005-10-06 Beth Dakin <Beth Dakin>
Reviewed by Vicki.
Fix for <rdar://problem/4145535> Crash in khtml::RenderBlock::addOverhangingFloats
with simple HTML test file.
- khtml/rendering/render_block.cpp: Added nil check (khtml::RenderBlock::addOverhangingFloats):
- 9:59 PM Changeset in webkit [11050] by
-
- 2 edits in branches/Ti-2005-009-branch/WebCore
Merged fix from TOT to Ti-2005-009-branch
2005-10-06 Beth Dakin <Beth Dakin>
Reviewed by Vicki.
Fix for <rdar://problem/4145535> Crash in khtml::RenderBlock::addOverhangingFloats
with simple HTML test file.
- khtml/rendering/render_block.cpp: Added nil check (khtml::RenderBlock::addOverhangingFloats):
- 9:58 PM Changeset in webkit [11049] by
-
- in /
file ChangeLog was added on branch Safari-1-3-branch on 2005-11-04 06:04:56 +0000
- 9:58 PM Changeset in webkit [11048] by
-
- 2 edits in trunk/WebCore
Bugzilla 5604: plainText (visible_text.cpp) performance improvement
Reviewed by justin and darin
Optimized plainText for a ~100% speedup in most cases.
No test cases added, change only effects performance.
- khtml/editing/visible_text.cpp: (khtml::TextIterator::rangeLength): Removed an extraneous comment. (khtml::plainText): The length of the string to be created was pre-calculated to avoid the expense of many QString::append() calls. Removed this since TextIterator::advance() is much more expensive than append.
- 6:33 PM Changeset in webkit [11047] by
-
- 1 edit in trunk/JavaScriptCore/ChangeLog
changelog fixup in response to email from Darin
- 5:38 PM Changeset in webkit [11046] by
-
- 6 edits in trunk
Reviewed by Darin and Vicki.
- JavaScriptCore.xcodeproj/project.pbxproj: Change to use $(SYSTEM_LIBRARY_DIR) consistently and place $(NEXT_ROOT) in a few spots to make build-root work.
WebCore:
Reviewed by Darin and Vicki.
- WebCore.xcodeproj/project.pbxproj: Change to use $(SYSTEM_LIBRARY_DIR) consistently and place $(NEXT_ROOT) in a few spots to make build-root work.
WebKit:
Reviewed by Darin and Vicki.
- WebKit.xcodeproj/project.pbxproj: Change to use $(SYSTEM_LIBRARY_DIR) consistently and place $(NEXT_ROOT) in a few spots to make build-root work.
- 5:36 PM Changeset in webkit [12210] by
-
- 2 edits in trunk/JavaScriptGlue
Tools:
Reviewed by Darin and Vicki.
- Scripts/build-root: now builds in a sandbox and wont replace your system WebKit or Safari will now also build JavaScriptGlue and WebKitSystemInterface
JavaScriptGlue:
Reviewed by Darin and Vicki.
- JavaScriptGlue.xcodeproj/project.pbxproj: Change to use $(SYSTEM_LIBRARY_DIR) consistently and place $(NEXT_ROOT) in a few spots to make build-root work.
WebBrowser:
Reviewed by Darin and Vicki.
- WebBrowser.xcodeproj/project.pbxproj: Change to use $(SYSTEM_LIBRARY_DIR) consistently and place $(NEXT_ROOT) in a few spots to make build-root work.
WebKitSystemInterface:
Reviewed by Darin and Vicki.
- WebKitSystemInterface.xcodeproj/project.pbxproj: Change to use $(SYSTEM_LIBRARY_DIR) consistently and place $(NEXT_ROOT) in a few spots to make build-root work.
- 4:28 PM Changeset in webkit [11045]
-
- 18 copies in branches/kdom-dom-merger/WebCore
This commit was manufactured by cvs2svn to create branch
'kdom-dom-merger'.
- 4:28 PM Changeset in webkit [11044] by
-
- 4 edits8 deletes in /
Submitted by: eseidel
Reviewed by: none, SVG merger branch only.
- 3:53 PM Changeset in webkit [11043] by
-
- 2 edits in trunk/WebCore
Cleanup of bidi.cpp. This is bug 5532. I merged it nearly as is, although I
did one additional rename of my own (BidiIterator's "par" -> "block") and
I did not merge the * changes, since that particular style guideline is
"in dispute." :)
Reviewed by darin
- khtml/rendering/bidi.cpp: (khtml::BidiIterator::BidiIterator): (khtml::BidiIterator::pos): (khtml::BidiState::BidiState): (khtml::getBPMWidth): (khtml::BidiContext::BidiContext): (khtml::BidiContext::~BidiContext): (khtml::BidiContext::deref): (khtml::operator==): (khtml::operator!=): (khtml::bidiNext): (khtml::bidiFirst): (khtml::BidiIterator::increment): (khtml::BidiIterator::atEnd): (khtml::BidiIterator::current): (khtml::chopMidpointsAt): (khtml::checkMidpoints): (khtml::appendRunsForObject): (khtml::appendRun): (khtml::embed): (khtml::RenderBlock::constructLine): (khtml::RenderBlock::tabWidth): (khtml::RenderBlock::computeHorizontalPositionsForLine): (khtml::RenderBlock::bidiReorderLine): (khtml::buildCompactRuns): (khtml::RenderBlock::layoutInlineChildren): (khtml::RenderBlock::determineStartPosition): (khtml::RenderBlock::skipWhitespace): (khtml::RenderBlock::findNextLineBreak):
- 1:05 PM Changeset in webkit [11042] by
-
- 3 edits in trunk/WebCore
Make pre-wrap collapse away spaces at the start of a line. There are
still several bugs, namely with overflow and with selection. This is bugzilla
bug 5593.
Reviewed by adele
fast/text/whitespace/pre-wrap.html
- khtml/rendering/bidi.cpp: (khtml::skipNonBreakingSpace): (khtml::shouldCollapseWhiteSpace): (khtml::RenderBlock::skipWhitespace):
- khtml/rendering/render_block.h:
- 12:04 PM Changeset in webkit [11041] by
-
- 3 edits in branches/Safari-Leo-branch
Versioning to 521.
- 12:00 PM Changeset in webkit [11040] by
-
- 3 edits in trunk/WebCore
Reviewed by Darin.
- khtml/rendering/render_layer.cpp: (khtml::): Made global ScrollAlignment members const (khtml::RenderLayer::scrollRectToVisible): Changed ScrollAlignment parameters to const ScrollAlignment& (khtml::RenderLayer::getRectToExpose): ditto.
- khtml/rendering/render_layer.h: (khtml::RenderLayer::): removed typedefs (khtml::RenderLayer::getVisibleBehavior): Made this static. (khtml::RenderLayer::getPartialBehavior): ditto. (khtml::RenderLayer::getHiddenBehavior): ditto.
- 11:31 AM Changeset in webkit [11039] by
-
- 2 edits in trunk/JavaScriptCore
- Updated JavaScriptCore test results to reflect recent fixes.
- tests/mozilla/expected.html:
- 11:12 AM Changeset in webkit [11038] by
-
- 11 edits5 adds in trunk
LayoutTests:
Test for...
<rdar://problem/3612121> setting focus, by tabbing, searching, or with JavaScript does not scroll overflow:auto/scroll/overlay to reveal focused element (3480)
- fast/overflow/resources/scrollButton1.html: Added.
- fast/overflow/scrollRevealButton-expected.checksum: Added.
- fast/overflow/scrollRevealButton-expected.png: Added.
- fast/overflow/scrollRevealButton-expected.txt: Added.
- fast/overflow/scrollRevealButton.html: Added.
WebCore:
Reviewed by Hyatt.
Clean up of layer scrolling code. Now we can clearly define what to do if a rectangle is fully visible, partially visible, or hidden.
This also fixes a bug with the previous implementation where nested layers/frames would get passed a rect that was too large.
Added fast/overflow/scrollRevealButton.html
- khtml/rendering/render_layer.h: (khtml::RenderLayer::): Added ScrollBehavior enum, ScrollAlignment struct, and ScrollAlignment static members to describe specific scrolling behaviors depending on how visible the rectangle is. In the future, we can add other statics to easily describe desired behaviors.
- khtml/rendering/render_layer.cpp: (khtml::): initialize ScrollAlignment static members: alignCenterIfNeeded, alignToEdgeIfNeeded, alignCenterAlways, alignTopAlways, alignBottomAlways (khtml::RenderLayer::scrollRectToVisible): alignCenterIfNeeded is the default behavior for both directions. Pass the original rect (adjusted if scrolling has occurred) when recursively calling this function. (khtml::RenderLayer::getRectToExpose): Adjusted for new ScrollAlignment parameters.
- khtml/khtml_part.cpp: (KHTMLPart::gotoAnchor): Use the node's rect to determine where to scroll. We used to just use the origin, but this helps us match other browsers better. (KHTMLPart::setActiveNode): Removed scrolling code, since this is now also done in setFocusNode
- khtml/xml/dom_elementimpl.cpp: (ElementImpl::scrollIntoView): Use new ScrollAlignment values to describe scrolling behavior.
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::nextKeyViewInFrame): Removed scrolling code, since this is now also done in setFocusNode (KWQKHTMLPart::centerSelectionInVisibleArea): Use new ScrollAlignment values to describe scrolling behavior.
- kwq/WebCoreBridge.mm: (-[WebCoreBridge ensureSelectionVisible]): ditto.
- kwq/KWQScrollView.h: Removed ensureRectVisible, since we no longer use this.
- kwq/KWQScrollView.mm: ditto.
- khtml/khtmlview.cpp: (KHTMLView::doAutoScroll): Removed unnecessary nil checks for enclosingLayer (KHTMLView::focusNextPrevNode): ditto.
- 10:47 AM Changeset in webkit [11037] by
-
- 3 edits in trunk/WebKitTools
Reviewed by Darin.
- Scripts/run-safari: changed message to say "Starting Safari" instead of odd "Start Safari"
- Scripts/run-webkit-tests: changed the way we pass the file parameter to use -NSOpen rather than relying on unlabeled arguments being treated as files. This was failing on some machines that (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
- 10:16 AM Changeset in webkit [11036] by
-
- 2 edits6 adds in trunk/LayoutTests
Other files that should have been included with my previous commit.
- editing/editing.js:
- editing/inserting/insert-br-quoted-001-expected.checksum: Added.
- editing/inserting/insert-br-quoted-002-expected.checksum: Added.
- editing/inserting/insert-br-quoted-003-expected.checksum: Added.
- editing/inserting/insert-br-quoted-004-expected.checksum: Added.
- editing/inserting/insert-br-quoted-005-expected.checksum: Added.
- editing/inserting/insert-br-quoted-006-expected.checksum: Added.
- 10:13 AM Changeset in webkit [11035] by
-
- 1 edit2 adds in trunk/LayoutTests
Layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5602
REGRESSION: RegExp("[
s$]+", "g") returns extra matches
- fast/js/regexp-lastindex.html: Added.
- fast/js/regexp-lastindex-expected.txt: Added.
- 10:11 AM Changeset in webkit [11034] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by darin.
- Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5602
REGRESSION: RegExp("[
s$]+", "g") returns extra matches
We now update lastIndex relative to the start of the last match,
rather than the start of the last search. We used to assume that
the two were equal, but that may not be the case in $ matches.
- kjs/regexp_object.cpp: (RegExpProtoFuncImp::callAsFunction):
- 2:28 AM Changeset in webkit [11033] by
-
- 187 edits70 adds46 deletes in /
Bug #: 3249
Submitted by: eseidel
Reviewed by: none, intermediate branch only.
first steps in KDOM -> DOM merger.
Integration issues:
- Headers (temporarily every kdom header maps to all webcore headers)
- Namespace mapping (KDOM -> DOM, khtml)
- Various KDOM stub classes (temporary)
- Various DOMStringImpl -> DOMString changes
- DOMString::string() -> DOMString::qstring()
- DOMString::handle() -> DOMString::impl()
- DocumentImpl, DocumentType ::impl() -> ::implentation()
- Moving NodeImpl::Id to QualifiedString/AtomicString
- SVGNames.*, SVGElementFactory.* (and perl script to generate them)
- EventImpl::id() -> type() with AtomicString, removal of SVGEventImpl
- Adding svg document and event creation in xml_docimpl.h
- Cleanup event dispatch, in SVGDocumentImpl, using SharedPtr
- exceptioncode additions, for appendNode, createEvent, dispatchEvent, etc.
- Mapped KSVGPart, KDOMPart, KSVGView, KDOMView to KHTMLPart, KHTMLView
- Removed all throw calls, replacing with exceptioncode parameters
- SVGElement derives from StyledElementImpl for now.
- Removed CDFInterface (for now)
Outstanding:
- DocumentBuilder vs. Tokenizer
- Merger of the Ecma systems
- CSS Parsing systems
- Event dispatch/Listening issues
- Merge KSVGView properties into KHTMLView
- requestDocument & CachedDocument vs. requestFrame and CachedObject...
- 2:28 AM Changeset in webkit [11032]
-
- 1 copy11 deletes in branches/kdom-dom-merger
This commit was manufactured by cvs2svn to create branch
'kdom-dom-merger'.
Nov 2, 2005:
- 6:21 PM Changeset in webkit [11031] by
-
- 1 edit18 adds in trunk/LayoutTests
Reviewed by Justin.
Tests for...
<rdar://problem/4017861> in reply, extra line is inserted after pressing return on blank quoted line
- editing/editing.js:
- editing/inserting/insert-br-quoted-001-expected.png: Added.
- editing/inserting/insert-br-quoted-001-expected.txt: Added.
- editing/inserting/insert-br-quoted-001.html: Added.
- editing/inserting/insert-br-quoted-002-expected.png: Added.
- editing/inserting/insert-br-quoted-002-expected.txt: Added.
- editing/inserting/insert-br-quoted-002.html: Added.
- editing/inserting/insert-br-quoted-003-expected.png: Added.
- editing/inserting/insert-br-quoted-003-expected.txt: Added.
- editing/inserting/insert-br-quoted-003.html: Added.
- editing/inserting/insert-br-quoted-004-expected.png: Added.
- editing/inserting/insert-br-quoted-004-expected.txt: Added.
- editing/inserting/insert-br-quoted-004.html: Added.
- editing/inserting/insert-br-quoted-005-expected.png: Added.
- editing/inserting/insert-br-quoted-005-expected.txt: Added.
- editing/inserting/insert-br-quoted-005.html: Added.
- editing/inserting/insert-br-quoted-006-expected.png: Added.
- editing/inserting/insert-br-quoted-006-expected.txt: Added.
- editing/inserting/insert-br-quoted-006.html: Added.
- 6:20 PM Changeset in webkit [11030] by
-
- 4 edits in trunk/WebCore
Reviewed by Justin.
Tests added in editing/inserting.
<rdar://problem/4017861> in reply, extra line is inserted after pressing return on blank quoted line
Also, did some minor cleanup.
- khtml/editing/break_blockquote_command.cpp: (khtml::BreakBlockquoteCommand::BreakBlockquoteCommand): (khtml::BreakBlockquoteCommand::doApply): Make sure not to clone parent of skipped BR unless there are siblings to move over.
- khtml/editing/break_blockquote_command.h:
- khtml/editing/jsediting.cpp:
- 10:54 AM Changeset in webkit [11029] by
-
- 4 edits in trunk/WebCore
Reviewed by Darin.
- fix <rdar://problem/4303587> REGRESSION (TOT): Scrollwheel doesn't work on frameset pages (5450)
- kwq/KWQKHTMLPart.h:
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::wheelEvent): set _currentEvent to the wheel event (KWQKHTMLPart::passWheelEventToChildWidget): New. Pass the event to the child widget, if we haven't already handled the event
- khtml/khtmlview.cpp: (KHTMLView::viewportWheelEvent): add passWheelEventToChildWidget check, and accept the event if we're passing to the child widget
- 12:52 AM Changeset in webkit [11028] by
-
- 24 edits in trunk/WebCore
Fix for 5587, implement pre-wrap and pre-line white-space values.
Reviewed by mjs
Tests Added in fast/text/whitespace
- khtml/css/css_computedstyle.cpp: (DOM::CSSComputedStyleDeclarationImpl::getPropertyCSSValue):
- khtml/css/cssparser.cpp: (CSSParser::parseValue):
- khtml/css/cssstyleselector.cpp: (khtml::CSSStyleSelector::applyProperty):
- khtml/css/cssvalues.in:
- khtml/css/html4.css:
- khtml/ecma/kjs_html.cpp: (KJS::HTMLElement::preGetter): (KJS::HTMLElement::preSetter):
- khtml/ecma/kjs_html.h: (KJS::HTMLElement::):
- khtml/editing/visible_text.cpp: (khtml::TextIterator::handleTextNode):
- khtml/editing/visible_units.cpp: (khtml::startOfParagraph): (khtml::endOfParagraph):
- khtml/html/html_blockimpl.cpp: (HTMLPreElementImpl::mapToEntry): (HTMLPreElementImpl::parseMappedAttribute): (HTMLPreElementImpl::wrap): (HTMLPreElementImpl::setWrap):
- khtml/html/html_blockimpl.h:
- khtml/rendering/bidi.cpp: (khtml::checkMidpoints): (khtml::RenderBlock::computeHorizontalPositionsForLine): (khtml::RenderBlock::layoutInlineChildren): (khtml::RenderBlock::skipNonBreakingSpace): (khtml::RenderBlock::skipWhitespace): (khtml::RenderBlock::findNextLineBreak):
- khtml/rendering/render_block.cpp: (khtml:::RenderFlow): (khtml::RenderBlock::setStyle): (khtml::RenderBlock::calcMinMaxWidth): (khtml::stripTrailingSpace): (khtml::RenderBlock::calcInlineMinMaxWidth): (khtml::RenderBlock::dump):
- khtml/rendering/render_block.h:
- khtml/rendering/render_layer.h: (khtml::):
- khtml/rendering/render_line.cpp: (khtml::shouldDrawDecoration):
- khtml/rendering/render_object.cpp: (RenderObject::tabWidth):
- khtml/rendering/render_style.h: (khtml::): (khtml::RenderStyle::autoWrap): (khtml::RenderStyle::preserveNewline): (khtml::RenderStyle::collapseWhiteSpace): (khtml::RenderStyle::isCollapsibleWhiteSpace): (khtml::RenderStyle::breakOnlyAfterWhiteSpace):
- khtml/rendering/render_table.cpp: (RenderTableCell::calcMinMaxWidth):
- khtml/rendering/render_text.cpp: (RenderText::caretRect): (RenderText::trimmedMinMaxWidth): (RenderText::calcMinMaxWidth): (RenderText::width):
- khtml/xml/dom_elementimpl.h: (DOM::):
- khtml/xml/dom_textimpl.cpp: (TextImpl::rendererIsNeeded):
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::attributedString):
Nov 1, 2005:
- 5:59 PM Changeset in webkit [11027] by
-
- 4 edits2 adds in trunk/WebKit
Reviewed by John Sullivan.
<rdar://problem/4318632>
I've added a new notification, WebPluginWillPresentNativeUserInterfaceNotification. Plugins are expected to post this
notification before presenting "native UI", such as dialog boxes. A Dashboard client can observe this notification to
hide the Dashboard layer when plugins present external UI.
- English.lproj/StringsNotToBeLocalized.txt: Added "WebPluginWillPresentNativeUserInterface".
- Plugins.subproj/WebPluginsPrivate.h: Added.
- Plugins.subproj/WebPluginsPrivate.m: Added. Declare WebPluginWillPresentNativeUserInterfaceNotification.
- WebKit.xcodeproj/project.pbxproj: Added WebPluginsPrivate.[hm]
- WebKit.exp: Added _WebPluginWillPresentNativeUserInterfaceNotification.
- 5:41 PM Changeset in webkit [11026] by
-
- 2 edits in trunk/WebKitLibraries
- libWebKitSystemInterface.a: Updated.
- 4:53 PM Changeset in webkit [12209] by
-
- 5 edits in trunk/JavaScriptGlue
top level:
Reviewed by: Eric.
<rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again
- Makefile.am: re-enable JavaScriptGlue in the build
JavaScriptGlue:
Reviewed by: Eric.
<rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again
- reverted all this stuff to use ReferenceList instead of IdentifierSequencedSet
- JSUtils.cpp: (KJSValueToCFTypeInternal):
- JSValueWrapper.cpp: (JSValueWrapper::JSObjectCopyPropertyNames):
- UserObjectImp.cpp: (UserObjectImp::propList):
- UserObjectImp.h:
- 4:49 PM Changeset in webkit [11025] by
-
- 2 edits in trunk/WebCore
Fix for bug 5580, slashdot regression with percentage height
blocks.
Reviewed by darin
Added fast/block/basic/021.html
- khtml/rendering/render_box.cpp: (RenderBox::calcPercentageHeight):
- 4:41 PM Changeset in webkit [11024] by
-
- 2 adds in trunk/LayoutTests/fast/block/basic
Add results for new layout test for slashdot regression
- 4:27 PM Changeset in webkit [11023] by
-
- 2 edits in trunk/WebKit
Reviewed by Darin Adler.
fixed deployment build by hiding local variables used only in ASSERTs on builds for
which ASSERT_DISABLED is true.
- History.subproj/WebHistory.m: (-[WebHistoryPrivate removeItemForURLString:]): (-[WebHistoryPrivate setLastVisitedTimeInterval:forItem:]):
- 2:29 PM Changeset in webkit [11022] by
-
- 3 edits in trunk/WebCore
Reviewed by harrison
Tweaked my previous fix for caret movement while scrolling.
- khtml/editing/SelectionController.cpp: (khtml::SelectionController::SelectionController): Forgot to copy m_caretPositionOnLayout. (khtml::SelectionController::operator=): Ditto. (khtml::SelectionController::layout): Initialize m_caretPositionOnLayout to a dummy value when the selection isNone.
- khtml/editing/SelectionController.h: Tweaked my comment.
- 11:24 AM Changeset in webkit [11021] by
-
- 6 edits in trunk/WebKit
Reviewed by Tim Omernick.
- fixed <rdar://problem/4324104> Assertion failure (foundDate) in WebHistory
WebFrame was updating the last visited date on a WebHistoryItem behind WebHistory's
back, causing WebHistory's caches of items by date to get out of sync with reality.
Changed to set the date through WebHistory rather than directly.
- History.subproj/WebHistory.m: (-[WebHistoryPrivate _removeItemFromDateCaches:]): New method, extracted from removeItemForURLString. (-[WebHistoryPrivate removeItemForURLString:]): Now calls extracted method. Cleaned up white space a little. (-[WebHistoryPrivate _addItemToDateCaches:]): New method, extracted from addItem: (-[WebHistoryPrivate addItem:]): Now calls extracted method. Cleaned up white space a little. (-[WebHistoryPrivate setLastVisitedTimeInterval:forItem:]): New method, removes item from date caches, changes date, then adds item back to date caches and sends notification. (-[WebHistory setLastVisitedTimeInterval:forItem:]): New method, cover for WebHistoryPrivate version.
- History.subproj/WebHistoryItem.m: (-[WebHistoryItem _setLastVisitedTimeInterval:]): Don't send notification here; send from new WebHistory method instead.
- History.subproj/WebHistoryItemPrivate.h: Added comment about avoiding incorrect use of _setLastVisitedTimeInterval:
- History.subproj/WebHistoryPrivate.h: Added declarations for WebHistory and WebHistoryPrivate versions of setLastVisitedTimeInterval:forItem:
- WebView.subproj/WebFrame.m: (-[WebFrame _transitionToCommitted:]): change history item's date via new WebHistory method rather than directly
- 11:20 AM Changeset in webkit [11020] by
-
- 1 edit in trunk/WebCore/ChangeLog-2005-12-19
Tweaked my ChangeLog entry.
- 11:19 AM Changeset in webkit [11019] by
-
- 2 edits in trunk/WebCore
Reviewed by darin
No test cases added, requires Mail
- kwq/WebCoreBridge.mm: (-[WebCoreBridge typingStyle]): Crashes were happening after a style was merged with itself. Mail was doing a setTypingStyle with a pointer to our internal typing style. Fix is to only hand out copies of our typingStyle.
- 11:04 AM Changeset in webkit [11018] by
-
- 5 edits1 add in trunk/WebCore
Reviewed by harrison
Fixed <rdar://problem/3690705> caret does not move when scrolling overflow: auto editable area
- manual-tests/caretScrolling.html: Added.
- khtml/editing/SelectionController.cpp: (khtml::SelectionController::SelectionController): Removed the unused expectedVisibleRect (khtml::SelectionController::operator=): Ditto. (khtml::SelectionController::layout): Save the caret's absolute position on layout. (khtml::SelectionController::caretRect): Adjust the returned caret rect for offset due to scrolling since the last layout. (khtml::SelectionController::paintCaret):
- khtml/editing/SelectionController.h:
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::nextKeyViewInFrame): Small tweak to a previous change.
- kwq/KWQRect.h: (QRect::moveTopLeft): Added.
- 10:36 AM Changeset in webkit [11017] by
-
- 5 edits in trunk/WebCore
Reviewed by Dave Hyatt.
Commited by Tim Hatcher.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5256
Relayout during load causes duplicate plugin part.
This was a problem with <OBJECT>s that contain an <EMBED>, if
layout happened in the middle of the OBJECT but before the EMBED.
No test case added, requires manual testing.
- khtml/html/html_objectimpl.cpp: (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl): (DOM::HTMLObjectElementImpl::closeRenderer): (DOM::HTMLObjectElementImpl::setComplete):
- khtml/html/html_objectimpl.h: (DOM::HTMLObjectElementImpl::isComplete):
- khtml/html/htmlfactory.cpp: (DOM::objectConstructor):
- khtml/rendering/render_frames.cpp: (RenderPartObject::updateWidget):
- 9:33 AM Changeset in webkit [11016] by
-
- 2 edits in trunk/WebCore
Reviewed by Dave Hyatt.
Commited by Tim Hatcher.
HTMLNames constants are not yet initialized at Safari startup,
when bookmarks are imported, which caused a crash in Decoder::decode().
- kwq/WebCoreEncodings.mm: (+[WebCoreEncodings decodeData:]):
- 9:21 AM Changeset in webkit [11015] by
-
- 2 edits in trunk/WebCore
Change by Alexey Proskuryakov, reviewed by Darin Adler.
- kwq/KWQKURL.mm: (encodeRelativeString): don't use strdup, as it has problems with a curly quote in the string
- 9:02 AM Changeset in webkit [11014] by
-
- 13 edits in trunk/LayoutTests
2005-11-01 Anders Carlsson <andersca@mac.com>
Reviewed by Darin.
- dom/xhtml/level3/core/nodegettextcontent06-expected.txt:
- dom/xhtml/level3/core/nodegettextcontent07-expected.txt:
- dom/xhtml/level3/core/nodegettextcontent08-expected.txt:
- dom/xhtml/level3/core/nodegettextcontent09-expected.txt:
- dom/xhtml/level3/core/nodegettextcontent10-expected.txt:
- dom/xhtml/level3/core/nodegettextcontent11-expected.txt:
- dom/xhtml/level3/core/nodegettextcontent12-expected.txt:
- dom/xhtml/level3/core/nodegettextcontent13-expected.txt:
- dom/xhtml/level3/core/nodegettextcontent14-expected.txt:
- dom/xhtml/level3/core/nodesettextcontent03-expected.txt:
- dom/xhtml/level3/core/nodesettextcontent12-expected.txt: These now pass.
- dom/xhtml/level3/core/nodegettextcontent17-expected.txt: This still fails, but now because entity references are unsupported.
- 8:59 AM Changeset in webkit [11013] by
-
- 6 edits in trunk/WebCore
2005-11-01 Anders Carlsson <andersca@mac.com>
Reviewed by Darin.
- khtml/ecma/kjs_dom.cpp: (KJS::DOMNode::getValueProperty): (KJS::DOMNode::putValueProperty):
- khtml/ecma/kjs_dom.h: (KJS::DOMNode::): Add setter and setter for textContent.
- khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::textContent): (DOM::NodeImpl::setTextContent):
- khtml/xml/dom_nodeimpl.h: Implement textContent and setTextContent.
- kwq/DOM.mm: (-[DOMNode textContent]): (-[DOMNode setTextContent:]): Add Objective C wrappers.
Oct 31, 2005:
- 11:25 PM Changeset in webkit [11012] by
-
- 1 edit4 adds in trunk/LayoutTests
Bug #: 5529
Submitted by: eseidel
Reviewed by: hyatt
Test cases for XLST recursion check.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5529
- fast/xsl/resources/xslt-recursion-chain1.xsl: Added.
- fast/xsl/resources/xslt-recursion-chain2.xsl: Added.
- fast/xsl/xslt-recursion-expected.txt: Added.
- fast/xsl/xslt-recursion.xml: Added.
- 11:16 PM Changeset in webkit [11011] by
-
- 3 edits in trunk/WebCore
Bug #: 5529
Submitted by: eseidel
Reviewed by: hyatt
Now ignores XSLT PIs in documents resulting from transforms.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5529
- khtml/xml/dom_docimpl.cpp: (DocumentImpl::recalcStyleSelector):
- khtml/xml/xml_tokenizer.cpp: (khtml::XMLTokenizer::processingInstruction):
- 2:11 PM Changeset in webkit [11010] by
-
- 3 edits in trunk/LayoutTests
Added a correct expected image.
- fast/dom/dom-parse-serialize-display-expected.checksum:
- fast/dom/dom-parse-serialize-display-expected.png:
- 11:04 AM Changeset in webkit [11009] by
-
- 3 edits in trunk/WebCore
Remove conditionalized away code added as part of tab character support.
- khtml/editing/insert_text_command.cpp: (khtml::InsertTextCommand::prepareForTextInsertion): (khtml::InsertTextCommand::insertTab):
- khtml/editing/markup.cpp: (khtml::createParagraphContentsFromString):