Timeline



Aug 31, 2004:

3:12 PM Changeset in webkit [7424] by cblu
  • 7 edits in trunk/WebKit

Fixed:
<rdar://problem/3699498> Context menu for editable WebViews should provide items like Cut and Paste
<rdar://problem/3781535> REGRESSION (Mail): no context menu after ctrl-clicking a misspelled word

Reviewed by kocienda.

  • English.lproj/Localizable.strings:
  • WebView.subproj/WebDefaultContextMenuDelegate.m: (-[WebDefaultUIDelegate menuItemWithTag:]): updated to handle new menu items (-[WebDefaultUIDelegate contextMenuItemsForElement:]): renamed from webView:contextMenuItemsForElement:defaultMenuItems: (-[WebDefaultUIDelegate editingContextMenuItemsForElement:]): new (-[WebDefaultUIDelegate webView:contextMenuItemsForElement:defaultMenuItems:]): moved, now call contextMenuItemsForElement: or editingContextMenuItemsForElement:
  • WebView.subproj/WebDefaultUIDelegate.h:
  • WebView.subproj/WebHTMLView.m: (-[WebHTMLView _isSelectionMisspelled]): new (-[WebHTMLView _guessesForMisspelledSelection]): new (-[WebHTMLView _changeSpellingFromMenu:]): new (-[WebHTMLView _ignoreSpellingFromMenu:]): new (-[WebHTMLView _learnSpellingFromMenu:]): new
  • WebView.subproj/WebHTMLViewPrivate.h:
  • WebView.subproj/WebUIDelegate.h:
2:58 PM Changeset in webkit [7423] by darin
  • 2 edits in trunk/WebKit
  • fixed B&I build failure
  • WebView.subproj/WebHTMLView.m: (-[WebTextCompleteController _buildUI]): Work around unwanted warning by adding a cast.
2:31 PM Changeset in webkit [7422] by kocienda
  • 2 edits in trunk/WebCore

Reviewed by Hyatt

Fix for this bug:

<rdar://problem/3781572> can't paste text in replied message view

  • khtml/xml/dom2_rangeimpl.cpp: (DOM::RangeImpl::toHTML): Copying text placed in an anonymous block was failing since the code in here depending on the text node's containing block having an element, which it won't. In fact, using containing block is wrong anyway, since positioned elements can have containing blocks far from where they live in the tree. This "move up to block check" should use the more DOM-wise enclosingBlockFlowElement() in NodeImpl.
1:18 PM Changeset in webkit [7421] by mjs
  • 1 edit in trunk/WebKit/ChangeLog

Reviewed by John.

<rdar://problem/3778314> REGRESSION: Can't proceed to survey questions on Lominger's Apple website

Because we will stop parsing when there is a pending redirection,
avoid setting one if no navigation would actually take place
because the number of steps is out of range.

  • WebCoreSupport.subproj/WebBridge.m: (-[WebBridge canGoBackOrForward:]):
9:58 AM Changeset in webkit [7420] by hyatt
  • 2 adds in trunk/LayoutTests/fast/table

* empty log message *

9:49 AM Changeset in webkit [7419] by hyatt
  • 3 edits in trunk/WebCore

Fix for 3742585, sony dhtml menus wrong size. The percentage table height algorithm was wrong. This patch
unifies the table percentage height algorithm with the block percentage height algorithm and fixes bugs in
both.

Reviewed by john

  • khtml/rendering/render_box.cpp: (RenderBox::calcPercentageHeight):
  • khtml/rendering/render_table.cpp: (RenderTable::layout):
9:39 AM Changeset in webkit [7418] by kocienda
  • 2 edits
    16 adds in trunk

Reviewed by me

