Timeline
Jan 10, 2005:
- 3:40 PM Changeset in webkit [8333] by
-
- 2 edits in trunk/WebCore
Reviewed by Hyatt
Fix for this bug:
<rdar://problem/3943648> extra line is inserted after pressing return within quoted text of reply
- khtml/editing/htmlediting.cpp: (khtml::InsertParagraphSeparatorInQuotedContentCommand::doApply): This bug was the result of a simple coding mistake. A local variable was erroneously redefined in a deeper scope, and so the result calculated in that deeper scope was not available when tested.
- 3:28 PM Changeset in webkit [8332] by
-
- 2 edits in trunk/WebCore
Reviewed by John
Fix for this bug:
<rdar://problem/3946852> Option-e goes to next line
- khtml/editing/htmlediting.cpp: (khtml::ReplaceSelectionCommand::doApply): Tweak case used to determine when merging content into the start line is done. We plan to change pretty substantially soon to better handle the problem described in <rdar://problem/3937352> Quote level not maintained when copied and pasted within a Mail message. In the meantime, this change does no harm, and fixes the bug.
- 10:47 AM Changeset in webkit [8331] by
-
- 5 edits26 adds in trunk
Reviewed by Darin
Fix for this bug:
<rdar://problem/3907005> Applying block styles to a line of text can unexpectedly affect other lines
- khtml/editing/htmlediting.cpp: (khtml::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary): New function which moves "paragraphs" to their own blocks if needed so that a block style can be applied. (khtml::CompositeEditCommand::isMailBlockquote): Moved this function to base class so it can be used more generally. (khtml::ApplyStyleCommand::applyBlockStyle): Pass a node instead of a block to addBlockStyleIfNeeded(). (khtml::ApplyStyleCommand::addBlockStyleIfNeeded): Now accepts a node instead of a block for styling. This function also now calls moveParagraphContentsToNewBlockIfNecessary() to make sure that only the current paragraph is styled. (khtml::SetNodeAttributeCommand::doUnapply): Should not assert on undo if old value of attribute was null. Should remove attributue instead.
- khtml/editing/htmlediting.h: Touch function declarations accordingly.
- layout-tests/editing/style/create-block-for-style-001-expected.txt: Added.
- layout-tests/editing/style/create-block-for-style-001.html: Added.
- layout-tests/editing/style/create-block-for-style-002-expected.txt: Added.
- layout-tests/editing/style/create-block-for-style-002.html: Added.
- layout-tests/editing/style/create-block-for-style-003-expected.txt: Added.
- layout-tests/editing/style/create-block-for-style-003.html: Added.
- layout-tests/editing/style/create-block-for-style-004-expected.txt: Added.
- layout-tests/editing/style/create-block-for-style-004.html: Added.
- layout-tests/editing/style/create-block-for-style-005-expected.txt: Added.
- layout-tests/editing/style/create-block-for-style-005.html: Added.
- layout-tests/editing/style/create-block-for-style-006-expected.txt: Added.
- layout-tests/editing/style/create-block-for-style-006.html: Added.
- layout-tests/editing/style/create-block-for-style-007-expected.txt: Added.
- layout-tests/editing/style/create-block-for-style-007.html: Added.
- layout-tests/editing/style/create-block-for-style-008-expected.txt: Added.
- layout-tests/editing/style/create-block-for-style-008.html: Added.
- layout-tests/editing/style/create-block-for-style-009-expected.txt: Added.
- layout-tests/editing/style/create-block-for-style-009.html: Added.
- layout-tests/editing/style/create-block-for-style-010-expected.txt: Added.
- layout-tests/editing/style/create-block-for-style-010.html: Added.
- layout-tests/editing/style/create-block-for-style-011-expected.txt: Added.
- layout-tests/editing/style/create-block-for-style-011.html: Added.
- layout-tests/editing/style/create-block-for-style-012-expected.txt: Added.
- layout-tests/editing/style/create-block-for-style-012.html: Added.
- layout-tests/editing/style/create-block-for-style-013-expected.txt: Added.
- layout-tests/editing/style/create-block-for-style-013.html: Added.
Unrelated updates to these expected results.
- layout-tests/editing/inserting/insert-div-007-expected.txt
- layout-tests/editing/pasteboard/paste-text-013-expected.txt
- 10:38 AM Changeset in webkit [8330] by
-
- 3 edits in trunk/WebCore
Fixed: <rdar://problem/3936844> Mail: Messages with rich text do not print
Reviewed by john.
- khtml/rendering/render_flow.cpp: (RenderFlow::paintLines): don't do pagination work if printRect is not set
- khtml/rendering/render_list.cpp: (RenderListMarker::paint): ditto
- 10:22 AM Changeset in webkit [8329] by
-
- 2 edits in trunk/WebCore
Reviewed by Darin.
- kwq/KWQTextUtilities.mm: (currentTextBreakLocaleID): Return empty string (AKA root locale) if locale pref can not be canonicalized.
- 9:07 AM Changeset in webkit [8328] by
-
- 2 edits in trunk/WebCore
Fixed broken Panther build.
- kwq/KWQTextUtilities.mm: (currentTextBreakLocaleID): This recently-added function was using code copy/pasted from CarbonCore UnicodeUtilities. That code used a Tiger-only function, CFLocaleCreateCanonicalLanguageIdentifierFromString. To fix the build, I added a BUILDING_ON_PANTHER #ifdef that avoids the call to the Tiger function. However, the Tiger-only code was wrong; the string generated using CFLocaleCreateCanonicalLanguageIdentifierFromString was not used at all, so I fixed that as well.
Jan 9, 2005:
- 1:42 PM Changeset in webkit [8327] by
-
- 2 edits in trunk/WebCore
Reviewed by Ken Kocienda.
<rdar://problem/3786362> REGRESSION (Mail): pasted text loses one newline
- khtml/editing/htmlediting.cpp: (khtml::ReplaceSelectionCommand::doApply): Tune check for need for insertParagraphSeparator when hasInterchangeNewline.
- 11:11 AM Changeset in webkit [8326] by
-
- 2 edits in trunk/WebCore
Reviewed by Harrison.
- fixed <rdar://problem/3939176> select() method does not work on <input type=search>
- khtml/html/html_formimpl.cpp: (DOM::HTMLInputElementImpl::select): Changed if statement to a switch statement. Added SEARCH to the set of types that treat the renderer as a RenderLineEdit.
- 10:54 AM Changeset in webkit [8325] by
-
- 2 edits in trunk/WebCore
Reviewed by Ken Kocienda.
<rdar://problem/3905066> REGRESSION (Mail): Hitting return key with caret in front of space causes space to become lost (resize fixes)
Problem was that InsertParagraphSeparatorCommand::doApply() was not collapsing
whitespace to a single non-breaking space when splitting a text node.
- khtml/editing/htmlediting.cpp: (khtml::InsertParagraphSeparatorCommand::doApply):
- 10:40 AM Changeset in webkit [8324] by
-
- 2 edits in trunk/WebCore
Reviewed by Ken.
Fixed: <rdar://problem/3924219> Calling setOuterHTML: on a DOMHTMLHtmlElement can crash a program
- khtml/html/html_elementimpl.cpp: (HTMLElementImpl::setOuterHTML): Added a nil check for fragments who don't have parents.
Jan 8, 2005:
- 8:09 PM Changeset in webkit [8323] by
-
- 4 edits in trunk
Reviewed by Darin.
<rdar://problem/3807144> REGRESSION (125-TOT): my bank's website doesn't work (Societe Generale, socgen.com)
- Khtml/khtml_part.cpp: (KHTMLPart::checkCompleted): If the document is NULL, assume this frame has not started loading yet so it could not possibly be finishing here... (KHTMLPart::stop): ...unless the part is explicitly stopped and there is still no document, in this case we must have hit an error or been loading a non-HTML frame.
- khtml/khtml_part.h:
- 12:42 PM Changeset in webkit [8322] by
-
- 3 edits in trunk/WebCore
Reviewed by Maciej.
<rdar://problem/3943415> REGRESSION (Mail): double-clicking past word selects previous word instead of only blank space
- khtml/editing/selection.cpp: (khtml::Selection::validate): Tune word selections left/right choice to use right if on empty last line.
Jan 7, 2005:
- 4:17 PM Changeset in webkit [8321] by
-
- 4 edits in trunk/WebCore
Reviewed by Darin.
<rdar://problem/3942619> AX: Support sentence ax attributes
Needed to use the unicode utilities properly. Twas lame before.
- khtml/editing/visible_units.cpp: (khtml::previousBoundary): (khtml::nextBoundary): (khtml::startOfWord): (khtml::endOfWord): (khtml::previousWordPosition): (khtml::nextWordPosition): (khtml::startOfSentence): (khtml::endOfSentence): (khtml::previousSentencePosition): (khtml::nextSentencePosition):
- kwq/KWQAccObject.mm: (-[KWQAccObject accessibilityAttributeNames]): (-[KWQAccObject accessibilityAttributeValue:]): (-[KWQAccObject accessibilityParameterizedAttributeNames]): (-[KWQAccObject doAXAttributedStringForTextMarkerRange:]):
- kwq/KWQTextUtilities.mm: (currentTextBreakLocaleID): (KWQFindSentenceBoundary): (KWQFindNextSentenceFromIndex):
- 2:42 PM Changeset in webkit [8320] by
-
- 2 edits4 adds in trunk
Reviewed by Kevin
Fix for these bugs:
<rdar://problem/3939523> in some cases, text does not retain style info after pressing return twice
<rdar://problem/3944492> after pressing return twice, text is bold when it shouldn't be
- khtml/editing/htmlediting.cpp: (khtml::InsertParagraphSeparatorCommand::setFullTypingStyleBeforeInsertion): Merge the typing style with the computed style for the current position. Fixes both bugs.
- khtml/editing/htmlediting.h:
- layout-tests/editing/inserting/insert-div-023-expected.txt: Added.
- layout-tests/editing/inserting/insert-div-023.html: Added.
- layout-tests/editing/inserting/insert-div-024-expected.txt: Added.
- layout-tests/editing/inserting/insert-div-024.html: Added.
- 12:38 PM Changeset in webkit [8319] by
-
- 5 edits in trunk/LayoutTests/fast
Fix the layout tests.
- 12:22 PM Changeset in webkit [8318] by
-
- 7 edits in trunk/WebCore
Fix for 3941364, make sure tables reset overflowWidth/Height when they lay out again. Fixes the odd scrolling
behavior on worldofwarcraft.com.
Reviewed by kevin
- ChangeLog:
- khtml/rendering/render_table.cpp: (RenderTable::layout):
- 12:13 PM Changeset in webkit [8317] by
-
- 2 edits in trunk/WebCore
Reviewed by Hyatt
Fix for this bug:
<rdar://problem/3848412> for forwarded message, tabbing to message view scrolls to bottom of view
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::nextKeyViewInFrame): Don't scroll the focus node to visible if it is not in the document, or if it is not a descendent of the document element. In the case of the bug, since the selection has not yet been set up, the focus node passed here is the HTML element, and that does not yield a rect that is useful to us here. So now, in the case the bug mentions, we do nothing.
Jan 6, 2005:
- 6:30 PM Changeset in webkit [8316] by
-
- 2 edits in trunk/WebCore
Reviewed by mjs.
Fixed: <rdar://problem/3932215> REGRESSION (125-177): iFrame example at developer.apple.com fails in Safari
- khtml/khtml_part.cpp: (KHTMLPart::processObjectRequest): m_bComplete was never true for frames generated by Javascript due to our synchronous loading and as a result, scheduled redirects wouldn't fire in KHTMLPart::scheduleLocationChange(). By virtue of being an empty document, a document is complete. In this special case it's safe at this point to call checkCompleted() which sets m_bComplete true.
- 4:35 PM Changeset in webkit [8315] by
-
- 3 edits in trunk
versioning for TOT, Safari 2.0 (178+)
- 4:27 PM Changeset in webkit [8314]
-
- 1 copy in tags/Safari-178
This commit was manufactured by cvs2svn to create tag 'Safari-178'.
- 4:27 PM Changeset in webkit [8313] by
-
- 6 edits in trunk
Safari-178 stamp
- 1:56 PM Changeset in webkit [8312] by
-
- 2 edits in trunk/WebCore
Reviewed by Chris.
(addendum to previous checkin for this bug)
<rdar://problem/3776056> AX: Editable HTML should not be viewed as AXStaticText
Fix line navigation. Add AXUIElementForTextMarker.
- ChangeLog:
- kwq/KWQAccObject.mm: (-[KWQAccObject accessibilityParameterizedAttributeNames]): (-[KWQAccObject doAXUIElementForTextMarker:]): (-[KWQAccObject doAXLineForTextMarker:]): (-[KWQAccObject doAXTextMarkerRangeForLine:]): (-[KWQAccObject doAXRightLineTextMarkerRangeForTextMarker:]): (-[KWQAccObject doAXNextLineEndTextMarkerForTextMarker:]): (-[KWQAccObject doAXPreviousLineStartTextMarkerForTextMarker:]): (-[KWQAccObject accessibilityAttributeValue:forParameter:]):
- 1:13 PM Changeset in webkit [8311] by
-
- 7 edits in trunk/WebCore
Reviewed by Ken.
- re-fixed <rdar://problem/3760910> Request to include support for custom tag names in HTML (they already work in XML)
(turns out the PLT regression was a false alarm)
- khtml/html/htmlparser.h: Change forbidden tag array to be allocated in the object rather than on the heap. Also use ID_LAST_TAG for the array size; the old code used ID_CLOSE_TAG which is now a much larger number.
- khtml/html/htmlparser.cpp: (KHTMLParser::KHTMLParser): Remove code that creates the forbidden tag array on the heap; makes more sense to just have the array be a member so we don't have to use new and delete on it. Also needed to eliminate code that used ID_CLOSE_TAG for an array size. (KHTMLParser::~KHTMLParser): Remove code that deletes the forbidden tag array. Also changed the code that manages isindex to use deref instead of delete. (KHTMLParser::reset): Use safer sizeof for clearing the forbidden tag array. Old code had the mistake of using ID_CLOSE_TAG for the array size too. (KHTMLParser::parseToken): Removed code that checks for bogus tags; it's not clear why it was ever there and it would prevent custom tags from working. Added range check before using the forbidden tag array with the token ID since custom tags will use index values past the end of the array. (KHTMLParser::getElement): Removed most of the code that makes an element by ID; now the work is done inside the DocumentImpl createHTMLElement. Any code that needs to be different than a dynamic createElement call is still here. Last time I left out a few form element types from this switch; fixed now.
- khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::parseTag): Call the tagId function in the document if getTagID fails; this creates a unique per-document ID.
- khtml/misc/htmltags.c: Regenerated.
- khtml/misc/htmltags.h: Regenerated.
- khtml/misc/maketags: Changed the generated constants to use "const unsigned short" instead of "#define". Changed ID_CLOSE_TAG to be a fixed value of 32000 rather than being just past the IDs of the HTML tags. Also rewrote getTagName to work with the new scheme.
- 11:04 AM Changeset in webkit [8310] by
-
- 2 edits in trunk/WebCore
Fixed Panther build. Also, do not advertize sentence support since it is incomplete.
- kwq/KWQAccObject.mm: (-[KWQAccObject visiblePositionForEndOfTextMarkerRange:]): (-[KWQAccObject accessibilityParameterizedAttributeNames]): (-[KWQAccObject accessibilityIsAttributeSettable:]):
- 10:20 AM Changeset in webkit [8309] by
-
- 17 edits in trunk/WebCore
Reviewed by Dave Hyatt.
<rdar://problem/3776056> AX: Editable HTML should not be viewed as AXStaticText
<rdar://problem/3588548> AX: tabbing does not work correctly with the screen reader and a focused link; need AXFocusedUIElement to work
Many more AX attributes supported. Numerous fixes to previous AX work.
- khtml/editing/visible_units.cpp: (khtml::startSentenceBoundary): (khtml::startOfSentence): (khtml::endSentenceBoundary): (khtml::endOfSentence): (khtml::previousSentencePositionBoundary): (khtml::previousSentencePosition): (khtml::nextSentencePositionBoundary): (khtml::nextSentencePosition):
- khtml/editing/visible_units.h:
- khtml/khtmlview.cpp: (KHTMLView::layout):
- khtml/misc/helper.cpp: (khtml::findSentenceBoundary): (khtml::nextSentenceFromIndex):
- khtml/misc/helper.h:
- khtml/misc/htmltags.c: (hash_tag): (findTag):
- khtml/rendering/render_container.cpp: (RenderContainer::removeChildNode): (RenderContainer::appendChildNode): (RenderContainer::insertChildNode):
- khtml/rendering/render_object.cpp: (RenderObject::remove):
- khtml/xml/dom_docimpl.cpp: (DocumentImpl::getAccObjectCache): (DocumentImpl::updateSelection): (DocumentImpl::close): (DocumentImpl::setFocusNode): (DocumentImpl::parentDocument): (DocumentImpl::topDocument):
- khtml/xml/dom_docimpl.h:
- kwq/KWQAccObject.mm: (-[KWQAccObject accessibilityShouldUseUniqueId]): (-[KWQAccObject detach]): (-[KWQAccObject anchorElement]): (-[KWQAccObject firstChild]): (-[KWQAccObject lastChild]): (-[KWQAccObject previousSibling]): (-[KWQAccObject nextSibling]): (-[KWQAccObject parentObject]): (-[KWQAccObject value]): (-[KWQAccObject accessibilityAttributeNames]): (-[KWQAccObject accessibilityPerformAction:]): (-[KWQAccObject textMarkerForVisiblePosition:]): (-[KWQAccObject visiblePositionForTextMarker:]): (-[KWQAccObject textMarkerRangeFromVisiblePositions:andEndPos:]): (-[KWQAccObject topDocument]): (-[KWQAccObject topRenderer]): (-[KWQAccObject topView]): (-[KWQAccObject accessibilityAttributeValue:]): (-[KWQAccObject accessibilityParameterizedAttributeNames]): (-[KWQAccObject doAXLineForTextMarker:]): (-[KWQAccObject doAXTextMarkerRangeForLine:]): (-[KWQAccObject doAXStringForTextMarkerRange:]): (-[KWQAccObject doAXTextMarkerForPosition:]): (-[KWQAccObject doAXBoundsForTextMarkerRange:]): (-[KWQAccObject doAXAttributedStringForTextMarkerRange:]): (-[KWQAccObject doAXTextMarkerRangeForUnorderedTextMarkers:]): (-[KWQAccObject doAXNextTextMarkerForTextMarker:]): (-[KWQAccObject doAXPreviousTextMarkerForTextMarker:]): (-[KWQAccObject doAXLeftWordTextMarkerRangeForTextMarker:]): (-[KWQAccObject doAXRightWordTextMarkerRangeForTextMarker:]): (-[KWQAccObject doAXLeftLineTextMarkerRangeForTextMarker:]): (-[KWQAccObject doAXRightLineTextMarkerRangeForTextMarker:]): (-[KWQAccObject doAXSentenceTextMarkerRangeForTextMarker:]): (-[KWQAccObject doAXParagraphTextMarkerRangeForTextMarker:]): (-[KWQAccObject doAXNextWordEndTextMarkerForTextMarker:]): (-[KWQAccObject doAXPreviousWordStartTextMarkerForTextMarker:]): (-[KWQAccObject doAXNextLineEndTextMarkerForTextMarker:]): (-[KWQAccObject doAXPreviousLineStartTextMarkerForTextMarker:]): (-[KWQAccObject doAXNextSentenceEndTextMarkerForTextMarker:]): (-[KWQAccObject doAXPreviousSentenceStartTextMarkerForTextMarker:]): (-[KWQAccObject doAXNextParagraphEndTextMarkerForTextMarker:]): (-[KWQAccObject doAXPreviousParagraphStartTextMarkerForTextMarker:]): (-[KWQAccObject doAXLengthForTextMarkerRange:]): (-[KWQAccObject accessibilityAttributeValue:forParameter:]): (-[KWQAccObject accessibilityHitTest:]): (-[KWQAccObject accessibilityFocusedUIElement]): (-[KWQAccObject accessibilityIsAttributeSettable:]): (-[KWQAccObject doSetAXSelectedTextMarkerRange:]): (-[KWQAccObject setAccObjectID:]): (-[KWQAccObject removeAccObjectID]):
- kwq/KWQAccObjectCache.h:
- kwq/KWQAccObjectCache.mm: (KWQAccObjectCache::setAccObject): (KWQAccObjectCache::removeAccObject): (KWQAccObjectCache::visiblePositionForTextMarker): (KWQAccObjectCache::postNotificationToTopWebArea): (KWQAccObjectCache::postNotification): (KWQAccObjectCache::handleFocusedUIElementChanged):
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::respondToChangedContents):
- kwq/KWQTextUtilities.h:
- kwq/KWQTextUtilities.mm: (KWQFindNextWordFromIndex): (KWQFindSentenceBoundary): (KWQFindNextSentenceFromIndex):
- kwq/WebCoreBridge.mm: (-[WebCoreBridge accessibilityTree]):
- 10:19 AM Changeset in webkit [8308] by
-
- 2 edits in trunk/WebKit
Reviewed by Dave Hyatt
<rdar://problem/3588548> AX: tabbing does not work correctly with the screen reader and a focused link; need AXFocusedUIElement to work.
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView accessibilityFocusedUIElement]): Implement this so that AppKit can use it from NSAccessibilityHandleFocusChanged.