Added more editing layout tests.

  • layout-tests/editing/deleting/delete-tab-001-expected.txt: Added.
  • layout-tests/editing/deleting/delete-tab-001.html: Added.
  • layout-tests/editing/deleting/delete-tab-002-expected.txt: Added.
  • layout-tests/editing/deleting/delete-tab-002.html: Added.
  • layout-tests/editing/deleting/delete-tab-003-expected.txt: Added.
  • layout-tests/editing/deleting/delete-tab-003.html: Added.
  • layout-tests/editing/deleting/delete-tab-004-expected.txt: Added.
  • layout-tests/editing/deleting/delete-tab-004.html: Added.
  • layout-tests/editing/editing.js: Fixed a little bug in one of the "delayed" commands.
  • layout-tests/editing/inserting/insert-tab-001-expected.txt: Added.
  • layout-tests/editing/inserting/insert-tab-001.html: Added.
  • layout-tests/editing/inserting/insert-tab-002-expected.txt: Added.
  • layout-tests/editing/inserting/insert-tab-002.html: Added.
  • layout-tests/editing/inserting/insert-tab-003-expected.txt: Added.
  • layout-tests/editing/inserting/insert-tab-003.html: Added.
  • layout-tests/editing/inserting/insert-tab-004-expected.txt: Added.
  • layout-tests/editing/inserting/insert-tab-004.html: Added.
9:29 AM Changeset in webkit [7417] by kocienda
  • 3 edits in trunk

Reviewed by John

Fix for this bug:

<rdar://problem/3782521> Typing newline at start of block does not work

  • khtml/editing/htmlediting_impl.cpp: (khtml::InputNewlineCommandImpl::doApply): Change handling of case to insert newline at the start of a block.
  • layout-tests/editing/inserting/insert-br-006-expected.txt: Updated layout test with new results.
9:04 AM Changeset in webkit [7416] by kocienda
  • 1 edit in trunk/WebCore/khtml/editing/htmlediting_impl.cpp

Checked this in by mistake, rolling back

8:57 AM Changeset in webkit [7415] by kocienda
  • 2 edits in trunk/WebCore

ChangeLog

8:56 AM Changeset in webkit [7414] by kocienda
  • 3 edits in trunk

Reviewed by NOBODY (OOPS!).

  • khtml/editing/htmlediting_impl.cpp: (khtml::InputNewlineCommandImpl::doApply):
  • layout-tests/editing/deleting/collapse-whitespace-3587601-fix-expected.txt:
  • layout-tests/editing/selection/move-by-line-001-expected.txt:
8:41 AM Changeset in webkit [7413] by kocienda
  • 2 edits
    10 adds in trunk

Reviewed by me

Added more editing layout tests.

  • layout-tests/editing/deleting/collapse-whitespace-3587601-fix-expected.txt: Added.
  • layout-tests/editing/deleting/collapse-whitespace-3587601-fix.html: Added.
  • layout-tests/editing/deleting/delete-block-merge-contents-001-expected.txt: Added.
  • layout-tests/editing/deleting/delete-block-merge-contents-001.html: Added.
  • layout-tests/editing/editing.js: Added some more navigation commands.
  • layout-tests/editing/inserting/insert-3778059-fix-expected.txt: Added.
  • layout-tests/editing/inserting/insert-3778059-fix.html: Added.
  • layout-tests/editing/selection/move-by-line-001-expected.txt: Added.
  • layout-tests/editing/selection/move-by-line-001.html: Added.
  • layout-tests/editing/style/typing-style-003-expected.txt: Added.
  • layout-tests/editing/style/typing-style-003.html: Added.
8:27 AM Changeset in webkit [7412] by kocienda
  • 1 edit
    14 adds
    8 deletes in trunk

Reviewed by me

Added more editing layout tests. Renamed some others.

  • layout-tests/editing/inserting/insert-br-001-expected.txt: Added.
  • layout-tests/editing/inserting/insert-br-001.html: Added.
  • layout-tests/editing/inserting/insert-br-002-expected.txt: Added.
  • layout-tests/editing/inserting/insert-br-002.html: Added.
  • layout-tests/editing/inserting/insert-br-003-expected.txt: Added.
  • layout-tests/editing/inserting/insert-br-003.html: Added.
  • layout-tests/editing/inserting/insert-br-004-expected.txt: Added.
  • layout-tests/editing/inserting/insert-br-004.html: Added.
  • layout-tests/editing/inserting/insert-br-005-expected.txt: Added.
  • layout-tests/editing/inserting/insert-br-005.html: Added.
  • layout-tests/editing/inserting/insert-br-006-expected.txt: Added.
  • layout-tests/editing/inserting/insert-br-006.html: Added.
  • layout-tests/editing/inserting/insert-br-case1-expected.txt: Removed.
  • layout-tests/editing/inserting/insert-br-case1.html: Removed.
  • layout-tests/editing/inserting/insert-br-case2-expected.txt: Removed.
  • layout-tests/editing/inserting/insert-br-case2.html: Removed.
  • layout-tests/editing/inserting/insert-br-case3-expected.txt: Removed.
  • layout-tests/editing/inserting/insert-br-case3.html: Removed.
  • layout-tests/editing/inserting/insert-br-case6-expected.txt: Removed.
  • layout-tests/editing/inserting/insert-br-case6.html: Removed.
  • layout-tests/editing/inserting/insert-text-with-newlines-expected.txt: Added.
  • layout-tests/editing/inserting/insert-text-with-newlines.html: Added.
8:14 AM Changeset in webkit [7411] by kocienda
  • 2 edits in trunk

Reviewed by me

  • layout-tests/editing/editing.js: Modified typeCharacterCommand so it can accept a character as an argument.
8:02 AM Changeset in webkit [7410] by kocienda
  • 25 edits in trunk

Reviewed by Hyatt

Fix for these bugs:

<rdar://problem/3777629> REGRESSION (Mail): can't delete blank lines in quoted text in HTML mail replies
<rdar://problem/3780309> REGRESSION (Mail): can't delete past an empty span in a particular test case
<rdar://problem/3780315> REGRESSION (Mail): right arrow works incorrectly in a particular test case with an empty span
<rdar://problem/3780320> REGRESSION (Mail): left arrow works incorrectly in a particular test case with an empty span
<rdar://problem/3780336> REGRESSION (Mail): down arrow fails in a reduction of a Mail reply test case (seems to be inside a span)

  • khtml/xml/dom_position.cpp: (DOM::Position::upstream): If this position's node is a block, use it for the StayInBlock case, not the block's enclosing block. (DOM::Position::downstream): Ditto. (DOM::Position::inRenderedContent): Refine the case for non-text nodes. This was erroneously returning true for any empty element (like <span></span>).
  • khtml/xml/dom_positioniterator.cpp: Change the following four functions to consider all nodes, not just leaves of the DOM tree. This is a step towards making this iteration less cranky and unpredictable, and was necessary to do now to keep the inRenderedContent() change above from breaking editign layout tests. (DOM::PositionIterator::peekPrevious) (DOM::PositionIterator::peekNext) (DOM::PositionIterator::atStart) (DOM::PositionIterator::atEnd)
  • kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::fontForCurrentPosition): Check that the position being checked is an element and that the element is in rendered content. I ran across some null-check failures while I was coding this fix, and the additions seem prudent.

Updated these layout tests with new results.

  • layout-tests/editing/deleting/delete-3608430-fix-expected.txt:
  • layout-tests/editing/deleting/delete-3775172-fix-expected.txt:
  • layout-tests/editing/deleting/delete-block-contents-001-expected.txt:
  • layout-tests/editing/deleting/delete-block-contents-002-expected.txt:
  • layout-tests/editing/deleting/delete-block-contents-003-expected.txt:
  • layout-tests/editing/deleting/delete-image-004-expected.txt:
  • layout-tests/editing/deleting/delete-trailing-ws-001-expected.txt:
  • layout-tests/editing/editing.js:
  • layout-tests/editing/execCommand/boldSelection-expected.txt:
  • layout-tests/editing/execCommand/italicizeByCharacter-expected.txt:
  • layout-tests/editing/execCommand/modifyForeColorByCharacter-expected.txt:
  • layout-tests/editing/execCommand/print-expected.txt:
  • layout-tests/editing/execCommand/selectAll-expected.txt:
  • layout-tests/editing/selection/extend-by-character-002-expected.txt:
  • layout-tests/editing/selection/extend-by-character-004-expected.txt:
  • layout-tests/editing/selection/extend-by-character-005-expected.txt:
  • layout-tests/editing/selection/extend-by-character-006-expected.txt:
  • layout-tests/editing/selection/select-all-001-expected.txt:
  • layout-tests/editing/selection/select-all-002-expected.txt:
  • layout-tests/editing/selection/select-all-003-expected.txt:

Aug 30, 2004:

5:49 PM Changeset in webkit [7409] by darin
  • 10 edits
    1 delete in trunk

WebCore:

Reviewed by John.

  • fixed <rdar://problem/3637519> REGRESSION (125-128): unrepro crash in QListBox::sizeForNumberOfLines at istweb.apple.com
  • kwq/KWQListBox.h: Added a clearCachedTextRenderers function.
  • kwq/KWQListBox.mm: (itemTextRenderer): Change to use globals that are outside the function, and added retain calls. (groupLabelTextRenderer): Ditto. (QListBox::clearCachedTextRenderers): Release global text renderers and nil out the globals.
  • kwq/WebCoreBridge.h: Removed updateAllViews; not needed any more.
  • kwq/WebCoreBridge.mm: Ditto.
  • kwq/WebCoreTextRendererFactory.h: Added a clearCaches method.
  • kwq/WebCoreTextRendererFactory.mm: (-[WebCoreTextRendererFactory clearCaches]): Added. Tells all the views to repaint after clearing the cached text renderers from KWQListBox. To be more elegant, we could generalize the KWQListBox trick, but for now why bother?
  • kwq/WebCoreTextRendererFactory.m: Removed. I needed to put some C++ code in here, so changed the extension to .mm.
  • WebCore.pbproj/project.pbxproj: Removed WebCoreTextRendererFactory.m, and added WebCoreTextRendererFactory.mm.

WebKit:

Reviewed by John.

  • part of fix for <rdar://problem/3637519> REGRESSION (125-128): unrepro crash in QListBox::sizeForNumberOfLines at istweb.apple.com
  • WebCoreSupport.subproj/WebTextRendererFactory.m: (-[WebTextRendererFactory clearCaches]): Call [super clearCaches].
3:58 PM Changeset in webkit [7408] by darin
  • 2 edits in trunk/WebCore

Reviewed by John.

  • fixed <rdar://problem/3528538> can paste a Return character into the Search field at amazon.com, other browsers won't
  • kwq/KWQTextField.mm: (-[KWQTextFieldController controlTextDidChange:]): Truncate text before the first line break.
3:44 PM Changeset in webkit [7407] by darin
  • 2 edits in trunk/WebCore
  • kwq/KWQTextCodec.mm: (KWQTextDecoder::convertOneChunkUsingTEC): Added some more assertions I used to track down what looks like a TEC bug.
3:36 PM Changeset in webkit [7406] by darin
  • 3 edits in trunk/WebCore

Reviewed by Ken.

  • fixed <rdar://problem/3779122> No accesskey support on LABEL element
  • khtml/html/html_formimpl.h: Change type of m_currValue to DOMString. Should have been done as part of my form data check-in, but harmless to do now. Add accessKeyAction function for HTMLLabelElementImpl.
  • khtml/html/html_formimpl.cpp: (DOM::HTMLButtonElementImpl::parseHTMLAttribute): Remove conversion of DOMString to QString for m_currValue. (DOM::HTMLLabelElementImpl::formElement): If there's no "for" attribute, search children for the first control. (DOM::HTMLLabelElementImpl::accessKeyAction): Forward the accesskey action to the formElement.
2:50 PM Changeset in webkit [7405] by darin
  • 3 edits in trunk/WebCore

Reviewed by Dave.

  • fixed <rdar://problem/3303968> final newline character omitted from <textarea> when parsing a new page
  • khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::processListing): Handle newline pending cases as well as space and tab pending spaces at the end of this function. This seems right for both scripts and text areas; it's not clear why omittiing the LF is ever needed. Tested by running all the layout tests; no regressions.
  • fixed <rdar://problem/3552736> word wrapped text fields that blur/focus when you type move the insertion point strangely (vtext.com)
  • khtml/rendering/render_form.cpp: (RenderTextArea::updateFromElement): Call text() instead of calling widget->text() directly. This prevents this function from running in cases where the text didn't really change for text areas in wrap mode.
2:28 PM Changeset in webkit [7404] by darin
  • 2 edits in trunk/WebCore

Reviewed by Dave.

  • got rid of ERROR message when running layout tests by implementing text-transform in computed style
  • khtml/css/css_computedstyle.cpp: (DOM::numberAsString): Added. Helper that returns "1" rather then "1.0" for integer values. (DOM::CSSComputedStyleDeclarationImpl::getPropertyCSSValue): Fixed use of tabs instead of spaces. Fixed switch statements so they don't use default so we get errors if we leave a case out. Changed callers to use numberAsString instead of QString::number. Added implementation of CSS_PROP_TEXT_TRANSFORM. Added code to prevent falling through to next property when no item in a switch statement matches.
1:35 PM Changeset in webkit [7403] by darin
  • 31 edits
    7 adds in trunk

WebCore:

Reviewed by Chris.

  • did work to prepare for uploading files incrementally when submitting forms
  • khtml/misc/formdata.h: Added. Class for holding form data inside WebCore.
  • khtml/misc/formdata.cpp: Added.
  • khtml/html/html_formimpl.h: Added the FormDataList type, changed the formData function parameters and made it private, renamed the encoding method to appendFormData and changed the parameters around.
  • khtml/html/html_formimpl.cpp: (DOM::FormDataList): Added. Class that replaces the old use of QValueList<QCString> for form data. Later we'll change it to accomodate filenames too. (DOM::HTMLFormElementImpl::formData): Changed code to use FormDataList intsead of the old encodingList. Also changed to return the "OK" result as the function result and put the form data into something passed as an "out" parameter; the old way was the other way around. (DOM::HTMLFormElementImpl::submit): Change to use FormData rather than a QByteArray when getting the form data to submit. (DOM::HTMLButtonElementImpl::appendFormData): Rename from encoding, and use the new appendData function instead of the old way of doing += to put data on the list. (DOM::HTMLInputElementImpl::appendFormData): Ditto. (DOM::HTMLSelectElementImpl::appendFormData): Ditto. (DOM::HTMLKeygenElementImpl::appendFormData): Ditto. (DOM::HTMLTextAreaElementImpl::appendFormData): Ditto. (DOM::FormDataList::FormDataList): Added. (DOM::FormDataList::appendString): Added. (DOM::FormDataList::begin): Added. (DOM::FormDataList::end): Added.
  • khtml/khtml_part.h: Changed the type of the submitForm parameter to FormData instead of QByteArray.
  • khtml/khtmlpart_p.h: Changed the type of the submitFormData data member to FormData instead of QByteArray.
  • khtml/khtml_part.cpp: (KHTMLPart::submitForm): Called the new flattenToString function in all the code that handles mailto forms. Called the new flatten function in the non-Apple code path.
  • kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::submitForm): Pass NSArray for form data instead of NSData.
  • kwq/KWQKJob.h: Use FormData instead of QByteArray. A couple other small cleanups.
  • kwq/KWQKJobClasses.h: Ditto.
  • kwq/KWQKJobClasses.mm: (KIO::TransferJobPrivate::TransferJobPrivate): Ditto. (KIO::TransferJob::TransferJob): Ditto. (KIO::TransferJob::postData): Ditto.
  • kwq/KWQKPartsBrowserExtension.h: Ditto.
  • kwq/KWQLoader.mm: (KWQServeRequest): Ditto. (KWQServeSynchronousRequest): Ditto.
  • kwq/KWQFormData.h: Added. A function to convert KHTML form data into an NSArray for communication with the WebKit side.
  • kwq/KWQFormData.mm: Added.
  • kwq/WebCoreBridge.h: Pass NSArray instead of NSData for form data.
  • kwq/KWQArrayImpl.h: Added a detach member function. The old version would do unnecessary work when detach was called on an array that had exactly one reference.
  • kwq/KWQArrayImpl.mm: (KWQArrayImpl::detach): Added.
  • kwq/KWQMemArray.h: (QMemArray::detach): Call through to KWQArrayImpl.
  • kwq/KWQValueList.h: (QValueList::first): Added overload for non-const. (QValueList::last): Ditto.
  • ForwardingHeaders/misc/formdata.h: Added.
  • WebCore.pbproj/project.pbxproj: Added formdata.h, formdata.cpp, KWQFormData.h, and KWQFormData.cpp.
  • WebCore-tests.exp: Updated for changes to QValueList, and re-sorted.
  • WebCore-combined.exp: Regenerated.

WebKit:

Reviewed by Chris.

  • did work to prepare for uploading files incrementally when submitting forms
  • History.subproj/WebHistoryItem.m: (-[WebHistoryItem _setFormInfoFromRequest:]): Use NSArray instead of NSData for form data. (-[WebHistoryItem formData]): Ditto.
  • History.subproj/WebHistoryItemPrivate.h: Ditto.
  • WebCoreSupport.subproj/WebBridge.m: (-[WebBridge startLoadingResource:withURL:customHeaders:postData:]): Ditto. (-[WebBridge syncLoadResourceWithURL:customHeaders:postData:finalURL:responseHeaders:statusCode:]): Ditto. (-[WebBridge postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:]): Ditto.
  • WebCoreSupport.subproj/WebSubresourceClient.h: Ditto.
  • WebCoreSupport.subproj/WebSubresourceClient.m: (+[WebSubresourceClient startLoadingResource:withURL:customHeaders:postData:referrer:forDataSource:]): Ditto.
  • WebView.subproj/WebFrame.m: (-[WebFrame _loadItem:withLoadType:]): Ditto. (-[WebFrame _postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:]): Ditto.
  • WebView.subproj/WebFramePrivate.h: Ditto.
  • WebView.subproj/WebFormDataStream.h: Added.
  • WebView.subproj/WebFormDataStream.m: (-[WebFormDataStream initWithFormDataArray:]): Placeholder; not done yet. (-[WebFormDataStream formDataArray]): Ditto.
  • WebKit.pbproj/project.pbxproj: Added WebFormDataStream files.
11:00 AM Changeset in webkit [7402] by darin
  • 4 edits in trunk/WebCore

Reviewed by Ken.

  • improved multiple submit logic in preparation for making command-click on a form button load a form in another frame
  • kwq/KWQKHTMLPart.h: Added const to a bunch of member functions for cleanup. Added prepareForUserAction member function.
  • kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::submitForm): Simplified logic and removed special case for "http" and "https". (KWQKHTMLPart::renderer): Added const. (KWQKHTMLPart::keyEvent): Added call to prepareForUserAction. (KWQKHTMLPart::lastEventIsMouseUp): Added const. (KWQKHTMLPart::eventMayStartDrag): Added const. (KWQKHTMLPart::mouseDown): Added call to prepareForUserAction. (KWQKHTMLPart::overrideMediaType): Added const. (KWQKHTMLPart::canGoBackOrForward): Added const. (KWQKHTMLPart::prepareForUserAction): Added. Clears _submittedFormURL.
  • kwq/KWQAccObject.mm: (-[KWQAccObject accessibilityPerformAction:]): Added call to prepareForUserAction.
10:43 AM Changeset in webkit [7401] by kocienda
  • 2 edits in trunk/WebCore

Reviewed by John

Fix for this bug:

<rdar://problem/3762231> REGRESSION (Mail): tab key inserts a single space

  • khtml/editing/htmlediting_impl.cpp: (khtml::isTab): New helper. Checks a DOMString to see if it is one character and that character is a tab. (khtml::InputTextCommandImpl::execute): Trap tabs before handling insertion of other kinds of whitespace. Treat a tab like four spaces. Rearrange the code to update the ending position after the text insertion to cover the new tab case where the amount of advance is not the same as the number of character in the passed-in DOMString (i.e. tabs expand to four characters).
10:39 AM Changeset in webkit [7400] by sullivan
  • 4 edits in trunk/WebKit

Reviewed by Ken.

  • WebKit part of fix for <rdar://problem/3607720> myFrame.print() prints the window but should only print the frame
  • WebView.subproj/WebUIDelegatePrivate.h: declare new delegate method that includes which frame to print
  • WebView.subproj/WebDefaultUIDelegate.m: (-[WebDefaultUIDelegate webView:printFrameView:]): implement default (no-op) version of new delegate method
  • WebCoreSupport.subproj/WebBridge.m: (-[WebBridge print]): call new delegate method if available, otherwise call old delegate method, for backward compatibility.
8:38 AM Changeset in webkit [7399] by kocienda
  • 2 edits in trunk/WebKit

Reviewed by John.
Checked in by Ken

Ken comments: It looks like Maciej forgot to land this when he checked in the
WebCore portion of this change.

<rdar://problem/3778314> REGRESSION: Can't proceed to survey questions on Lominger's Apple website

Because we will stop parsing when there is a pending redirection,
avoid setting one if no navigation would actually take place
because the number of steps is out of range.

  • WebCoreSupport.subproj/WebBridge.m: (-[WebBridge canGoBackOrForward:]):
8:13 AM Changeset in webkit [7398] by kocienda
  • 4 edits in trunk/WebCore

Reviewed by Chris

Fix for this bug:

<rdar://problem/3779706> plain text on pasteboard loses indentation when pasted into Blot

  • kwq/KWQKHTMLPart.h:
  • kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::documentFragmentWithText): New function that takes over the code from KWQKHTMLPart and improves it to handle converting tabs and spaces for suitable display in HTML.
  • kwq/WebCoreBridge.mm: (-[WebCoreBridge documentFragmentWithText:]): Move smarts from here to KWQKHTMLPart.

Aug 29, 2004:

2:47 PM Changeset in webkit [7397] by mjs
  • 6 edits in trunk/WebCore

Reviewed by John.

<rdar://problem/3778314> REGRESSION: Can't proceed to survey questions on Lominger's Apple website

Because we will stop parsing when there is a pending redirection,
avoid setting one if no navigation would actually take place
because the number of steps is out of range.

  • khtml/khtml_part.cpp: (KHTMLPart::scheduleHistoryNavigation):
  • kwq/KWQKHTMLPart.h:
  • kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::canGoBackOrForward):
  • kwq/KWQKPartsBrowserInterface.h:
  • kwq/WebCoreBridge.h:

Aug 27, 2004:

5:31 PM Changeset in webkit [7396] by mjs
  • 6 edits
    7 adds in trunk

Reviewed by Chris.

  • fixed <rdar://problem/3778043> REGRESSION: innerHTML is broken, breaks automated iBench testing
  • also fixed outerHTML, which would spill over past the node for whch it was supposed to get HTML
  • khtml/html/html_elementimpl.cpp: (HTMLElementImpl::outerHTML):
  • khtml/xml/dom2_rangeimpl.cpp: (DOM::RangeImpl::toHTML):
  • khtml/xml/dom_nodeimpl.cpp: (NodeImpl::toHTML): (NodeImpl::recursive_toString): (NodeImpl::recursive_toHTML):
  • khtml/xml/dom_nodeimpl.h:
  • kwq/WebCoreBridge.mm: (-[WebCoreBridge markupStringFromNode:nodes:]):
  • added new layout tests to cover the problems I fixed
  • layout-tests/fast/innerHTML/001-expected.txt: Added.
  • layout-tests/fast/innerHTML/001.html: Added.
  • layout-tests/fast/innerHTML/002-expected.txt: Added.
  • layout-tests/fast/innerHTML/002.html: Added.
  • layout-tests/fast/innerHTML/003-expected.txt: Added.
  • layout-tests/fast/innerHTML/003.html: Added.
5:07 PM Changeset in webkit [7395] by hyatt
  • 1 edit in trunk/WebCore/khtml/css/css_computedstyle.cpp

* empty log message *

5:06 PM Changeset in webkit [7394] by hyatt
  • 3 edits in trunk/WebCore

Fix for 3739239, getComputedStyle of top not being implemented broke a site that checked for it.

Reviewed by kocienda

  • khtml/css/css_computedstyle.cpp: (DOM::valueForLength): (DOM::CSSComputedStyleDeclarationImpl::getPositionOffsetValue): (DOM::CSSComputedStyleDeclarationImpl::getPropertyCSSValue):
  • khtml/css/css_computedstyle.h:
3:39 PM Changeset in webkit [7393] by sullivan
  • 2 edits in trunk/WebCore

Reviewed by Ken.

Tweaked option-tab handling to match good suggestion from Tim Omernick of OmniWeb

  • kwq/KWQTextArea.mm: removed override of textDidChange: (-[KWQTextAreaTextView keyDown:]): moved option-tab handling that was in textDidChange to here. Rearranged existing code a little for clarity.
3:03 PM Changeset in webkit [7392] by adele
  • 2 adds in trunk/LayoutTests/fast/frames

Adding layout test for contentWindow for iframe

2:52 PM Changeset in webkit [7391] by adele
  • 6 edits in trunk/WebCore

Reviewed by Darin.

Fix for:
<rdar://problem/3689949> Provide contentWindow access on an iframe

  • khtml/ecma/kjs_html.cpp: (KJS::HTMLElement::getValueProperty): added cases for contentWindow for frames and iframes
  • khtml/ecma/kjs_html.h: added contentWindow to the list of properties for frames and iframes
  • khtml/ecma/kjs_html.lut.h: regenerated file
  • khtml/html/html_baseimpl.cpp: (HTMLFrameElementImpl::contentPart): factored out old contentDocument code to return KHTMLPart for frame (HTMLFrameElementImpl::contentDocument): now just gets the contentDocument from contentPart
  • khtml/html/html_baseimpl.h: added declaration for contentPart
12:07 PM Changeset in webkit [7390] by kocienda
  • 2 edits in trunk/WebKit

Reviewed by Chris

Fix for this bug:

<rdar://problem/3756997> WebKit aggressive in making pasted text into a URL, even when it's not much like a URL

  • WebView.subproj/WebHTMLView.m: (-[WebHTMLView _documentFragmentFromPasteboard:allowPlainText:]): Don't try so hard to coerce data on the pasteboard into a URL, and do not make an anchor with an href for any URLs that are explicitly present on the pasteboard. Also, move URL pasteboard type check beneath the RTF checks.
11:59 AM Changeset in webkit [7389] by vicki
  • 3 edits in trunk

back to 2.0, v162u for tip of tree

11:49 AM Changeset in webkit [7388]
  • 3 copies in tags/Safari-161

This commit was manufactured by cvs2svn to create tag 'Safari-161'.

11:49 AM Changeset in webkit [7387] by vicki
  • 6 edits in trunk

Safari-161 stamp

10:26 AM Changeset in webkit [7386] by kocienda
  • 2 edits in trunk/WebCore

Reviewed by Darin

Fix for this bug:

<rdar://problem/3778059> Odd behaviour when editing between blockquote elements

  • khtml/editing/htmlediting_impl.cpp: (khtml::CompositeEditCommandImpl::deleteUnrenderedText): This function should not move the selection out of the current block, ever. This is exactly what the bug reported. What was I thinking? Now, the code looks at the passed-in position and then the equivalent upstream and downstream positions to see if the selection can be placed there after the delete, and settles on the block containing the passed-in position as a fallback.
  • layout-tests/editing/inserting/insert-3778059-fix-expected.txt: Added.
  • layout-tests/editing/inserting/insert-3778059-fix.html: Added.
Note: See TracTimeline for information about the timeline view.